From 43ebcc344ffd0e5b84aee0c6dfd05cb2ea8962f2 Mon Sep 17 00:00:00 2001 From: Windell Oskay Date: Fri, 9 Dec 2022 11:51:10 -0800 Subject: [PATCH 1/2] Update inx for current standards --- inkscape_driver/eggbot.inx | 220 ++++++++++++------------- inkscape_driver/eggbot_hatch.inx | 59 +++---- inkscape_driver/eggbot_presethatch.inx | 23 +-- 3 files changed, 149 insertions(+), 153 deletions(-) diff --git a/inkscape_driver/eggbot.inx b/inkscape_driver/eggbot.inx index 2b4d84c..a1e0437 100755 --- a/inkscape_driver/eggbot.inx +++ b/inkscape_driver/eggbot.inx @@ -1,16 +1,16 @@ - <_name>EggBot Control + EggBot Control command.evilmadscientist.eggbot.rev280b1 org.inkscape.output.svg.inkscape eggbot.py - -<_param indent="1" name="splashpage" type="description" appearance="header"> + + + - + - <_param name="instructions_setup" type="description" appearance="header"> + + 55 + 50 - - <_option value="toggle-pen" >Toggle pen up/down - <_option value="align-mode" >Raise pen, turn off motors + + + - <_param indent="1" name="instructions_setup3" type="description" - xml:space="preserve"> + - - - - -<_param name="instructions_timing1" type="description" appearance="header">Movement speeds: - - - 300 - 400 - -<_param name="instructions_timing3" type="description" appearance="header">Pen lift and lowering speeds: - - 50 - 200 - 20 - 400 -<_param indent="2" name="instructions_timing4" type="description" xml:space="preserve"> - -(Press 'Apply' to save settings.) + - -<_param name="instructions_options6" type="description" appearance="header">Advanced Options: -true -true -true -true -false + + + + 300 + 400 + + + + 50 + 200 + 20 + 400 + + + + + + +true +true +true +true +false .2 -<_param indent="2" name="instructions_options3" type="description" xml:space="preserve"> - -(Press 'Apply' to save settings.) - +gui-text="Curve smoothing (lower for more):">.2 + + - - -<_param name="instructions_manual" type="description" appearance="header">EggBot Manual Control -<_param indent="1" name="instructions_manual" type="description" > + + + + - - <_option value="none" >- Select - - <_option value="raise-pen" >Raise the Pen - <_option value="lower-pen" >Lower the Pen - <_option value="walk-egg-motor" >Walk Motor 2 (egg) - <_option value="walk-pen-motor" >Walk Motor 1 (pen) - <_option value="enable-motors" >Enable Motors - <_option value="disable-motors" >Disable Motors - <_option value="enable-engraver" >Engraver On - <_option value="disable-engraver" >Engraver Off - <_option value="version-check" >Check EBB Version - <_option value="strip-data" >Strip plotter data from file + + + + + + + + + + + + 5 - <_param indent="3" name="instructions_manual2" type="description" - xml:space="preserve">Walk distances may be positive or negative. + gui-text=" Walk distance (steps):">5 + + + - -<_param name="instructions_resume1" type="description" appearance="header">Pause and Resume -<_param indent="1" name="instructions_resume2" type="description"> + + + + + + + false + - -<_param name="instructions_layer" type="description" appearance="header">Print individual layer(s) -<_param indent="1" name="instructions_layer2" type="description" > -Normally, we plot paths from all layers. + + + + + 1 + - - <_param name="instructions_general" type="description" - xml:space="preserve"> + + + - + all - + diff --git a/inkscape_driver/eggbot_hatch.inx b/inkscape_driver/eggbot_hatch.inx index d6ba73e..f3fbd0f 100755 --- a/inkscape_driver/eggbot_hatch.inx +++ b/inkscape_driver/eggbot_hatch.inx @@ -1,80 +1,81 @@ - <_name>Hatch fill + Hatch fill command.evilmadscientist.eggbot_hatch org.inkscape.output.svg.inkscape eggbot_hatch.py - - <_param name="Header" type="description"> + + + 3.0 + precision="3" gui-text="Hatch Spacing">3.0 - - <_option value="2">px - <_option value="3">mm - <_option value="4">inch + + + + 45 -false +gui-text="Hatch Angle (degrees)">45 +false -true +true 3.0 +gui-text="Range of end connections (default: 3)">3.0 -true +true 0.5 + gui-text="Inset Distance, in selected units">0.5 2.0 + gui-text="Tolerance (default: 2.0)">2.0 - - + + - -v2.4.3. Copyright 2022, Evil Mad Scientist + all - + diff --git a/inkscape_driver/eggbot_presethatch.inx b/inkscape_driver/eggbot_presethatch.inx index 16e0fc2..95bfdc8 100755 --- a/inkscape_driver/eggbot_presethatch.inx +++ b/inkscape_driver/eggbot_presethatch.inx @@ -1,29 +1,30 @@ - <_name>Preset hatch for fills + Preset hatch for fills command.evilmadscience.hatch.eggbot eggbot_presethatch.py - <_param name="title" type="description" xml:space="preserve"> + + - path - - - + path + + + From 18380f409400ef723799fe00fe622c9077385a04 Mon Sep 17 00:00:00 2001 From: Windell Oskay Date: Wed, 14 Dec 2022 14:03:40 -0800 Subject: [PATCH 2/2] INX updates for current Inkscape version --- inkscape_driver/eggbot_reorder.inx | 28 ++++++++++++++-------------- inkscape_driver/eggbot_stretch.inx | 14 +++++++------- inkscape_driver/hershey_eggbot.inx | 4 ++-- 3 files changed, 23 insertions(+), 23 deletions(-) diff --git a/inkscape_driver/eggbot_reorder.inx b/inkscape_driver/eggbot_reorder.inx index f454a09..463cab2 100755 --- a/inkscape_driver/eggbot_reorder.inx +++ b/inkscape_driver/eggbot_reorder.inx @@ -1,34 +1,34 @@ - <_name>Reorder Paths for Speed + Reorder Paths for Speed command.evilmadscientist.eggbot.reorder axidraw_svg_reorder.py -<_param indent="5" name="splashpage" type="description" -appearance="header">EggBot Plot Optimization Tool + -<_param name="Header" type="description" xml:space="preserve"> + - -<_option value="2">Reorder within groups -<_option value="1">Preserve groups -<_option value="3">Break apart groups + + + + -<_param name="Footer" type="description" indent="3" xml:space="preserve"> -v 2.5. Copyright 2019, Evil Mad Scientist - + all - + diff --git a/inkscape_driver/eggbot_stretch.inx b/inkscape_driver/eggbot_stretch.inx index 8d0bff4..a758d06 100755 --- a/inkscape_driver/eggbot_stretch.inx +++ b/inkscape_driver/eggbot_stretch.inx @@ -1,10 +1,10 @@ - <_name>Stretch + Stretch command.eggbot.contributed.stretch eggbot_stretch.py - <_param name="Header" type="description" xml:space="preserve"> + 5.0 + gui-text="Vertical smoothing (lower for more)">5.0 0.2 + gui-text=" Curve smoothing (lower for more)">0.2 all - + diff --git a/inkscape_driver/hershey_eggbot.inx b/inkscape_driver/hershey_eggbot.inx index 68621f2..0bce229 100755 --- a/inkscape_driver/hershey_eggbot.inx +++ b/inkscape_driver/hershey_eggbot.inx @@ -125,10 +125,10 @@ distribution. all - +