Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Erratic pen up and down positions #107

Open
haschdl opened this issue Mar 27, 2022 · 2 comments
Open

Erratic pen up and down positions #107

haschdl opened this issue Mar 27, 2022 · 2 comments

Comments

@haschdl
Copy link

haschdl commented Mar 27, 2022

I noticed the pen position after the plot completes, and if it's paused or stopped, it's very erratic.

The most annoying part is that it's never possible to know if the state of the pen position in Saxi is in sync with the state in the plotter.

In a best case scenario a second layer starts plotting with the pen too high, not touching the paper at all. The solution is just to stop, return the pen to origin, hit up, hit down, adjust pen height again, and restart.

There are situations however where the pen is at origin position, up, not touching the paper. Then I hit Plot, the pen immediately goes down and makes an ugly line from the origin to the first line. In this case the drawing is ruined.

@lewi0622
Copy link

lewi0622 commented Aug 4, 2022

I have this issue as well. Specifically my "up height" is set lower than the default. I suspect after plotting, the pen goes to the default height, rather than the one I set. After each plot I need to press the "pen up" button to lower it to the correct height.

@ostwilkens
Copy link

The issue I've had with pen height is that after the plot, when the pen has returned to home, it is lowered again and touches the paper, which results in an ink dot in the corner of each print.
I'm now testing commenting out line 582 in planning.ts:

// finally, move back to (0, 0).
motions.push(constantAccelerationPlan([curPos, {x: 0, y: 0}], profile.penUpProfile));
//motions.push(new PenMotion(Device.Axidraw.penPctToPos(penMaxUpPos), profile.penUpPos, profile.penDropDuration));
return new Plan(motions);

This seems to keep the pen from dropping down again. I can then click "pen up" before the next print to get it into position.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants