Uh oh!
There was an error while loading. Please reload this page.
forked from arpruss/gcodeplot
- Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathgcodeplot.inx
More file actions
Latest commit
141 lines (134 loc) · 10.4 KB
/
Copy pathgcodeplot.inx
File metadata and controls
141 lines (134 loc) · 10.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extensionxmlns="http://www.inkscape.org/namespace/inkscape/extension">
<name>GcodePlot</name>
<id>mobi.omegacentauri.gcodeplot</id>
<dependencytype="extension">org.inkscape.output.svg.inkscape</dependency>
<dependencytype="executable"location="extensions">gcodeplot.py</dependency>
<paramname="tab"type="notebook">
<pagename="general"_gui-text="General Settings ">
<paramname="tool-mode"type="optiongroup"_gui-text="Tool mode:"appearance="combo"_gui-description="In draw mode, tool offset, overcut and inside-out sorting settings are ignored. In cut mode, shading, optimization and direction are always disabled and inside-out sorting is always enabled. In custom mode, one can mix and match these.">
<optionvalue="draw">Drawing</item>
<optionvalue="cut">Cutting</item>
<optionvalue="custom">Custom</item>
</param>
<paramname="tolerance"type="float"min="0.0001"max="10.0"precision="3"_gui-text="Precision (mm):"_gui-description="Set rendering precision (Default: 0.05)">0.05</param>
<separator />
<labelappearance="header">Workspace Coordinates (mm)</label>
<hbox>
<labelindent="1" >Origin:</label>
<spacersize="expand"/>
<paramname="min-x"type="float"min="-1000000"max="1000000"precision="1"_gui-text="X:"_gui-description="x-coordinate of the print area's left edge (Default: 0)">0</param>
<paramname="min-y"type="float"min="-1000000"max="1000000"precision="1"_gui-text="Y:"_gui-description="y-coordinate of the print area's lower edge (Default: 0)">0</param>
</hbox>
<hbox>
<labelindent="1" >Size:</label>
<spacersize="expand"/>
<paramname="max-x"type="float"min="-1000000"max="1000000"precision="1"_gui-text="X:"_gui-description="x-coordinate of the print area's right edge (Default: 200)">200</param>
<paramname="max-y"type="float"min="-1000000"max="1000000"precision="1"_gui-text="Y:"_gui-description="y-coordinate of the print area's upper edge (Default: 200)">200</param>
</hbox>
<paramname="work-z"type="float"min="-1000000"max="1000000"indent="1"precision="2"_gui-text="Working Z-Height:"_gui-description="z-coordinate for drawing/cutting (Default: 15)">15</param>
<paramname="lift-delta-z"type="float"min="-1000000"max="1000000"indent="1"precision="2"_gui-text="Lift Z-height:"_gui-description="height to lift tool for movement (Default: 4)">4</param>
<paramname="safe-delta-z"type="float"min="-1000000"max="1000000"indent="1"precision="1"_gui-text="Parking Z-height:"_gui-description="height to lift tool for safe parking (Default: 20)">20</param>
<separator />
<labelappearance="header">Working Speed (mm/s)</label>
<paramname="pen-up-speed"type="int"min="1"max="500"indent="1"precision="0"appearance="full"_gui-text="Travel Speed:"_gui-description="Speed moving with tool up (Default: 40)">40</param>
<paramname="pen-down-speed"type="int"min="1"max="500"indent="1"precision="0"appearance="full"_gui-text="Draw Speed:"_gui-description="Speed moving with tool down (Default: 35)">35</param>
<paramname="z-speed"type="int"min="1"max="100"indent="1"precision="0"appearance="full"_gui-text="Z-axis Speed:"_gui-description="Speed moving tool up/down (Default: 5)">5</param>
</page>
<pagename="fitting"_gui-text="Fitting and Extracting">
<labelappearance="header">Fitting</label>
<paramname="scale"type="enum"_gui-text="Scaling mode:"_gui-description="Method for scaling to print area (Default: none; should be 'none' if tool-offset option is set in cutter tab)">
<itemvalue="n">none (needed if tool offset > 0)</item>
<itemvalue="f">fit</item>
<itemvalue="d">down-only</item>
</param>
<paramname="align-x"type="enum"_gui-text="Horizontal alignment:"_gui-description="Horizontal alignment of drawing in plotter area">
<itemvalue="none">none</item>
<itemvalue="left">left</item>
<itemvalue="center">center</item>
<itemvalue="right">right</item>
</param>
<paramname="align-y"type="enum"_gui-text="Vertical alignment:"_gui-description="Vertical alignment of drawing in plotter area">
<itemvalue="none">none</item>
<itemvalue="bottom">left</item>
<itemvalue="center">center</item>
<itemvalue="top">right</item>
</param>
<separator />
<labelappearance="header">Extracting</label>
<paramname="ignore-hidden"type="bool"gui-text="Ignore hidden elements"_gui-description="If checked, hidden layers, groups and elements will be discarded"></param>
<paramname="ignore-locked"type="bool"gui-text="Ignore locked elements"_gui-description="If checked, locked layers, groups and elements will be discarded"></param>
<hbox>
<paramname="boolean-extract-color"type="bool"gui-text="Extract only one color from drawing"_gui-description="Uncheck to include all colors; otherwise, choose the color to extract."></param>
<spacersize="expand"/>
<paramname="extract-color"type="color"gui-text=""appearance="colorbutton"_gui-description="The color to extract. Alpha values are discarded"></param>
</hbox>
</page>
<pagename="drawing"_gui-text="Drawing Settings">
<paramname="shading-threshold"type="float"min="0"max="1"precision="2"_gui-text="Shading threshold:"_gui-description="Shade whenever the shade is below this value, where 0=black and 1=white. To turn off shading, set to 0. (Default: 1, shade everything other than white).">1</param>
<paramname="shading-lightest"type="float"min="0"max="1000"precision="1"_gui-text="Lightest shading spacing (mm):"_gui-description="Distance between shading lines for the lightest shaded areas.">3</param>
<paramname="shading-darkest"type="float"min="0"max="1000"precision="1"_gui-text="Darkest shading spacing (mm):"_gui-description="Distance between shading lines for the darkest shaded areas.">0.5</param>
<paramname="shading-angle"type="float"min="0"max="180"precision="1"_gui-text="Shading angle (degrees)"_gui-description="Angle of shading lines">45</param>
<paramname="boolean-shading-crosshatch"type="bool"_gui-text="Crosshatching"_gui-description="Crosshatching when shading">false</param>
<paramname="optimization-time"type="int"min="0"max="600"precision="1"_gui-text="Optimization time (sec.):"_gui-description="Maximum amount of time to spend optimizing pen movement (typical is half of it).">60</param>
<paramname="direction"type="enum"_gui-text="Preferred drawing direction (degrees):"_gui-description="If specified, the plotter will avoid moving against this direction. Currently not compatible with optimization. (Default: none)">
<itemvalue="none">none</item>
<itemvalue="0">0 (positive x)</item>
<itemvalue="45">45</item>
<itemvalue="90">90 (positive y)</item>
<itemvalue="135">45</item>
<itemvalue="180">180 (negative x)</item>
<itemvalue="225">225</item>
<itemvalue="270">270 (negative y)</item>
<itemvalue="315">315</item>
</param>
</page>
<pagename="cutting"_gui-text="Cutting Settings">
<paramname="tool-offset"type="float"min="0"max="1000"precision="2"_gui-text="Tool offset (mm):"_gui-description="Horizontal distance from tool rotation axis to cutting tip (default: 1)">1</param>
<paramname="overcut"type="float"min="0"max="1000"precision="2"_gui-text="Overcut (mm):"_gui-description="Extra cut distance for closed curves (default: 1)">1</param>
<paramname="boolean-sort"type="bool"_gui-text="Inside-out sorting"_gui-description="Cut inside curves first">true</param>
<paramname="lift-command"type="string"_gui-text="Lift Command"_gui-description="Gcode command to lift the pen/blade"></param>
<paramname="down-command"type="string"_gui-text="Down Command"_gui-description="Gcode command to lower the pen/blade"></param>
</page>
<pagename="connectionSettings"_gui-text="Connection Settings">
<labelappearance="header">Moonraker API </label>
<spacer/>
<paramname="moonraker"type="string"_gui-text="Moonraker URL (leave blank if not used): "_gui-description="Enter the Moonraker API URL here to directly send gcode to your 3D Printer over the network."></param>
<paramname="moonraker-filename"type="string"_gui-text="File name: "_gui-description="Choose a name for the file to be uploaded.">Inkscape.gcode</param>
<spacer/>
<paramname="moonraker-autoprint"type="bool"_gui-text="Start job automatically after upload"_gui-description="Automatically starts running the gcode once the file is saved">false</param>
<spacer/>
<separator/>
<spacer/>
<labelappearance="header">Serial Configuration</label>
<spacer/>
<paramname="send-and-save"type="string"_gui-text="Serial Port (leave blank if not used): "_gui-description="If you enter the name of your serial port here (e.g., COM4), then you can directly send the file to your device."></param>
<paramname="send-speed"type="enum"_gui-text="Serial baud rate: "_gui-description="Baud rate of your serial device (Default: 115200)">
<itemvalue="115200">115200</item>
<itemvalue="300">300</item>
<itemvalue="600">600</item>
<itemvalue="1200">1200</item>
<itemvalue="2400">2400</item>
<itemvalue="4800">4800</item>
<itemvalue="9600">9600</item>
<itemvalue="14400">14400</item>
<itemvalue="19200">19200</item>
<itemvalue="28800">28800</item>
<itemvalue="38400">38400</item>
<itemvalue="56000">56000</item>
<itemvalue="57600">57600</item>
<itemvalue="115200">115200</item>
</param>
</page>
</param>
<outputis_exported='true'>
<extension>.gcode</extension>
<mimetype>text/plain</mimetype>
<filetypename>G-Code (*.gcode)</filetypename>
<filetypetooltip>Export 3-axis G-code plotter file</filetypetooltip>
<dataloss>true</dataloss>
</output>
<script>
<commandreldir="extensions"interpreter="python">gcodeplot.py</command>
</script>
</inkscape-extension>