diff options
Diffstat (limited to 'share')
| -rwxr-xr-x | share/extensions/hpgl_output.py | 2 | ||||
| -rwxr-xr-x | share/extensions/plotter.py | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/share/extensions/hpgl_output.py b/share/extensions/hpgl_output.py index 58f82da71..d4a23743f 100755 --- a/share/extensions/hpgl_output.py +++ b/share/extensions/hpgl_output.py @@ -66,7 +66,7 @@ class HpglOutput(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 output(self): # print to file 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 |
