Code

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