1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
2
<!-- Gcodetools: header block -->
3
- <inkscape-extension >
3
+ <inkscape-extension xmlns = " http://www.inkscape.org/namespace/inkscape/extension " >
4
4
<!-- Gcodetools: name -->
5
5
<name >Gcodetools dev</name >
6
6
<!-- Gcodetools: /name -->
@@ -33,31 +33,31 @@ Gcodetools ver. 1.6
33
33
<!-- Gcodetools: /help block -->
34
34
<!-- Gcodetools: options block -->
35
35
<page name =' options' _gui-text =' Options' >
36
- <param name =" Zscale" type =" float" precision =" 5" min =" -100000" max =" 100000" _gui-text =" Scale along Z axis" >1</param >
37
- <param name =" Zoffset" type =" float" precision =" 5" min =" -100000" max =" 100000" _gui-text =" Offset along Z axis" >0.0</param >
36
+ <param name =" Zscale" type =" float" precision =" 5" min =" -100000" max =" 100000" _gui-text =" Scale along Z axis: " >1</param >
37
+ <param name =" Zoffset" type =" float" precision =" 5" min =" -100000" max =" 100000" _gui-text =" Offset along Z axis: " >0.0</param >
38
38
<param name =" auto_select_paths" type =" boolean" _gui-text =" Select all paths if nothing is selected" >true</param >
39
- <param name =" min-arc-radius" type =" float" precision =" 5" min =" -1000" max =" 1000" _gui-text =" Minimum arc radius" >0.05</param >
39
+ <param name =" min-arc-radius" type =" float" precision =" 5" min =" -1000" max =" 1000" _gui-text =" Minimum arc radius: " >0.05</param >
40
40
</page >
41
41
<!-- Gcodetools: /options block -->
42
42
<!-- Gcodetools: preferences block -->
43
43
<page name =' preferences' _gui-text =' Preferences' >
44
- <param name =" filename" type =" string" _gui-text =" File" >output.ngc</param >
44
+ <param name =" filename" type =" string" _gui-text =" File: " >output.ngc</param >
45
45
<param name =" add-numeric-suffix-to-filename" type =" boolean" _gui-text =" Add numeric suffix to filename" >true</param >
46
46
47
- <param name =" directory" type =" string" _gui-text =" Directory" >/home</param >
47
+ <param name =" directory" type =" string" _gui-text =" Directory: " >/home</param >
48
48
49
- <param name =" Zsafe" type =" float" precision =" 5" min =" -1000" max =" 1000" _gui-text =" Z safe height for G00 move over blank" >5</param >
50
- <param name =" unit" type =" enum" _gui-text =" Units (mm or in): " >
49
+ <param name =" Zsafe" type =" float" precision =" 5" min =" -1000" max =" 1000" _gui-text =" Z safe height for G00 move over blank: " >5</param >
50
+ <param name =" unit" type =" enum" _gui-text =" Units (mm or in):" >
51
51
<item value =" G21 (All units in mm)" >mm</item >
52
52
<item value =" G20 (All units in inches)" >in</item >
53
53
</param >
54
- <param name =" postprocessor" type =" enum" _gui-text =" Post-processor " >
54
+ <param name =" postprocessor" type =" enum" _gui-text =" Post-processor: " >
55
55
<item value =" " >None</item >
56
56
<item value =" parameterize();" >Parameterize Gcode</item >
57
57
<item value =" flip(y);parameterize();" >Flip y axis and parameterize Gcode</item >
58
58
<item value =" round(4);" >Round all values to 4 digits</item >
59
59
</param >
60
- <param name =" postprocessor-custom" type =" string" _gui-text =" Additional post-processor" ></param >
60
+ <param name =" postprocessor-custom" type =" string" _gui-text =" Additional post-processor: " ></param >
61
61
62
62
63
63
<param name =" create-log" type =" boolean" _gui-text =" Generate log file" >false</param >
@@ -73,7 +73,7 @@ Convert selected objects to drill points (as dxf_import plugin does). Also you c
73
73
74
74
Also you can manually select object, open XML editor (Shift+Ctrl+X) and add or remove XML tag 'dxfpoint' with any value.
75
75
</_param >
76
- <param type =' optiongroup' name =' dxfpoints-action' _gui-text =" Convert selection" >
76
+ <param type =' optiongroup' name =' dxfpoints-action' _gui-text =" Convert selection: " >
77
77
<_option value =' save' >set as dxfpoint and save shape</_option >
78
78
<_option value =' replace' >set as dxfpoint and draw arrow</_option >
79
79
<_option value =' clear' >clear dxfpoint sign</_option >
@@ -83,8 +83,8 @@ Also you can manually select object, open XML editor (Shift+Ctrl+X) and add or r
83
83
<!-- Gcodetools: /dxfpoints block -->
84
84
<!-- Gcodetools: ptg block -->
85
85
<page name =' path-to-gcode' _gui-text =' Path to Gcode' >
86
- <param name =" biarc-tolerance" type =' float' precision =" 5" _gui-text =' Biarc interpolation tolerance' >1</param >
87
- <param name =" biarc-max-split-depth" type =" int" _gui-text =" Maximum splitting depth" >4</param >
86
+ <param name =" biarc-tolerance" type =' float' precision =" 5" _gui-text =' Biarc interpolation tolerance: ' >1</param >
87
+ <param name =" biarc-max-split-depth" type =" int" _gui-text =" Maximum splitting depth: " >4</param >
88
88
<_param name =" help" type =" description" >
89
89
Biarc interpolation tolerance is the maximum distance between path and its approximation.
90
90
The segment will be split into two segments if the distance between path's segment and it's approximation exceeds biarc interpolation tolerance.
@@ -93,8 +93,8 @@ The segment will be split into two segments if the distance between path's segme
93
93
<!-- Gcodetools: /ptg block -->
94
94
<!-- Gcodetools: area block -->
95
95
<page name =' area' _gui-text =' Area' >
96
- <param name =" max-area-curves" type =" int" min =" 0" max =" 1000" _gui-text =" Maximum area cutting curves" >100</param >
97
- <param name =" area-inkscape-radius" type =" float" min =" -1000" max =" 1000" _gui-text =" Area width" >-10</param >
96
+ <param name =" max-area-curves" type =" int" min =" 0" max =" 1000" _gui-text =" Maximum area cutting curves: " >100</param >
97
+ <param name =" area-inkscape-radius" type =" float" min =" -1000" max =" 1000" _gui-text =" Area width: " >-10</param >
98
98
99
99
<_param name =" help" type =" description" >
100
100
"Create area offset": creates several Inkscape path offsets to fill original path's area up to "Area radius" value.
@@ -106,8 +106,8 @@ Only one offset will be created if the "Area width" is equal to "1/2 D".
106
106
<!-- Gcodetools: /area block -->
107
107
<!-- Gcodetools: area_artefacts block -->
108
108
<page name =' area_artefacts' _gui-text =' Area artefacts' >
109
- <param name =" area-find-artefacts-diameter" type =" float" min =" 0.01" max =" 1000" _gui-text =" artefact diameter" >5.0</param >
110
- <param name =" area-find-artefacts-action" type =" optiongroup" _gui-text =" Action" >
109
+ <param name =" area-find-artefacts-diameter" type =" float" min =" 0.01" max =" 1000" _gui-text =" artefact diameter: " >5.0</param >
110
+ <param name =" area-find-artefacts-action" type =" optiongroup" _gui-text =" Action: " >
111
111
<_option value =" mark with an arrow" >mark with an arrow</_option >
112
112
<_option value =" mark with style" >mark with style</_option >
113
113
<_option value =" delete" >delete</_option >
@@ -125,9 +125,9 @@ Suspected small objects will be marked out by colored arrows.
125
125
126
126
<!-- Gcodetools: engraving block -->
127
127
<page name =' engraving' _gui-text =' Engraving' >
128
- <param name =" engraving-sharp-angle-tollerance" type =" float" precision =" 5" min =" 0" max =" 180" _gui-text =" Sharp angle tolerance" >150</param >
129
- <param name =" engraving-max-dist" type =" float" precision =" 5" min =" 0" max =" 1000" _gui-text =" Maximum distance for engraving" >10</param >
130
- <param name =" engraving-newton-iterations" type =" int" min =" 2" max =" 10" _gui-text =" Number of sample points used to calculate distance" >4</param >
128
+ <param name =" engraving-sharp-angle-tollerance" type =" float" precision =" 5" min =" 0" max =" 180" _gui-text =" Sharp angle tolerance: " >150</param >
129
+ <param name =" engraving-max-dist" type =" float" precision =" 5" min =" 0" max =" 1000" _gui-text =" Maximum distance for engraving: " >10</param >
130
+ <param name =" engraving-newton-iterations" type =" int" min =" 2" max =" 10" _gui-text =" Number of sample points used to calculate distance: " >4</param >
131
131
<param name =" engraving-draw-calculation-paths" type =" boolean" _gui-text =" Draw additional graphics to debug engraving path" >false</param >
132
132
133
133
<_param name =" help" type =" description" >
@@ -143,7 +143,7 @@ ellipse.(R1=r and R2=r*4r).....: math.sqrt(max(0,r**2-w**2))*4</_param>
143
143
<!-- Gcodetools: orientation block -->
144
144
<page name =' orientation' _gui-text =' Orientation' >
145
145
146
- <param name =" orientation-points-count" type =" optiongroup" _gui-text =" Orientation type: " >
146
+ <param name =" orientation-points-count" type =" optiongroup" _gui-text =" Orientation type:" >
147
147
<_option value =" 2" >2-points mode
148
148
(move and rotate,
149
149
maintained aspect ratio X/Y)</_option >
@@ -152,9 +152,9 @@ maintained aspect ratio X/Y)</_option>
152
152
different X/Y scale)</_option >
153
153
<_option value =" graffiti" >Add graffiti points</_option >
154
154
</param >
155
- <param name =" Zsurface" type =" float" precision =" 5" min =" -1000" max =" 1000" _gui-text =" Z surface" >0</param >
156
- <param name =" Zdepth" type =" float" precision =" 5" min =" -1000" max =" 1000" _gui-text =" Z depth" >-1</param >
157
- <param name =" unit" type =" enum" _gui-text =" Units (mm or in): " >
155
+ <param name =" Zsurface" type =" float" precision =" 5" min =" -1000" max =" 1000" _gui-text =" Z surface: " >0</param >
156
+ <param name =" Zdepth" type =" float" precision =" 5" min =" -1000" max =" 1000" _gui-text =" Z depth: " >-1</param >
157
+ <param name =" unit" type =" enum" _gui-text =" Units (mm or in):" >
158
158
<item value =" G21 (All units in mm)" >mm</item >
159
159
<item value =" G20 (All units in inches)" >in</item >
160
160
</param >
@@ -202,15 +202,15 @@ Press Apply to create new tool.
202
202
203
203
<!-- Gcodetools: lathe block -->
204
204
<page name =' lathe' _gui-text =' Lathe' >
205
- <param name =" lathe-width" type =" float" precision =" 5" min =" 0" max =" 1000" _gui-text =" Lathe width" >10</param >
206
- <param name =" lathe-fine-cut-width" type =" float" precision =" 5" min =" 0" max =" 1000" _gui-text =" Fine cut width" >1</param >
207
- <param name =" lathe-fine-cut-count" type =" int" min =" 0" max =" 1000" _gui-text =" Fine cut count" >1</param >
208
- <param name =" lathe-create-fine-cut-using" _gui-text =" Create fine cut using" type =" optiongroup" appearance =" minimal" >
205
+ <param name =" lathe-width" type =" float" precision =" 5" min =" 0" max =" 1000" _gui-text =" Lathe width: " >10</param >
206
+ <param name =" lathe-fine-cut-width" type =" float" precision =" 5" min =" 0" max =" 1000" _gui-text =" Fine cut width: " >1</param >
207
+ <param name =" lathe-fine-cut-count" type =" int" min =" 0" max =" 1000" _gui-text =" Fine cut count: " >1</param >
208
+ <param name =" lathe-create-fine-cut-using" _gui-text =" Create fine cut using: " type =" optiongroup" appearance =" minimal" >
209
209
<option value =" Move path" >Move path</option >
210
210
<option value =" Offset path" >Offset path</option >
211
211
</param >
212
- <param name =" lathe-x-axis-remap" type =" string" _gui-text =" Lathe X axis remap" >X</param >
213
- <param name =" lathe-z-axis-remap" type =" string" _gui-text =" Lathe Z axis remap" >Z</param >
212
+ <param name =" lathe-x-axis-remap" type =" string" _gui-text =" Lathe X axis remap: " >X</param >
213
+ <param name =" lathe-z-axis-remap" type =" string" _gui-text =" Lathe Z axis remap: " >Z</param >
214
214
215
215
216
216
</page >
@@ -219,31 +219,31 @@ Press Apply to create new tool.
219
219
220
220
<!-- Gcodetools: offset block -->
221
221
<page name =' offset' _gui-text =' Offset' >
222
- <param name =" offset-radius" type =" float" precision =" 5" min =" -1000" max =" 1000" _gui-text =" Offset radius" >10</param >
223
- <param name =" offset-step" type =" float" precision =" 5" min =" 0" max =" 1000" _gui-text =" Offset step" >10</param >
222
+ <param name =" offset-radius" type =" float" precision =" 5" min =" -1000" max =" 1000" _gui-text =" Offset radius: " >10</param >
223
+ <param name =" offset-step" type =" float" precision =" 5" min =" 0" max =" 1000" _gui-text =" Offset step: " >10</param >
224
224
<param name =" offset-draw-clippend-path" type =" boolean" _gui-text =" Draw clipped path" >false</param >
225
225
<param name =" offset-just-get-distance" type =" boolean" _gui-text =" Don't do offset just get distance" >false</param >
226
226
</page >
227
227
<!-- Gcodetools: /offset block -->
228
228
229
229
<!-- Gcodetools: arrangement block -->
230
230
<page name =' arrangement' _gui-text =' Arrangement' >
231
- <param name =' arrangement-material-width' type =" float" precision =" 5" min =" 0" max =" 1000000" _gui-text =' Material width' >500</param >
232
- <param name =' arrangement-population-count' type =" int" min =" 0" max =" 1000000" _gui-text =' Genetic algorithm populations count' >100</param >
231
+ <param name =' arrangement-material-width' type =" float" precision =" 5" min =" 0" max =" 1000000" _gui-text =' Material width: ' >500</param >
232
+ <param name =' arrangement-population-count' type =" int" min =" 0" max =" 1000000" _gui-text =' Genetic algorithm populations count: ' >100</param >
233
233
</page >
234
234
<!-- Gcodetools: /arrangement block -->
235
235
236
236
237
237
238
238
<!-- Gcodetools: graffiti block -->
239
239
<page name =' graffiti' _gui-text =' Graffiti' >
240
- <param name =" graffiti-max-seg-length" type =" float" precision =" 5" min =" 0" max =" 1000" _gui-text =" Maximum segment length" >10</param >
241
- <param name =" graffiti-min-radius" type =" float" precision =" 5" min =" 0" max =" 1000" _gui-text =" Minimal connector radius" >10</param >
242
- <param name =" graffiti-start-pos" type =" string" _gui-text =" Start position (x;y)" >(0.0;0.0)</param >
240
+ <param name =" graffiti-max-seg-length" type =" float" precision =" 5" min =" 0" max =" 1000" _gui-text =" Maximum segment length: " >10</param >
241
+ <param name =" graffiti-min-radius" type =" float" precision =" 5" min =" 0" max =" 1000" _gui-text =" Minimal connector radius: " >10</param >
242
+ <param name =" graffiti-start-pos" type =" string" _gui-text =" Start position (x;y): " >(0.0;0.0)</param >
243
243
<param name =" graffiti-create-preview" type =" boolean" _gui-text =" Create preview" >true</param >
244
244
<param name =" graffiti-create-linearization-preview" type =" boolean" _gui-text =" Create linearization preview" >true</param >
245
- <param name =" graffiti-preview-size" type =" int" min =" 100" max =" 10000" _gui-text =" Preview's size (px)" >800</param >
246
- <param name =" graffiti-preview-emmit" type =" int" min =" 100" max =" 10000" _gui-text =" Preview's paint emmit (pts/s)" >1000</param >
245
+ <param name =" graffiti-preview-size" type =" int" min =" 100" max =" 10000" _gui-text =" Preview's size (px): " >800</param >
246
+ <param name =" graffiti-preview-emmit" type =" int" min =" 100" max =" 10000" _gui-text =" Preview's paint emmit (pts/s): " >1000</param >
247
247
248
248
</page >
249
249
<!-- Gcodetools: /graffiti block -->
@@ -266,6 +266,5 @@ Press Apply to create new tool.
266
266
<script >
267
267
<command reldir =" extensions" interpreter =" python" >gcodetools-dev.py</command >
268
268
</script >
269
-
270
269
</inkscape-extension >
271
270
<!-- Gcodetools: /footer block -->
0 commit comments