Code

Fixed const/non-const mismatch loop.
[inkscape.git] / share / extensions / gcodetools_lathe.inx
1 <?xml version="1.0" encoding="UTF-8"?>
2 <inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
3     <_name>Lathe</_name>
4     <id>ru.cnc-club.filter.gcodetools_lathe_ptg</id>
5         <dependency type="executable" location="extensions">gcodetools.py</dependency>
6         <dependency type="executable" location="extensions">inkex.py</dependency>
7         <param name='active-tab' type="notebook">
9         <page name='lathe' _gui-text='Lathe'>   
10                 <param name="lathe-width" type="float" precision="5" min="0" max="1000" _gui-text="Lathe width:">10</param>
11                 <param name="lathe-fine-cut-width" type="float" precision="5" min="0" max="1000" _gui-text="Fine cut width:">1</param>
12                 <param name="lathe-fine-cut-count" type="int" min="0" max="1000" _gui-text="Fine cut count:">1</param>
13                 <param name="lathe-create-fine-cut-using"  _gui-text="Create fine cut using:" type="optiongroup" appearance="minimal">
14                         <option value="Move path">Move path</option>
15                         <option value="Offset path">Offset path</option>
16                 </param>
17                 <param name="lathe-x-axis-remap" type="string" _gui-text="Lathe X axis remap:">X</param>
18                 <param name="lathe-z-axis-remap" type="string" _gui-text="Lathe Z axis remap:">Z</param>
20                 
21         </page>
23                 <page name='path-to-gcode' _gui-text='Path to Gcode'>   
24                                 <param name="biarc-tolerance" type='float' precision="5" _gui-text='Biarc interpolation tolerance:'>1</param>
25                                 <param name="biarc-max-split-depth" type="int" _gui-text="Maximum splitting depth:">4</param>
26                                 <_param name="help" type="description">
27 Biarc interpolation tolerance is the maximum distance between path and its approximation.
28 The segment will be split into two segments if the distance between path's segment and it's approximation exceeds biarc interpolation tolerance.
29 </_param>
30                 </page>
32                 <page name='options' _gui-text='Options'>
33                         <param name="Zscale" type="float" precision="5" min="-100000" max="100000" _gui-text="Scale along Z axis:">1</param>                    
34                         <param name="Zoffset" type="float" precision="5" min="-100000" max="100000" _gui-text="Offset along Z axis:">0.0</param>
35                         <param name="auto_select_paths" type="boolean" _gui-text="Select all paths if nothing is selected">true</param>
36                         <param name="min-arc-radius" type="float" precision="5" min="-1000" max="1000"  _gui-text="Minimum arc radius:">0.05</param>
37                 </page>
39                 <page name='preferences' _gui-text='Preferences'>
40                         <param name="filename" type="string" _gui-text="File">output.ngc</param>
41                         <param name="add-numeric-suffix-to-filename" type="boolean" _gui-text="Add numeric suffix to filename">true</param>
42                         
43                         <param name="directory" type="string" _gui-text="Directory:">/home</param>
45                         <param name="Zsafe" type="float" precision="5" min="-1000" max="1000" _gui-text="Z safe height for G00 move over blank:">5</param>
46                         <param name="unit" type="enum" _gui-text="Units (mm or in):">
47                                 <item value="G21 (All units in mm)">mm</item>
48                                 <item value="G20 (All units in inches)">in</item>
49                         </param>
50                         <param name="postprocessor" type="enum" _gui-text="Post-processor:">
51                                 <item value=" ">None</item>
52                                 <item value="parameterize();">Parameterize Gcode</item>
53                                 <item value="flip(y);parameterize();">Flip y axis and parameterize Gcode</item>
54                                 <item value="round(4);">Round all values to 4 digits</item>
55                         </param>
56                         <param name="postprocessor-custom" type="string" _gui-text="Additional post-processor:"></param>                        
57                         
59                         <param name="create-log" type="boolean" _gui-text="Generate log file">false</param>                     
60                         <param name="log-filename" type="string" _gui-text="Full path to log file:"></param>                    
61                         
62                 </page>
64                 <page name='help' _gui-text='Help'>
65                         <_param name="fullhelp" type="description">
66 Gcodetools plug-in: converts paths to Gcode (using circular interpolation), makes offset paths and engraves sharp corners using cone cutters. 
67 This plug-in calculates Gcode for paths using circular interpolation or linear motion when needed.
69 Tutorials, manuals and support can be found at
70 English support forum:
71         http://www.cnc-club.ru/gcodetools
72         
73 and Russian support forum:
74         http://www.cnc-club.ru/gcodetoolsru
76 Credits: Nick Drobchenko, Vladimir Kalyaev, John Brooker, Henry Nicolas.
78 Gcodetools ver. 1.6.01
79 </_param>       
81                 </page>
83         </param>        
84     <effect>
85                 <effects-menu>
86                         <submenu _name="Gcodetools"/>
87                 </effects-menu>
88                 <object-type>path</object-type>
89     </effect>
90     <script>
91         <command reldir="extensions" interpreter="python">gcodetools.py</command>
92     </script>
93     
94 </inkscape-extension>