Home › Evil Mad Scientist Forums › AxiDraw › Drawing Diagonally when using CNCServer
- This topic has 7 replies, 3 voices, and was last updated 7 years, 7 months ago by Windell Oskay.
-
AuthorPosts
-
February 13, 2017 at 12:45 pm #20620blinParticipant
When using Inkscape, the AxiDraw functions correctly. However, when we submit requests using the API, the bot draws on a 45-degree angle in a very small rectangle. I was wondering where in the settings should we should change to recalibrate the relative xy.
February 13, 2017 at 12:53 pm #22842Windell OskayKeymasterIt sounds like you haven’t yet set the botType variable, and it probably is in WaterColorBot mode. Use “axidraw” mode instead.
February 13, 2017 at 2:18 pm #22843blinParticipantI have changed the variable to axidraw, but it is still drawing on a diagonal. Also, when I go to localhost:4242, it still displaying the WatercolorBot set-up.
February 13, 2017 at 2:33 pm #22844Windell OskayKeymasterThe example app at localhost:4242 is a WaterColorBot control example; it is not an API.
You can check whether the API is in AxiDraw mode by browsing to: http://localhost:4242/v1/settings/global .
If it is still in WaterColorBot mode (and the fact that it is drawing diagonally suggests that it is), then you still need to set the bot type variable via the API.If you happen to be using the copy of cncserver embedded in RoboPaint, then you also have the option to go to Settings > Advanced and change the bot type there. (You will need to restart RoboPaint after restarting it.)February 13, 2017 at 4:19 pm #22845blinParticipantI am using Postman to get and put the “botType,” but even though I changed the botType to axidraw, it is still drawing on a diagonal. Is there anything else we need to change it to AxiDraw mode?
I am also looking at the RoboPaint GUI. It appears that there are only two modes: WaterColorbot and Eggbot.February 13, 2017 at 4:48 pm #22846Windell OskayKeymasterPerhaps you have an old version of RoboPaint/cncserver?
May 12, 2017 at 1:35 pm #22847cojovoParticipantI’m having this issue using RoboPaint. Using 0.9.5 I can easily send svgs to print but they print at 45 degrees and there’s no botType option.
Using the newer v2 betas the option is available but I can’t get any of the options to work, just spins the white dots.What is the version where the axidraw option was included so I can try going back to that one?May 12, 2017 at 2:39 pm #22848Windell OskayKeymasterAxiDraw is only an option for newer beta versions of RoboPaint; we are expecting a new beta release (after a long delay) towards the end of this month.
It sounds like you’re not having the same issue with RoboPaint– the issue that you’re having is that some modes (?) aren’t working for you? (It must be working somewhat, if you can get to the settings and see that there’s an AxiDraw option.) We are currently using RoboPaint 2.0.0 beta 3, and we would very strongly _not_ recommend using an older version of RoboPaint with it– Not only does it print at the wrong angle, but it doesn’t know how big the machine is, and can run into the walls, which can cause gradual physical damage to the machine. -
AuthorPosts
- You must be logged in to reply to this topic.