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

Offset issues with an iDraw H SE/A3 machine #173

Closed
drskullster opened this issue Feb 20, 2025 · 6 comments · Fixed by #174
Closed

Offset issues with an iDraw H SE/A3 machine #173

drskullster opened this issue Feb 20, 2025 · 6 comments · Fixed by #174

Comments

@drskullster
Copy link

I'm having offset issues using saxi with an iDraw H SE/A3 machine.

The plot will start fine, then slowly start to offset on the X or the Y axis. The issue is not exactly consistent (the offset can vary from really bad to barely noticeable) but it is happening on most of the plots.

I pinned down the issue to saxi by creating a test plot and trying it with different tools: Axidraw Inkscape plugin and their CLI tool. Both tools will plot the file flawlessly. When I plot it with saxi, I get an offset on the Y axis:

I tried with all the different settings in saxi (changing each one at a time), including speed which I think plays a role but even at painstaking low speeds the shift starts to happen eventually.

I will have a look at the code because I really want to include saxi in my setup, but if anyone has an idea to where I might look at first it will help a lot (especially since the testing is very slow, it takes around 10 minutes before I can start noticing the issue).

@drskullster
Copy link
Author

happy to report that increasing the microstepping resolution fixed the issue!

Switching this:

await ebb.enableMotors(2);

to:

await ebb.enableMotors(1);

did the trick.

If you have an opinion on how to parametrize that I'm all ears. I don't think it should be in the UI as it's too advanced, I was thinking to add a microsteppingMode CLI parameter. What do you think @alexrudd2?

@alexrudd2
Copy link
Owner

Is there any observed downside to the increased micro stepping resolution you've noticed?

Can you tell what the Inkacape plugin / aixdraw Python uses?

If there's not a downside (say, maybe some Axidraws can't handle the higher resolution?), we should just change it across the board.

@drskullster
Copy link
Author

@alexrudd2
Copy link
Owner

Thanks for checking (I'm on a phone or I would have myself. :/) .

I'd say we match the others for consistency and accuracy plotting. The only tradeoff is a bit of speed. In my mind, the only people who would care about super-long plot times (I've heard of hours) would be plotting something so intricate that they'll need the precision anyways.

Go ahead and change the default (with a comment, please)

drskullster added a commit to drskullster/saxi that referenced this issue Feb 21, 2025
This will increase the accuracy at the cost of lowering the speed a little, and also fixes inaccuracies on non Axidraw machines like the iDraw H/SE.

Closes @alexrudd2/saxi/alexrudd2#173
drskullster added a commit to drskullster/saxi that referenced this issue Feb 21, 2025
This will increase the accuracy at the cost of lowering the speed a little, and also fixes inaccuracies on non Axidraw machines like the iDraw H/SE.

Closes alexrudd2#173
@alexrudd2
Copy link
Owner

@drskullster Looking at the machine you have, it's a different setup from an Axidraw. Cool that it works directly!

You might consider doing some tuning specific for that device (see the profiles in planning.ts

@alexrudd2
Copy link
Owner

See also: nornagon#120

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

Successfully merging a pull request may close this issue.

2 participants