arpruss / gcodeplot

Use a 3-axis machine as a pen plotter
Other
167 stars 60 forks source link

Multiple pens in Inkscape #29

Closed Ohmarinus closed 3 years ago

Ohmarinus commented 3 years ago

Hello Alexander,

First of all, thanks for sharing your wonderful tool. I've been playing with it for a long time now, converted it to work on my DIY pen plotter with custom gcode injection for header and footer and more.

Now, there's only one thing that I haven't been able to get to work, and that's pen changes. How do I set up my inkscape file for that? I have a custom gcode snippet I want to insert in the gcode output file whenever a pen change is needed, the most important thing is getting the script to actually recognize when a new pen needs to be selected.

Does it simply work by using multiple colors? (this didn't work for me, maybe I need to work in RGB instead of CMYK or is it some other issue?) Does it work by naming layers? And what names should the layers have?

I hope you have a solution for me, my project is 95% done and the only thing missing is this pen change script.

See my prototype plotter here: https://www.youtube.com/watch?v=uIy4tRCPbHU

Thanks for your time, Marinus