This repository has been archived on 2023-03-25. You can view files and clone it, but cannot push or open issues or pull requests.
mightyscape-1.1-deprecated/extensions/fablabchemnitz_gcode_input_gcode.inx

54 lines
3.1 KiB
Plaintext
Raw Normal View History

2020-07-30 01:16:18 +02:00
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
2020-08-13 14:51:38 +02:00
<name>GCode Import (*.gcode)</name>
2020-07-30 01:16:18 +02:00
<id>fablabchemnitz.de.gcode_input.gcode</id>
<param name="tab" type="notebook">
2020-08-13 14:51:38 +02:00
<page name="options" gui-text="Options">
<param name="mode" type="optiongroup" appearance="combo" gui-text="GCode Import Mode">
<option value="vcarve">V-Carve</option>
<option value="standard">Standard</option>
<option value="laser">Laser</option>
2020-07-30 01:16:18 +02:00
</param>
<param name="vcarves" type="description" appearance="header">V-Carve Settings</param>
2020-08-13 14:51:38 +02:00
<param name="v_angle" indent="1" type="float" min="0.001" max="179" precision="0" gui-text="Included (full) angle, degrees">90</param>
<param name="v_top" indent="1" type="float" min="-9999" max="9999" precision="3" gui-text="Z value at top of stock">0</param>
<param name="v_step" indent="1" type="float" min="0.001" max="9999" precision="3" gui-text="Curve interpolation step size">0</param>
2020-07-30 01:16:18 +02:00
<param name="carves" type="description" appearance="header">Standard Mode Settings</param>
2020-08-13 14:51:38 +02:00
<param name="tool_diameter" indent="1" type="float" min="0.001" max="999.999" precision="3" gui-text="Path width / tool diameter">6.35</param>
2020-07-30 01:16:18 +02:00
<param name="general" type="description" appearance="header">General Options</param>
2020-08-13 14:51:38 +02:00
<param name="units" indent="1" type="optiongroup" appearance="combo" gui-text="Units (in this import dialog)">
2020-07-30 01:16:18 +02:00
<option value="mm">mm</option>
<option value="in">in</option>
</param>
2020-08-13 14:51:38 +02:00
<param name="z_axis" indent="1" type="optiongroup" appearance="combo" gui-text="Z-Axis (except V-Carve)">
2020-07-30 01:16:18 +02:00
<option value="ignore">Ignore Z axis data.</option>
<option value="group">Group by Z if able.</option>
<option value="label">Group by Z, with labels.</option>
</param>
</page>
2020-08-13 14:51:38 +02:00
<page name="help" gui-text="Help">
<param name="inputhelp" type="description" xml:space="preserve">
2020-07-30 01:16:18 +02:00
- This is intended to enable hobby CNC users to recover
geometry from G-code files in order to reconstitute
SVG design files.
- Importing G-code for 3D printing is not an intended target.
- Importing G-code will not result in an immediately
usable SVG, but with some manipulation, cromulent
results may be achieved.
- All individual moves are processed at constant Z
except in V-carve mode, which requires Z data.
- Any K parameters for G2/G3 arcs are summarily ignored.
2020-08-13 14:51:38 +02:00
- Importing a fully 3D carve is unlikely to give a useful result.</param>
2020-07-30 01:16:18 +02:00
</page>
</param>
<input>
<extension>.gcode</extension>
<mimetype>application/x-gcode</mimetype>
<filetypename>GCode File (*.gcode)</filetypename>
<filetypetooltip>Import GCode File</filetypetooltip>
2020-07-30 01:16:18 +02:00
</input>
<script>
2020-08-13 14:51:38 +02:00
<command location="inx" interpreter="python">fablabchemnitz_gcode_input.py</command>
2020-07-30 01:16:18 +02:00
</script>
</inkscape-extension>