gcodetools_lathe.inx revision 7765ee8964c8ffd7faee9baa0412abeb1ef5b0a4
b07b82e44c32825d6226ee801d2ed91555e593d1rbowen<?xml version="1.0" encoding="UTF-8"?>
fb51a6b789d85113d0976148685b0063c294220drbowen
b07b82e44c32825d6226ee801d2ed91555e593d1rbowen<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
77a0265761f1bec2aaa0b4116c644f8066e349e3rbowen <name>Lathe</name>
b07b82e44c32825d6226ee801d2ed91555e593d1rbowen <id>ru.cnc-club.filter.gcodetools_lathe_lathe_modify_path_ptg</id>
b07b82e44c32825d6226ee801d2ed91555e593d1rbowen <dependency type="executable" location="extensions">gcodetools.py</dependency>
b07b82e44c32825d6226ee801d2ed91555e593d1rbowen <dependency type="executable" location="extensions">inkex.py</dependency>
b07b82e44c32825d6226ee801d2ed91555e593d1rbowen <param name='active-tab' type="notebook">
b07b82e44c32825d6226ee801d2ed91555e593d1rbowen
b07b82e44c32825d6226ee801d2ed91555e593d1rbowen <page name='lathe' _gui-text='Lathe'>
b07b82e44c32825d6226ee801d2ed91555e593d1rbowen <param name="lathe-width" type="float" precision="5" min="0" max="1000" _gui-text="Lathe width:">10</param>
b07b82e44c32825d6226ee801d2ed91555e593d1rbowen <param name="lathe-fine-cut-width" type="float" precision="5" min="0" max="1000" _gui-text="Fine cut width:">1</param>
b07b82e44c32825d6226ee801d2ed91555e593d1rbowen <param name="lathe-fine-cut-count" type="int" min="0" max="1000" _gui-text="Fine cut count:">1</param>
b07b82e44c32825d6226ee801d2ed91555e593d1rbowen <param name="lathe-create-fine-cut-using" _gui-text="Create fine cut using:" type="optiongroup" appearance="minimal">
b07b82e44c32825d6226ee801d2ed91555e593d1rbowen <_option value="Move path">Move path</_option>
b07b82e44c32825d6226ee801d2ed91555e593d1rbowen <_option value="Offset path">Offset path</_option>
b07b82e44c32825d6226ee801d2ed91555e593d1rbowen </param>
b07b82e44c32825d6226ee801d2ed91555e593d1rbowen <param name="lathe-x-axis-remap" type="string" _gui-text="Lathe X axis remap:">X</param>
b07b82e44c32825d6226ee801d2ed91555e593d1rbowen <param name="lathe-z-axis-remap" type="string" _gui-text="Lathe Z axis remap:">Z</param>
b07b82e44c32825d6226ee801d2ed91555e593d1rbowen </page>
b07b82e44c32825d6226ee801d2ed91555e593d1rbowen
b07b82e44c32825d6226ee801d2ed91555e593d1rbowen <page name='lathe_modify_path' _gui-text='Lathe modify path'>
b07b82e44c32825d6226ee801d2ed91555e593d1rbowen <_param name="help" type="description">
fb51a6b789d85113d0976148685b0063c294220drbowen This function modifies path so it will be able to be cut with the rectangular cutter.
fb51a6b789d85113d0976148685b0063c294220drbowen </_param>
fb51a6b789d85113d0976148685b0063c294220drbowen <param name="lathe-rectangular-cutter-width" type="float" precision="5" min="0" max="1000" _gui-text="Lathe width:">4</param>
4b2d52ed83bf31730c8b6bbe7c06d806dc3a0c4erbowen </page>
4b2d52ed83bf31730c8b6bbe7c06d806dc3a0c4erbowen
b75b4bfd9e8ec9fbf28a95174dc0e4d420f744a8sf
fb51a6b789d85113d0976148685b0063c294220drbowen <page name='path-to-gcode' _gui-text='Path to Gcode'>
fb51a6b789d85113d0976148685b0063c294220drbowen <param name="biarc-tolerance" type='float' precision="5" _gui-text='Biarc interpolation tolerance:'>1</param>
249cc9b3d83d3c60666269b90ecb9f1390d32165poirier <param name="biarc-max-split-depth" type="int" _gui-text="Maximum splitting depth:">4</param>
fb51a6b789d85113d0976148685b0063c294220drbowen <param name="path-to-gcode-order" _gui-text="Cutting order" type="optiongroup" appearance="minimal">
fb51a6b789d85113d0976148685b0063c294220drbowen <_option value="subpath by subpath">Subpath by subpath</_option>
860b4efe27e7c1c9a2bf5c872b29c90f76849b51jim <_option value="path by path">Path by path</_option>
889dc1728817c1c56d0c8d894c768614e346d86ecovener <_option value="pass by pass">Pass by Pass</_option>
889dc1728817c1c56d0c8d894c768614e346d86ecovener </param>
889dc1728817c1c56d0c8d894c768614e346d86ecovener
860b4efe27e7c1c9a2bf5c872b29c90f76849b51jim <param name="path-to-gcode-depth-function" type="string" _gui-text="Depth function:">d</param>
889dc1728817c1c56d0c8d894c768614e346d86ecovener <param name="path-to-gcode-sort-paths" type="boolean" _gui-text="Sort paths to reduse rapid distance">True</param>
889dc1728817c1c56d0c8d894c768614e346d86ecovener
860b4efe27e7c1c9a2bf5c872b29c90f76849b51jim <_param name="help" type="description">
889dc1728817c1c56d0c8d894c768614e346d86ecovenerBiarc interpolation tolerance is the maximum distance between path and its approximation.
fb51a6b789d85113d0976148685b0063c294220drbowenThe segment will be split into two segments if the distance between path's segment and its approximation exceeds biarc interpolation tolerance.
8548ace6aa09b4d3e463254b53865fb38fbbbc78poirierFor 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.
8548ace6aa09b4d3e463254b53865fb38fbbbc78poirier</_param>
8ad875ad9725307fd052e36abc2938f89f56902csf </page>
8ad875ad9725307fd052e36abc2938f89f56902csf
8548ace6aa09b4d3e463254b53865fb38fbbbc78poirier <page name='options' _gui-text='Options'>
e19685ea3d8a2a0754a532b464a3d194c9f9a429humbedooh <param name="Zscale" type="float" precision="5" min="-100000" max="100000" _gui-text="Scale along Z axis:">1</param>
e19685ea3d8a2a0754a532b464a3d194c9f9a429humbedooh <param name="Zoffset" type="float" precision="5" min="-100000" max="100000" _gui-text="Offset along Z axis:">0.0</param>
ededb790277bba8f7ae292b5385aecc7ac433105humbedooh <param name="auto_select_paths" type="boolean" _gui-text="Select all paths if nothing is selected">true</param>
09a561bcc5c1159de86edf7e644cc9777636211ahumbedooh <param name="min-arc-radius" type="float" precision="5" min="-1000" max="1000" _gui-text="Minimum arc radius:">0.05</param>
e19685ea3d8a2a0754a532b464a3d194c9f9a429humbedooh <param name="comment-gcode" type="string" _gui-text="Comment Gcode:"></param>
e19685ea3d8a2a0754a532b464a3d194c9f9a429humbedooh <param name="comment-gcode-from-properties" type="boolean" _gui-text="Get additional comments from object's properties">False</param>
e19685ea3d8a2a0754a532b464a3d194c9f9a429humbedooh
fb51a6b789d85113d0976148685b0063c294220drbowen </page>
fb51a6b789d85113d0976148685b0063c294220drbowen
4b2d52ed83bf31730c8b6bbe7c06d806dc3a0c4erbowen <page name='preferences' _gui-text='Preferences'>
fb51a6b789d85113d0976148685b0063c294220drbowen <param name="filename" type="string" _gui-text="File:">output.ngc</param>
3e30fa5f420fe7302a4cdcd79cb001958fd54a13rbowen <param name="add-numeric-suffix-to-filename" type="boolean" _gui-text="Add numeric suffix to filename">true</param>
fb51a6b789d85113d0976148685b0063c294220drbowen
6265962c731aed3af3aa7242b35852f3f181d437humbedooh <param name="directory" type="string" _gui-text="Directory:">/home</param>
2219c51bf0756c2f6f7deb88a13baf30f141c12epoirier
6265962c731aed3af3aa7242b35852f3f181d437humbedooh <param name="Zsafe" type="float" precision="5" min="-1000" max="1000" _gui-text="Z safe height for G00 move over blank:">5</param>
fb51a6b789d85113d0976148685b0063c294220drbowen <param name="unit" type="enum" _gui-text="Units (mm or in):">
4b2d52ed83bf31730c8b6bbe7c06d806dc3a0c4erbowen <_item value="G21 (All units in mm)">mm</_item>
4b2d52ed83bf31730c8b6bbe7c06d806dc3a0c4erbowen <_item value="G20 (All units in inches)">in</_item>
4b2d52ed83bf31730c8b6bbe7c06d806dc3a0c4erbowen </param>
fb51a6b789d85113d0976148685b0063c294220drbowen <param name="postprocessor" type="enum" _gui-text="Post-processor:">
6265962c731aed3af3aa7242b35852f3f181d437humbedooh <_item value=" ">None</_item>
4b2d52ed83bf31730c8b6bbe7c06d806dc3a0c4erbowen <_item value="parameterize();">Parameterize Gcode</_item>
6265962c731aed3af3aa7242b35852f3f181d437humbedooh <_item value="flip(y);parameterize();">Flip y axis and parameterize Gcode</_item>
fb51a6b789d85113d0976148685b0063c294220drbowen <_item value="round(4);">Round all values to 4 digits</_item>
4b2d52ed83bf31730c8b6bbe7c06d806dc3a0c4erbowen <_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>
249cc9b3d83d3c60666269b90ecb9f1390d32165poirier </param>
249cc9b3d83d3c60666269b90ecb9f1390d32165poirier <param name="postprocessor-custom" type="string" _gui-text="Additional post-processor:"></param>
249cc9b3d83d3c60666269b90ecb9f1390d32165poirier
4b2d52ed83bf31730c8b6bbe7c06d806dc3a0c4erbowen
92e5d4326ae44f79da5cb049470daba604506846poirier <param name="create-log" type="boolean" _gui-text="Generate log file">false</param>
92e5d4326ae44f79da5cb049470daba604506846poirier <param name="log-filename" type="string" _gui-text="Full path to log file:"></param>
92e5d4326ae44f79da5cb049470daba604506846poirier
92e5d4326ae44f79da5cb049470daba604506846poirier </page>
fb51a6b789d85113d0976148685b0063c294220drbowen
fb51a6b789d85113d0976148685b0063c294220drbowen <page name='help' _gui-text='Help'>
e27eee5caa6c1bf3853c11253ae82303cff0e40brbowen <_param name="fullhelp" type="description">
889dc1728817c1c56d0c8d894c768614e346d86ecovenerGcodetools plug-in: converts paths to Gcode (using circular interpolation), makes offset paths and engraves sharp corners using cone cutters.
860b4efe27e7c1c9a2bf5c872b29c90f76849b51jimThis plug-in calculates Gcode for paths using circular interpolation or linear motion when needed.
860b4efe27e7c1c9a2bf5c872b29c90f76849b51jim
889dc1728817c1c56d0c8d894c768614e346d86ecovenerTutorials, manuals and support can be found at
e27eee5caa6c1bf3853c11253ae82303cff0e40brbowenEnglish support forum:
889dc1728817c1c56d0c8d894c768614e346d86ecovener http://www.cnc-club.ru/gcodetools
e27eee5caa6c1bf3853c11253ae82303cff0e40brbowen
e27eee5caa6c1bf3853c11253ae82303cff0e40brbowenand Russian support forum:
e27eee5caa6c1bf3853c11253ae82303cff0e40brbowen http://www.cnc-club.ru/gcodetoolsru
880f77d700bc15c83bb541a053cd56e89cbfb8bchumbedooh
880f77d700bc15c83bb541a053cd56e89cbfb8bchumbedoohCredits: Nick Drobchenko, Vladimir Kalyaev, John Brooker, Henry Nicolas, Chris Lusby Taylor.
991f8cc9d508110a59a25a84f8c8d8d129c49859humbedooh
92e5d4326ae44f79da5cb049470daba604506846poirierGcodetools ver. 1.7
92e5d4326ae44f79da5cb049470daba604506846poirier</_param>
92e5d4326ae44f79da5cb049470daba604506846poirier
92e5d4326ae44f79da5cb049470daba604506846poirier </page>
860b4efe27e7c1c9a2bf5c872b29c90f76849b51jim
860b4efe27e7c1c9a2bf5c872b29c90f76849b51jim </param>
860b4efe27e7c1c9a2bf5c872b29c90f76849b51jim <effect>
cf7d90693f7579700c4f7e663adb83196f903df1covener <effects-menu>
cf7d90693f7579700c4f7e663adb83196f903df1covener <submenu _name="Gcodetools"/>
cf7d90693f7579700c4f7e663adb83196f903df1covener </effects-menu>
92e5d4326ae44f79da5cb049470daba604506846poirier <object-type>path</object-type>
92e5d4326ae44f79da5cb049470daba604506846poirier </effect>
92e5d4326ae44f79da5cb049470daba604506846poirier <script>
92e5d4326ae44f79da5cb049470daba604506846poirier <command reldir="extensions" interpreter="python">gcodetools.py</command>
92e5d4326ae44f79da5cb049470daba604506846poirier </script>
a51fa5c4960c597687688fd4a87856d5db51435fhumbedooh</inkscape-extension>
8a0b66c25933ca8581954e6600c5b4f1e97dc738humbedooh