summaryrefslogtreecommitdiffstats
path: root/share/extensions/plotter.py
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2017-04-26 09:16:33 +0000
committerjabiertxof <info@marker.es>2017-04-26 09:16:33 +0000
commitb84137c431a7e236131f71a17f8f2c71e26c6162 (patch)
tree04cbe26ab83d5a7ddf1fde8d2da153cc9039306b /share/extensions/plotter.py
parentAllow set and reset default values of LPE parameters (diff)
parentImprove 0.92 support for Clone Original LPE (diff)
downloadinkscape-b84137c431a7e236131f71a17f8f2c71e26c6162.tar.gz
inkscape-b84137c431a7e236131f71a17f8f2c71e26c6162.zip
Update to trunk
(bzr r15620.1.2)
Diffstat (limited to 'share/extensions/plotter.py')
-rwxr-xr-xshare/extensions/plotter.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/share/extensions/plotter.py b/share/extensions/plotter.py
index 965fbf6d9..1d8e8f79e 100755
--- a/share/extensions/plotter.py
+++ b/share/extensions/plotter.py
@@ -104,7 +104,7 @@ class Plot(inkex.Effect):
hpglInit += ';FS%d' % self.options.force
if self.options.speed > 0:
hpglInit += ';VS%d' % self.options.speed
- self.hpgl = hpglInit + self.hpgl + ';SP0;PU0,0;IN; '
+ self.hpgl = hpglInit + self.hpgl + ';PU0,0;SP0;IN; '
def convertToDmpl(self):
# convert HPGL to DMPL
@@ -127,7 +127,7 @@ class Plot(inkex.Effect):
if self.options.speed > 0:
dmplInit += 'V%d' % self.options.speed
dmplInit += 'EC1'
- self.hpgl = dmplInit + self.hpgl[1:] + ',P0,U0,0,Z '
+ self.hpgl = dmplInit + self.hpgl[1:] + ',U0,0,P0,Z '
def convertToKNK(self):
# convert HPGL to KNK Plotter Language
@@ -136,7 +136,7 @@ class Plot(inkex.Effect):
hpglInit += ';FS%d' % self.options.force
if self.options.speed > 0:
hpglInit += ';VS%d' % self.options.speed
- self.hpgl = hpglInit + self.hpgl + ';SP0;PU0,0;@ '
+ self.hpgl = hpglInit + self.hpgl + ';PU0,0;SP0;@ '
def sendHpglToSerial(self):
# gracefully exit script when pySerial is missing