13 Sep

Inkscape and Plotters, the 3rd

And the saga continues!!!

After my extension was officially bundled with Inkscape 0.91 i added a couple of new features which will be released with the upcoming release Inkscape 0.92. If you are impatient just download the newest “Developer Version”.

See two related posts here: Inkscape and Plotters, the 2nd and Your (Cutting) Plotter and Inkscape.

Added support for Pen Plotters with multiple colors

This is a neat feature for old pen plotters supporting multiple pens (Colors, thicknesses, etc.), so you can produce colorful drawings for… whatever. Honestly i don’t know why someone would use Pen Plotters today anyway, but since this feature was requested multiple times i added it. I had to refactor quite a lot of code to get this to work.

To use it you have to create a layer for each pen number (HPGl doesn’t support color or anything, just pen numbers corresponding to pen slots on the plotter), and name the layer something like “Pen 1” or “MyCoolLayerName Pen 1” or “Bla Pen 1 Bla”.
The number after “Pen” is the pen slot to use, and if you write something besides the pen information it has to be separated by a space character.
Now just put the portion of your drawing you want to use this pen with in the according layer and you are done.

Added support for a very small fraction of plotters (I think less than 1%) not working with standard serial settings (8bits, 1stopbit)

This may be confusing for newbees and i hope they read the help texts for these commands by hovering over the settings, but apparently there are some plotters (in 3 years i supported users with multiple problems i only encountered one!) that don’t use standard settings for “Byte size”, “Stop bits” and “Parity”, so i had to add these settings in the “Connection Settings” tab.

IF YOU DON’T KNOW WHAT THESE DO, DON’T CHANGE THEM!

Ideas for new features / needed changes (Thanks for the suggestions added by users!)

  • Add support for “window” type plotters (Like the NEON Plotter) that can only plot in Xcm wide parts: NEON Plotter
  • Add a option to plot a box around the drawing to make weeding easier.
  • Scale Overcut and Tool offset correction separate for each axis, atm it is done by a common scale factor. some thought has to be put into this.
  • Change the cutting order from smallest to biggest parts to avoid stripped off parts of small text characters. This could impact CPU performance.
  • Preview functionality. The extension is prepared for it, but it needs support from the Inkscape side (C/C++) i cannot provide. Help from a C++ programmer would be greatly appreciated!
  • Make use of a measurement feature of Roland plotters to determine if the used workpiece is big enough for the plot before starting the plot. Since i don’t have a Roland plotter i need someone to test my code.
  • Add option to set final point to move to above drawing instead of 0 point, to allow to cut of the piece of vinyl with the drawing instantly and plot again.

If you want more features or have problems leave me a comment below.

Have Fun!

78 thoughts on “Inkscape and Plotters, the 3rd

  1. I still use plotters and vinyl cutters. Almost no inkjet or laser printers do a good job for negatives. I finally got inkscape to work with my vinyl cutter after changing the pyserial driver version. The plotter support needs to support pen width and the ability to plot text without having to convert to a path. Also, they really need to make the DXF import work. I have an assortment of applications. Some only export DXF and I have to run those through Corel because nothing else seems to reliably import DXF. Then export out of Corel into some format that Inkscape actually reads.

    Windows worked with plotters 20 years ago with no problem at no additional cost. Now it’s a big pain. Half the applications can’t actually import DXF although they claim they can. USB-to-serial doesn’t work because it’s polled and not status-driven. Older hardware drops bytes. I have to keep older slow machines running which have real serial ports onboard. Same deal if you need Mach3 or other DIY CNC hardware. All together, a step backwards.

    • Hi Robert,

      What do you do with negatives? Sounds interesting…

      changing the pySerial version sounds curious because actually this extension is in bugfix mode only and the only update i have seen was for the switch from Python 2 to Python 3…

      Yeah, plotter, DXF and serial support gets more and more rare and complicated… i don’t expect that to change. and if usb-to-serial bridges don’t work for you it gets especially hard. there is no easier solution that i know of.

  2. Good day all,

    Have run Roland cutters on Mac for decades. Love your plugin!!! I’m running linux mint and Inkscape on a newish Acer celeron laptop. Had trouble with cuts and slashes through the vinyl. Lowered the baud rate to 4800 fixed it all. Any insights as to why? The laptop has USB 3.0 connections and I’m using a Tripplite USA-19HS usb to serial dongle. Ran the same cutter with a mac mini, no issues?

    Thanks again for the cool plugin!

    • Hi Robert,
      nice that my plugin is useful for you! 🙂

      when random cuts happen it is usually due to dropped bytes in the data stream. serial is a more or less stateless protocol so it can happen that the plotter moves to later positions it should not yet move to.
      and these usb-to-serial bridges are not really the most reliable pieces of hardware. often the drivers are also fucked up.

      so if you have found a settings that works, stick with it ^^

  3. Thanks for your work on this extension. My sister in law runs a makerspace which has a helo 360 cutter just like the one in your half life 2 video. Would you be able to share your settings? Are the settings persistent when inkscape is restarted? And is it possible to backup settings to an XML file so they can be transferred to a different PC?

Leave a Reply

Your email address will not be published. Required fields are marked *