diff options
| author | Lex Neva <github@lexneva.name> | 2016-10-28 22:12:03 -0400 |
|---|---|---|
| committer | Lex Neva <github@lexneva.name> | 2016-10-28 22:12:03 -0400 |
| commit | 579ef18b563544636b8a575cbbc3fbf774931019 (patch) | |
| tree | 8cdb4ad2df1588c0b4e737d25298380c770955c7 | |
| parent | 14ec80d012b3f9878b558a366220889a03380372 (diff) | |
remove obselete stitch order option
| -rw-r--r-- | embroider.inx | 5 | ||||
| -rw-r--r-- | embroider.py | 6 |
2 files changed, 0 insertions, 11 deletions
diff --git a/embroider.inx b/embroider.inx index fea28b2f..0913964c 100644 --- a/embroider.inx +++ b/embroider.inx @@ -11,11 +11,6 @@ <param name="running_stitch_len_mm" type="float" min="0.1" max="100.0" _gui-text="Running stitch length (mm)">3.0</param> <param name="collapse_len_mm" type="float" min="0.0" max="10.0" _gui-text="Maximum collapse length (mm)">0.0</param> <param name="hide_layers" type="boolean" _gui-text="Hide other layers" description="Hide all other top-level layers when the embroidery layer is generated, in order to make stitching discernable.">true</param> - <param name="order" type="optiongroup" _gui-text="Stitch Order" appearance="minimal"> - <_option value="automatic">Automatic</_option> - <_option value="layer">Preserve layer order only</_option> - <_option value="object">Preserve object stacking order</_option> - </param> <param name="output_format" type="optiongroup" _gui-text="Output file format" appearance="minimal"> <_option value="melco">Melco</_option> <_option value="csv">Embroidermodder 2 CSV</_option> diff --git a/embroider.py b/embroider.py index 1db16f43..9a527d68 100644 --- a/embroider.py +++ b/embroider.py @@ -229,7 +229,6 @@ class Embroider(inkex.Effect): def __init__(self, *args, **kwargs): #dbg.write("args: %s\n" % repr(sys.argv)) inkex.Effect.__init__(self) - self.stacking_order_counter = 0 self.OptionParser.add_option("-r", "--row_spacing_mm", action="store", type="float", dest="row_spacing_mm", default=0.4, @@ -254,11 +253,6 @@ class Embroider(inkex.Effect): action="store", type="float", dest="flat", default=0.1, help="Minimum flatness of the subdivided curves") - self.OptionParser.add_option("-o", "--order", - action="store", type="choice", - choices=["automatic", "layer", "object"], - dest="order", default="automatic", - help="patch stitching order") self.OptionParser.add_option("--hide_layers", action="store", type="choice", choices=["true","false"], |
