remove obselete stitch order option

pull/2/merge
Lex Neva 2016-10-28 22:12:03 -04:00
rodzic 14ec80d012
commit 579ef18b56
2 zmienionych plików z 0 dodań i 11 usunięć

Wyświetl plik

@ -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>

Wyświetl plik

@ -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"],