summaryrefslogtreecommitdiff
path: root/embroider_params.inx
diff options
context:
space:
mode:
authorLex Neva <github@lexneva.name>2016-10-30 22:58:51 -0400
committerLex Neva <github@lexneva.name>2016-11-02 23:20:31 -0400
commit841e9196ba27176d606d448d30f6c2b6b6bbc739 (patch)
treeb011773bb41d7bc00f2f7aeb47e8b2a1c562ff27 /embroider_params.inx
parent9249a3ae7730e62cdff282a33e989c1da5d00411 (diff)
major refactor
Split into classes for Fill, Stroke, and SatinColumn. Renamed params to be the same across XML attributes and OptionParser. Added distinct stitch length params for satin underlay. Renamed "satin underlay" to "contour underlay" and split out "center walk underlay" and "zigzag underlay". The code is ten times more readable, parameters make more sense, and everything is specified by the user in millimeters. Basically, everything is way better.
Diffstat (limited to 'embroider_params.inx')
-rw-r--r--embroider_params.inx23
1 files changed, 13 insertions, 10 deletions
diff --git a/embroider_params.inx b/embroider_params.inx
index 37530502..6b617f45 100644
--- a/embroider_params.inx
+++ b/embroider_params.inx
@@ -4,20 +4,23 @@
<id>jonh.embroider.params</id>
<dependency type="executable" location="extensions">embroider_params.py</dependency>
<dependency type="executable" location="extensions">inkex.py</dependency>
- <param name="zigzag_spacing" type="string" _gui-text="Zigzag spacing (mm)"></param>
- <param name="stitch_length" type="string" _gui-text="Running stitch length (mm)"></param>
- <param name="row_spacing" type="string" _gui-text="Row spacing (mm)"></param>
- <param name="max_stitch_length" type="string" _gui-text="Maximum stitch length (mm)"></param>
+ <param name="zigzag_spacing_mm" type="string" _gui-text="Zigzag spacing (mm)"></param>
+ <param name="running_stitch_length_mm" type="string" _gui-text="Running stitch length (mm)"></param>
+ <param name="row_spacing_mm" type="string" _gui-text="Row spacing (mm)"></param>
+ <param name="max_stitch_length_mm" type="string" _gui-text="Maximum stitch length for fills (mm)"></param>
<param name="repeats" type="string" _gui-text="Repeats (stroke only)"></param>
<param name="angle" type="string" _gui-text="Angle for lines in fills"></param>
- <param name="pull_compensation" type="string" _gui-text="Pull compensation for satin column (mm)"></param>
- <param name="hatching" type="string" _gui-text="Hatching? (yes/no)"></param>
+ <param name="pull_compensation_mm" type="string" _gui-text="Pull compensation for satin column (mm)"></param>
<param name="flip" type="string" _gui-text="Flip fill? (yes/no)"></param>
<param name="satin_column" type="string" _gui-text="Satin Column? (yes/no)"></param>
- <param name="satin_underlay" type="string" _gui-text="Edge-walk underlay for satin Column? (yes/no)"></param>
- <param name="satin_underlay_inset" type="string" _gui-text="Inset for satin colum underlay (mm)"></param>
- <param name="satin_center_walk" type="string" _gui-text="Satin center walk underlay? (yes/no)"></param>
- <param name="satin_zigzag_underlay_spacing" type="string" _gui-text="Zigzag underlay spacing (mm)"></param>
+ <param name="contour_underlay" type="string" _gui-text="Edge-walk underlay for satin Column? (yes/no)"></param>
+ <param name="contour_underlay_inset_mm" type="string" _gui-text="Inset for satin colum underlay (mm)"></param>
+ <param name="contour_underlay_stitch_length_mm" type="string" _gui-text="Stitch length (mm) for contour underlay (defaults to running stitch length)"></param>
+ <param name="center_walk_underlay" type="string" _gui-text="Satin center walk underlay? (yes/no)"></param>
+ <param name="center_walk_underlay_stitch_length_mm" type="string" _gui-text="Stitch length (mm) for center walk underlay (defaults to running stitch length)"></param>
+ <param name="zigzag_underlay" type="string" _gui-text="Zig-Zag underlay for satin Column? (yes/no)"></param>
+ <param name="zigzag_spacing_mm" type="string" _gui-text="Zigzag underlay spacing (mm)"></param>
+ <param name="zigzag_underlay_inset_mm" type="string" _gui-text="Inset for zigzag underlay (mm)"></param>
<param name="stroke_first" type="string" _gui-text="Stitch stroke before fill? (yes/no)"></param>
<effect>
<object-type>all</object-type>