Pen up at end of plot

Post about using Inkscape with cutters or plotters.
milesteg
Posts: 2
Joined: Fri Feb 24, 2017 2:23 am

Pen up at end of plot

Postby milesteg » Mon Feb 27, 2017 6:23 am

I am using Inkscape with a UScutter SC 801. I am able to plot fine (practicing with a pen), but my very last point at the end of the plot -it does not lift the pen, but instead draws the line back to the origin.

I am trying to get this all straight before using a razor.

milesteg

User avatar
brynn
Posts: 9612
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: Pen up at end of plot

Postby brynn » Mon Feb 27, 2017 10:01 pm

Do you mean that the plotter is drawing a line that you did not draw in Inkscape? Maybe there's some option for the plotter? Maybe it's always expecting a closed path?

blenderlab
Posts: 3
Joined: Fri May 26, 2017 2:33 pm

Re: Pen up at end of plot

Postby blenderlab » Fri May 26, 2017 2:38 pm

Hello,
I have exactly the same problem, and I started to read the code of the extension, modifiying the HPGL end code... Which doesn't work.
One surprising thing : when I show the "debug code", I copy/paste the HPGL output & send it directly to the plotter, there is NO more going-back-to-origin-with-plotter-down line !

I'm not so far, I have to found where in the code the "send command" is done.

I'll put my solution here & send it to the code repo too.

Rgds

blenderlab
Posts: 3
Joined: Fri May 26, 2017 2:33 pm

Re: Pen up at end of plot

Postby blenderlab » Fri May 26, 2017 3:29 pm

Hello, I checked the code sent by Inkscape to the Plotter via a virtualSerialPort & the HPGL code exported (and sent manually via a cat command).
They are exactly the same.
So, the problem should come from pySerial implementation ... Investiagation continues.

User avatar
brynn
Posts: 9612
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: Pen up at end of plot

Postby brynn » Sat May 27, 2017 8:49 pm

Thanks for the info and for keeping us updated :D

Is this for Exensions menu > Export > Plot ?

blenderlab
Posts: 3
Joined: Fri May 26, 2017 2:33 pm

Re: Pen up at end of plot

Postby blenderlab » Sun May 28, 2017 7:03 am

yes & it's near the same as the "export HPGL" format...

I found something : the extension menu uses the "plotter.py" code, that add an extra "PU,0,0;IN" code. If you remove that, I think it will work. I had to test next week (my plotter is at my fablab ...)


Return to “Inkscape & Cutters/Plotters”

Who is online

Users browsing this forum: No registered users and 2 guests