140cab8883269a4e3603c1861bb20690c8db4564JazzyNico<?xml version="1.0" encoding="UTF-8"?>
7765ee8964c8ffd7faee9baa0412abeb1ef5b0a4Nick
140cab8883269a4e3603c1861bb20690c8db4564JazzyNico<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
32512d3117077508d22c9dd28803184c7072e8e4Alexandre Prokoudine <_name>Lathe</_name>
7765ee8964c8ffd7faee9baa0412abeb1ef5b0a4Nick <id>ru.cnc-club.filter.gcodetools_lathe_lathe_modify_path_ptg</id>
140cab8883269a4e3603c1861bb20690c8db4564JazzyNico <dependency type="executable" location="extensions">gcodetools.py</dependency>
140cab8883269a4e3603c1861bb20690c8db4564JazzyNico <dependency type="executable" location="extensions">inkex.py</dependency>
140cab8883269a4e3603c1861bb20690c8db4564JazzyNico <param name='active-tab' type="notebook">
140cab8883269a4e3603c1861bb20690c8db4564JazzyNico
140cab8883269a4e3603c1861bb20690c8db4564JazzyNico <page name='lathe' _gui-text='Lathe'>
140cab8883269a4e3603c1861bb20690c8db4564JazzyNico <param name="lathe-width" type="float" precision="5" min="0" max="1000" _gui-text="Lathe width:">10</param>
140cab8883269a4e3603c1861bb20690c8db4564JazzyNico <param name="lathe-fine-cut-width" type="float" precision="5" min="0" max="1000" _gui-text="Fine cut width:">1</param>
140cab8883269a4e3603c1861bb20690c8db4564JazzyNico <param name="lathe-fine-cut-count" type="int" min="0" max="1000" _gui-text="Fine cut count:">1</param>
140cab8883269a4e3603c1861bb20690c8db4564JazzyNico <param name="lathe-create-fine-cut-using" _gui-text="Create fine cut using:" type="optiongroup" appearance="minimal">
7765ee8964c8ffd7faee9baa0412abeb1ef5b0a4Nick <_option value="Move path">Move path</_option>
7765ee8964c8ffd7faee9baa0412abeb1ef5b0a4Nick <_option value="Offset path">Offset path</_option>
140cab8883269a4e3603c1861bb20690c8db4564JazzyNico </param>
140cab8883269a4e3603c1861bb20690c8db4564JazzyNico <param name="lathe-x-axis-remap" type="string" _gui-text="Lathe X axis remap:">X</param>
140cab8883269a4e3603c1861bb20690c8db4564JazzyNico <param name="lathe-z-axis-remap" type="string" _gui-text="Lathe Z axis remap:">Z</param>
7765ee8964c8ffd7faee9baa0412abeb1ef5b0a4Nick </page>
140cab8883269a4e3603c1861bb20690c8db4564JazzyNico
7765ee8964c8ffd7faee9baa0412abeb1ef5b0a4Nick <page name='lathe_modify_path' _gui-text='Lathe modify path'>
7765ee8964c8ffd7faee9baa0412abeb1ef5b0a4Nick <_param name="help" type="description">
7765ee8964c8ffd7faee9baa0412abeb1ef5b0a4Nick This function modifies path so it will be able to be cut with the rectangular cutter.
7765ee8964c8ffd7faee9baa0412abeb1ef5b0a4Nick </_param>
7765ee8964c8ffd7faee9baa0412abeb1ef5b0a4Nick <param name="lathe-rectangular-cutter-width" type="float" precision="5" min="0" max="1000" _gui-text="Lathe width:">4</param>
140cab8883269a4e3603c1861bb20690c8db4564JazzyNico </page>
140cab8883269a4e3603c1861bb20690c8db4564JazzyNico
7765ee8964c8ffd7faee9baa0412abeb1ef5b0a4Nick
140cab8883269a4e3603c1861bb20690c8db4564JazzyNico <page name='path-to-gcode' _gui-text='Path to Gcode'>
140cab8883269a4e3603c1861bb20690c8db4564JazzyNico <param name="biarc-tolerance" type='float' precision="5" _gui-text='Biarc interpolation tolerance:'>1</param>
140cab8883269a4e3603c1861bb20690c8db4564JazzyNico <param name="biarc-max-split-depth" type="int" _gui-text="Maximum splitting depth:">4</param>
2cf8f271d9b9084ed96cbdee84f46dd99e603262Kris <param name="path-to-gcode-order" _gui-text="Cutting order:" type="optiongroup" appearance="minimal">
7765ee8964c8ffd7faee9baa0412abeb1ef5b0a4Nick <_option value="subpath by subpath">Subpath by subpath</_option>
7765ee8964c8ffd7faee9baa0412abeb1ef5b0a4Nick <_option value="path by path">Path by path</_option>
7765ee8964c8ffd7faee9baa0412abeb1ef5b0a4Nick <_option value="pass by pass">Pass by Pass</_option>
7765ee8964c8ffd7faee9baa0412abeb1ef5b0a4Nick </param>
7765ee8964c8ffd7faee9baa0412abeb1ef5b0a4Nick
7765ee8964c8ffd7faee9baa0412abeb1ef5b0a4Nick <param name="path-to-gcode-depth-function" type="string" _gui-text="Depth function:">d</param>
7765ee8964c8ffd7faee9baa0412abeb1ef5b0a4Nick <param name="path-to-gcode-sort-paths" type="boolean" _gui-text="Sort paths to reduse rapid distance">True</param>
7765ee8964c8ffd7faee9baa0412abeb1ef5b0a4Nick
140cab8883269a4e3603c1861bb20690c8db4564JazzyNico <_param name="help" type="description">
140cab8883269a4e3603c1861bb20690c8db4564JazzyNicoBiarc interpolation tolerance is the maximum distance between path and its approximation.
7765ee8964c8ffd7faee9baa0412abeb1ef5b0a4NickThe segment will be split into two segments if the distance between path's segment and its approximation exceeds biarc interpolation tolerance.
7765ee8964c8ffd7faee9baa0412abeb1ef5b0a4NickFor depth function c=color intensity from 0.0 (white) to 1.0 (black), d is the depth defined by orientation points, s - surface defined by orientation points.
140cab8883269a4e3603c1861bb20690c8db4564JazzyNico</_param>
140cab8883269a4e3603c1861bb20690c8db4564JazzyNico </page>
140cab8883269a4e3603c1861bb20690c8db4564JazzyNico
140cab8883269a4e3603c1861bb20690c8db4564JazzyNico <page name='options' _gui-text='Options'>
140cab8883269a4e3603c1861bb20690c8db4564JazzyNico <param name="Zscale" type="float" precision="5" min="-100000" max="100000" _gui-text="Scale along Z axis:">1</param>
140cab8883269a4e3603c1861bb20690c8db4564JazzyNico <param name="Zoffset" type="float" precision="5" min="-100000" max="100000" _gui-text="Offset along Z axis:">0.0</param>
140cab8883269a4e3603c1861bb20690c8db4564JazzyNico <param name="auto_select_paths" type="boolean" _gui-text="Select all paths if nothing is selected">true</param>
140cab8883269a4e3603c1861bb20690c8db4564JazzyNico <param name="min-arc-radius" type="float" precision="5" min="-1000" max="1000" _gui-text="Minimum arc radius:">0.05</param>
7765ee8964c8ffd7faee9baa0412abeb1ef5b0a4Nick <param name="comment-gcode" type="string" _gui-text="Comment Gcode:"></param>
7765ee8964c8ffd7faee9baa0412abeb1ef5b0a4Nick <param name="comment-gcode-from-properties" type="boolean" _gui-text="Get additional comments from object's properties">False</param>
7765ee8964c8ffd7faee9baa0412abeb1ef5b0a4Nick
140cab8883269a4e3603c1861bb20690c8db4564JazzyNico </page>
140cab8883269a4e3603c1861bb20690c8db4564JazzyNico
140cab8883269a4e3603c1861bb20690c8db4564JazzyNico <page name='preferences' _gui-text='Preferences'>
7765ee8964c8ffd7faee9baa0412abeb1ef5b0a4Nick <param name="filename" type="string" _gui-text="File:">output.ngc</param>
140cab8883269a4e3603c1861bb20690c8db4564JazzyNico <param name="add-numeric-suffix-to-filename" type="boolean" _gui-text="Add numeric suffix to filename">true</param>
140cab8883269a4e3603c1861bb20690c8db4564JazzyNico
140cab8883269a4e3603c1861bb20690c8db4564JazzyNico <param name="directory" type="string" _gui-text="Directory:">/home</param>
140cab8883269a4e3603c1861bb20690c8db4564JazzyNico
140cab8883269a4e3603c1861bb20690c8db4564JazzyNico <param name="Zsafe" type="float" precision="5" min="-1000" max="1000" _gui-text="Z safe height for G00 move over blank:">5</param>
140cab8883269a4e3603c1861bb20690c8db4564JazzyNico <param name="unit" type="enum" _gui-text="Units (mm or in):">
7765ee8964c8ffd7faee9baa0412abeb1ef5b0a4Nick <_item value="G21 (All units in mm)">mm</_item>
7765ee8964c8ffd7faee9baa0412abeb1ef5b0a4Nick <_item value="G20 (All units in inches)">in</_item>
140cab8883269a4e3603c1861bb20690c8db4564JazzyNico </param>
140cab8883269a4e3603c1861bb20690c8db4564JazzyNico <param name="postprocessor" type="enum" _gui-text="Post-processor:">
05445c57397b3e794e8d49df2f80af94d294da78JazzyNico <_item msgctxt="GCode postprocessor" value=" ">None</_item>
7765ee8964c8ffd7faee9baa0412abeb1ef5b0a4Nick <_item value="parameterize();">Parameterize Gcode</_item>
7765ee8964c8ffd7faee9baa0412abeb1ef5b0a4Nick <_item value="flip(y);parameterize();">Flip y axis and parameterize Gcode</_item>
7765ee8964c8ffd7faee9baa0412abeb1ef5b0a4Nick <_item value="round(4);">Round all values to 4 digits</_item>
7765ee8964c8ffd7faee9baa0412abeb1ef5b0a4Nick <_item value='regex("G01 Z([0-9\.\-]+).*\(Penetrate\)", lambda match: "G00 Z%f (Fast pre-penetrate)\n%s" %(float(match.group(1))+5, match.group(0)));'>Fast pre-penetrate</_item>
140cab8883269a4e3603c1861bb20690c8db4564JazzyNico </param>
140cab8883269a4e3603c1861bb20690c8db4564JazzyNico <param name="postprocessor-custom" type="string" _gui-text="Additional post-processor:"></param>
140cab8883269a4e3603c1861bb20690c8db4564JazzyNico
140cab8883269a4e3603c1861bb20690c8db4564JazzyNico
140cab8883269a4e3603c1861bb20690c8db4564JazzyNico <param name="create-log" type="boolean" _gui-text="Generate log file">false</param>
140cab8883269a4e3603c1861bb20690c8db4564JazzyNico <param name="log-filename" type="string" _gui-text="Full path to log file:"></param>
140cab8883269a4e3603c1861bb20690c8db4564JazzyNico
140cab8883269a4e3603c1861bb20690c8db4564JazzyNico </page>
140cab8883269a4e3603c1861bb20690c8db4564JazzyNico
140cab8883269a4e3603c1861bb20690c8db4564JazzyNico <page name='help' _gui-text='Help'>
140cab8883269a4e3603c1861bb20690c8db4564JazzyNico <_param name="fullhelp" type="description">
140cab8883269a4e3603c1861bb20690c8db4564JazzyNicoGcodetools plug-in: converts paths to Gcode (using circular interpolation), makes offset paths and engraves sharp corners using cone cutters.
140cab8883269a4e3603c1861bb20690c8db4564JazzyNicoThis plug-in calculates Gcode for paths using circular interpolation or linear motion when needed.
140cab8883269a4e3603c1861bb20690c8db4564JazzyNico
140cab8883269a4e3603c1861bb20690c8db4564JazzyNicoTutorials, manuals and support can be found at
140cab8883269a4e3603c1861bb20690c8db4564JazzyNicoEnglish support forum:
140cab8883269a4e3603c1861bb20690c8db4564JazzyNico http://www.cnc-club.ru/gcodetools
140cab8883269a4e3603c1861bb20690c8db4564JazzyNico
140cab8883269a4e3603c1861bb20690c8db4564JazzyNicoand Russian support forum:
140cab8883269a4e3603c1861bb20690c8db4564JazzyNico http://www.cnc-club.ru/gcodetoolsru
140cab8883269a4e3603c1861bb20690c8db4564JazzyNico
7765ee8964c8ffd7faee9baa0412abeb1ef5b0a4NickCredits: Nick Drobchenko, Vladimir Kalyaev, John Brooker, Henry Nicolas, Chris Lusby Taylor.
140cab8883269a4e3603c1861bb20690c8db4564JazzyNico
7765ee8964c8ffd7faee9baa0412abeb1ef5b0a4NickGcodetools ver. 1.7
140cab8883269a4e3603c1861bb20690c8db4564JazzyNico</_param>
140cab8883269a4e3603c1861bb20690c8db4564JazzyNico
140cab8883269a4e3603c1861bb20690c8db4564JazzyNico </page>
140cab8883269a4e3603c1861bb20690c8db4564JazzyNico
140cab8883269a4e3603c1861bb20690c8db4564JazzyNico </param>
140cab8883269a4e3603c1861bb20690c8db4564JazzyNico <effect>
140cab8883269a4e3603c1861bb20690c8db4564JazzyNico <effects-menu>
140cab8883269a4e3603c1861bb20690c8db4564JazzyNico <submenu _name="Gcodetools"/>
140cab8883269a4e3603c1861bb20690c8db4564JazzyNico </effects-menu>
140cab8883269a4e3603c1861bb20690c8db4564JazzyNico <object-type>path</object-type>
140cab8883269a4e3603c1861bb20690c8db4564JazzyNico </effect>
140cab8883269a4e3603c1861bb20690c8db4564JazzyNico <script>
140cab8883269a4e3603c1861bb20690c8db4564JazzyNico <command reldir="extensions" interpreter="python">gcodetools.py</command>
140cab8883269a4e3603c1861bb20690c8db4564JazzyNico </script>
140cab8883269a4e3603c1861bb20690c8db4564JazzyNico</inkscape-extension>