Code

Updated the text of the JessyInk effect extension to make translation easier (bug...
[inkscape.git] / share / extensions / gcodetools_engraving.inx
1 <?xml version="1.0" encoding="UTF-8"?>
2 <inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
3     <_name>Engraving</_name>
4     <id>ru.cnc-club.filter.gcodetools_engraving</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='engraving' _gui-text='Engraving'>   
10                         <param name="engraving-sharp-angle-tollerance" type="float"  precision="5" min="0" max="180" _gui-text="Sharp angle tolerance:">150</param>
11                         <param name="engraving-max-dist" type="float" precision="5" min="0" max="1000" _gui-text="Maximum distance for engraving:">10</param>
12                         <param name="engraving-newton-iterations" type="int" min="2" max="10" _gui-text="Number of sample points used to calculate distance:">4</param>
13                         <param name="engraving-draw-calculation-paths" type="boolean" _gui-text="Draw additional graphics to debug engraving path">false</param>
14                         
15                         <_param name="help" type="description">
16 This function creates path to engrave sharp angles.
17 Cutter's shape function is defined by the tool. Some simple shapes:
19 cone....(45 degrees)...........: w
20 cone....(height/diameter=10/3).: 10/3 w
21 sphere..("r" diameter).........: math.sqrt(max(0,r**2-w**2))
22 ellipse.(R1=r and R2=r*4r).....: math.sqrt(max(0,r**2-w**2))*4</_param>
23                 </page>
25                 <page name='options' _gui-text='Options'>
26                         <param name="Zscale" type="float" precision="5" min="-100000" max="100000" _gui-text="Scale along Z axis:">1</param>                    
27                         <param name="Zoffset" type="float" precision="5" min="-100000" max="100000" _gui-text="Offset along Z axis:">0.0</param>
28                         <param name="auto_select_paths" type="boolean" _gui-text="Select all paths if nothing is selected">true</param>
29                         <param name="min-arc-radius" type="float" precision="5" min="-1000" max="1000"  _gui-text="Minimum arc radius:">0.05</param>
30                 </page>
32                 <page name='preferences' _gui-text='Preferences'>
33                         <param name="filename" type="string" _gui-text="File:">output.ngc</param>
34                         <param name="add-numeric-suffix-to-filename" type="boolean" _gui-text="Add numeric suffix to filename">true</param>
35                         
36                         <param name="directory" type="string" _gui-text="Directory:">/home</param>
38                         <param name="Zsafe" type="float" precision="5" min="-1000" max="1000" _gui-text="Z safe height for G00 move over blank:">5</param>
39                         <param name="unit" type="enum" _gui-text="Units (mm or in):">
40                                 <item value="G21 (All units in mm)">mm</item>
41                                 <item value="G20 (All units in inches)">in</item>
42                         </param>
43                         <param name="postprocessor" type="enum" _gui-text="Post-processor:">
44                                 <item value=" ">None</item>
45                                 <item value="parameterize();">Parameterize Gcode</item>
46                                 <item value="flip(y);parameterize();">Flip y axis and parameterize Gcode</item>
47                                 <item value="round(4);">Round all values to 4 digits</item>
48                         </param>
49                         <param name="postprocessor-custom" type="string" _gui-text="Additional post-processor:"></param>                        
50                         
52                         <param name="create-log" type="boolean" _gui-text="Generate log file">false</param>                     
53                         <param name="log-filename" type="string" _gui-text="Full path to log file:"></param>                    
54                         
55                 </page>
57                 <page name='help' _gui-text='Help'>
58                         <_param name="fullhelp" type="description">
59 Gcodetools plug-in: converts paths to Gcode (using circular interpolation), makes offset paths and engraves sharp corners using cone cutters. 
60 This plug-in calculates Gcode for paths using circular interpolation or linear motion when needed.
62 Tutorials, manuals and support can be found at
63 English support forum:
64         http://www.cnc-club.ru/gcodetools
65         
66 and Russian support forum:
67         http://www.cnc-club.ru/gcodetoolsru
69 Credits: Nick Drobchenko, Vladimir Kalyaev, John Brooker, Henry Nicolas.
71 Gcodetools ver. 1.6.01
72 </_param>       
74                 </page>
76         </param>        
77     <effect>
78                 <effects-menu>
79                         <submenu _name="Gcodetools"/>
80                 </effects-menu>
81                 <object-type>path</object-type>
82     </effect>
83     <script>
84         <command reldir="extensions" interpreter="python">gcodetools.py</command>
85     </script>
86     
87 </inkscape-extension>