Code

718ae0d9f6cccea69b47db277829ac3e25540dea
[inkscape.git] / share / extensions / gcodetools_area.inx
1 <?xml version="1.0" encoding="UTF-8"?>
2 <inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
3     <_name>Area</_name>
4     <id>ru.cnc-club.filter.gcodetools_area_area_artefacts_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='area' _gui-text='Area'>     
10                         <param name="max-area-curves" type="int" min="0" max="1000" _gui-text="Maximum area cutting curves:">100</param>
11                         <param name="area-inkscape-radius" type="float" min="-1000" max="1000" _gui-text="Area width:">-10</param>
13                         <_param name="help" type="description">
14 "Create area offset": creates several Inkscape path offsets to fill original path's area up to "Area radius" value. 
16 Outlines start from "1/2 D" up to "Area width" total width with "D" steps where D is taken from the nearest tool definition ("Tool diameter" value).
17 Only one offset will be created if the "Area width" is equal to "1/2 D".
18                         </_param>
19                 </page>         
21                 <page name='area_artefacts' _gui-text='Area artefacts'> 
22                         <param name="area-find-artefacts-diameter" type="float" min="0.01" max="1000" _gui-text="Artefact diameter:">5.0</param>
23                         <param name="area-find-artefacts-action" type="optiongroup" _gui-text="Action:">
24                                 <_option value="mark with an arrow">mark with an arrow</_option>
25                                 <_option value="mark with style">mark with style</_option>
26                                 <_option value="delete">delete</_option>
27                         </param>        
28                         <_param name="help" type="description">
29 Usage: 
30 1. Select all Area Offsets (gray outlines)
31 2. Object/Ungroup (Shift+Ctrl+G)
32 3. Press Apply
34 Suspected small objects will be marked out by colored arrows.
35                         </_param>
36                 </page>         
38                 <page name='path-to-gcode' _gui-text='Path to Gcode'>   
39                                 <param name="biarc-tolerance" type='float' precision="5" _gui-text='Biarc interpolation tolerance:'>1</param>
40                                 <param name="biarc-max-split-depth" type="int" _gui-text="Maximum splitting depth:">4</param>
41                                 <_param name="help" type="description">
42 Biarc interpolation tolerance is the maximum distance between path and its approximation.
43 The segment will be split into two segments if the distance between path's segment and it's approximation exceeds biarc interpolation tolerance.
44 </_param>
45                 </page>
47                 <page name='options' _gui-text='Options'>
48                         <param name="Zscale" type="float" precision="5" min="-100000" max="100000" _gui-text="Scale along Z axis:">1</param>                    
49                         <param name="Zoffset" type="float" precision="5" min="-100000" max="100000" _gui-text="Offset along Z axis:">0.0</param>
50                         <param name="auto_select_paths" type="boolean" _gui-text="Select all paths if nothing is selected">true</param>
51                         <param name="min-arc-radius" type="float" precision="5" min="-1000" max="1000"  _gui-text="Minimum arc radius:">0.05</param>
52                 </page>
54                 <page name='preferences' _gui-text='Preferences'>
55                         <param name="filename" type="string" _gui-text="File:">output.ngc</param>
56                         <param name="add-numeric-suffix-to-filename" type="boolean" _gui-text="Add numeric suffix to filename">true</param>
57                         
58                         <param name="directory" type="string" _gui-text="Directory:">/home</param>
60                         <param name="Zsafe" type="float" precision="5" min="-1000" max="1000" _gui-text="Z safe height for G00 move over blank:">5</param>
61                         <param name="unit" type="enum" _gui-text="Units (mm or in):">
62                                 <item value="G21 (All units in mm)">mm</item>
63                                 <item value="G20 (All units in inches)">in</item>
64                         </param>
65                         <param name="postprocessor" type="enum" _gui-text="Post-processor:">
66                                 <item value=" ">None</item>
67                                 <item value="parameterize();">Parameterize Gcode</item>
68                                 <item value="flip(y);parameterize();">Flip y axis and parameterize Gcode</item>
69                                 <item value="round(4);">Round all values to 4 digits</item>
70                         </param>
71                         <param name="postprocessor-custom" type="string" _gui-text="Additional post-processor:"></param>                        
72                         
74                         <param name="create-log" type="boolean" _gui-text="Generate log file">false</param>                     
75                         <param name="log-filename" type="string" _gui-text="Full path to log file:"></param>                    
76                         
77                 </page>
79                 <page name='help' _gui-text='Help'>
80                         <_param name="fullhelp" type="description">
81 Gcodetools plug-in: converts paths to Gcode (using circular interpolation), makes offset paths and engraves sharp corners using cone cutters. 
82 This plug-in calculates Gcode for paths using circular interpolation or linear motion when needed.
84 Tutorials, manuals and support can be found at
85 English support forum:
86         http://www.cnc-club.ru/gcodetools
87         
88 and Russian support forum:
89         http://www.cnc-club.ru/gcodetoolsru
91 Credits: Nick Drobchenko, Vladimir Kalyaev, John Brooker, Henry Nicolas.
93 Gcodetools ver. 1.6.01
94 </_param>       
96                 </page>
98         </param>        
99     <effect>
100                 <effects-menu>
101                         <submenu _name="Gcodetools"/>
102                 </effects-menu>
103                 <object-type>path</object-type>
104     </effect>
105     <script>
106         <command reldir="extensions" interpreter="python">gcodetools.py</command>
107     </script>
108     
109 </inkscape-extension>