diff options
| author | Sebastian Wüst <sebi@timewaster.de> | 2013-10-09 19:35:15 +0000 |
|---|---|---|
| committer | Sebastian Wüst <sebi@timewaster.de> | 2013-10-09 19:35:15 +0000 |
| commit | d88806501eed58d77af06eab96352a667d895063 (patch) | |
| tree | 5e3fb9b8ac4f17a273616507e20842e9d40be8e6 /share | |
| parent | numerous optimizations, fixed bug tool offset correction calculates wrong poi... (diff) | |
| download | inkscape-d88806501eed58d77af06eab96352a667d895063.tar.gz inkscape-d88806501eed58d77af06eab96352a667d895063.zip | |
small stuff
(bzr r12417.1.17)
Diffstat (limited to 'share')
| -rw-r--r-- | share/extensions/hpgl_output.inx | 8 | ||||
| -rw-r--r-- | share/extensions/plotter.inx | 10 | ||||
| -rw-r--r-- | share/extensions/plotter.py | 1 |
3 files changed, 10 insertions, 9 deletions
diff --git a/share/extensions/hpgl_output.inx b/share/extensions/hpgl_output.inx index ac93ffe36..e295df054 100644 --- a/share/extensions/hpgl_output.inx +++ b/share/extensions/hpgl_output.inx @@ -9,18 +9,18 @@ <_param name="introduction" type="description">Please make sure that all objects you want to save are converted to paths. The plot will automatically be aligned to the zero point.</_param> <param name="tab" type="notebook"> <page name="plotter" _gui-text="Plotter Settings"> - <param name="pen" type="int" min="1" max="10" _gui-text="Pen number" _gui-description="The number of the pen (tool) to use, on most plotters 1 (Standard: '1')">1</param> + <param name="pen" type="int" min="0" max="10" _gui-text="Pen number" _gui-description="The number of the pen (tool) to use, on most plotters 1 (Standard: '1')">1</param> <param name="space" type="description"> </param> <param name="resolutionX" type="float" min="1.0" max="4096.0" precision="1" _gui-text="Resolution X (dpi)" _gui-description="The amount of steps the cutter moves if it moves for 1 inch on the X axis - Try different settings to find the one that fits your plotter (Default: 1016.0)">1016.0</param> <param name="resolutionY" type="float" min="1.0" max="4096.0" precision="1" _gui-text="Resolution Y (dpi)" _gui-description="The amount of steps the cutter moves if it moves for 1 inch on the Y axis - Try different settings to find the one that fits your plotter (Default: 1016.0)">1016.0</param> <param name="space" type="description"> </param> <param name="mirrorX" type="boolean" _gui-text="Mirror X-axis" _gui-description="Check this to mirror the X axis - Try different settings to find the one that fits your plotter (Default: Unchecked)">false</param> <param name="mirrorY" type="boolean" _gui-text="Mirror Y-axis" _gui-description="Check this to mirror the Y axis - Try different settings to find the one that fits your plotter (Default: Unchecked)">false</param> - <param name="orientation" type="optiongroup" appearance="minimal" _gui-text="Orientation" _gui-description="Orientation of the plot - Try different settings to find the one that fits your plotter (Default: 90°)"> - <option value="90">90°</option> - <option value="-90">-90°</option> + <param name="orientation" type="optiongroup" appearance="minimal" _gui-text="Orientation (CW)" _gui-description="Orientation of the plot - Try different settings to find the one that fits your plotter (Default: 0°)"> <option value="0">0°</option> + <option value="90">90°</option> <option value="180">180°</option> + <option value="270">270°</option> </param> <param name="center" type="boolean" _gui-text="Center zero point" _gui-description="Check this if the plotter needs the zero point to be in the center of the drawing - Try different settings to find the one that fits your plotter (Default: Unchecked)">false</param> </page> diff --git a/share/extensions/plotter.inx b/share/extensions/plotter.inx index 1232890c9..b034fd4a5 100644 --- a/share/extensions/plotter.inx +++ b/share/extensions/plotter.inx @@ -9,16 +9,16 @@ <_param name="introduction" type="description">Please make sure that all objects you want to plot are converted to paths. The plot will automatically be aligned to the zero point.</_param> <param name="tab" type="notebook"> <page name="plotter" _gui-text="Plotter Settings"> - <param name="pen" type="int" min="1" max="10" _gui-text="Pen number" _gui-description="The number of the pen (tool) to use, on most plotters 1 (Standard: '1')">1</param> + <param name="pen" type="int" min="0" max="10" _gui-text="Pen number" _gui-description="The number of the pen (tool) to use, on most plotters 1 (Standard: '1')">1</param> <param name="resolutionX" type="float" min="1.0" max="4096.0" precision="1" _gui-text="Resolution X (dpi)" _gui-description="The amount of steps the cutter moves if it moves for 1 inch on the X axis - Try different settings to find the one that fits your plotter (Default: 1016.0)">1016.0</param> <param name="resolutionY" type="float" min="1.0" max="4096.0" precision="1" _gui-text="Resolution Y (dpi)" _gui-description="The amount of steps the cutter moves if it moves for 1 inch on the Y axis - Try different settings to find the one that fits your plotter (Default: 1016.0)">1016.0</param> - <param name="mirrorX" type="boolean" _gui-text="Mirror X-axis" _gui-description="Check this to mirror the X axis - Try different settings to find the one that fits your plotter (Default: Unchecked)">false</param> + <param name="mirrorX" type="boolean" _gui-text="Mirror X-axis" _gui-description="Check this to mirror the X axis (Default: Unchecked)">false</param> <param name="mirrorY" type="boolean" _gui-text="Mirror Y-axis" _gui-description="Check this to mirror the Y axis - Try different settings to find the one that fits your plotter (Default: Unchecked)">false</param> - <param name="orientation" type="optiongroup" appearance="minimal" _gui-text="Orientation" _gui-description="Orientation of the plot - Try different settings to find the one that fits your plotter (Default: 90°)"> - <option value="90">90°</option> - <option value="-90">-90°</option> + <param name="orientation" type="optiongroup" appearance="minimal" _gui-text="Orientation (CW)" _gui-description="Orientation of the plot - Try different settings to find the one that fits your plotter (Default: 0°)"> <option value="0">0°</option> + <option value="90">90°</option> <option value="180">180°</option> + <option value="270">270°</option> </param> <param name="center" type="boolean" _gui-text="Center zero point" _gui-description="Check this if the plotter needs the zero point to be in the center of the drawing - Try different settings to find the one that fits your plotter (Default: Unchecked)">false</param> </page> diff --git a/share/extensions/plotter.py b/share/extensions/plotter.py index 9b8aff54f..db05c03cc 100644 --- a/share/extensions/plotter.py +++ b/share/extensions/plotter.py @@ -92,6 +92,7 @@ class MyEffect(inkex.Effect): ''' # send data to plotter # TODO:2013-07-13:Sebastian Wüst:Slow down sending to prevent buffer overflow (Somewhat esotherical) + # TODO:2013-10-09:Sebastian Wüst: add rtscts=1 ? mySerial = serial.Serial(port=self.options.serialPort, baudrate=self.options.serialBaudRate, timeout=0.1, writeTimeout=None) mySerial.write(self.hpgl) # Read back 2 chars to avoid plotter not plotting last command (I have no idea why this is necessary) |
