diff options
| author | Lex Neva <github.com@lexneva.name> | 2020-08-19 22:05:34 -0400 |
|---|---|---|
| committer | Lex Neva <github.com@lexneva.name> | 2020-08-19 22:05:34 -0400 |
| commit | 433b2c401c33baf8a32d5c790d24bd49086fdd05 (patch) | |
| tree | c0da7817ce6414ac5f8dcb95dd4f788dab8af154 | |
| parent | c76a15171106d7ffa6a391168895e172bf76a347 (diff) | |
remove obselete simulate extension
| -rw-r--r-- | lib/extensions/simulate.py | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/lib/extensions/simulate.py b/lib/extensions/simulate.py deleted file mode 100644 index a4da26d5..00000000 --- a/lib/extensions/simulate.py +++ /dev/null @@ -1,19 +0,0 @@ -from ..gui import show_simulator -from ..stitch_plan import patches_to_stitch_plan -from .base import InkstitchExtension - - -class Simulate(InkstitchExtension): - def __init__(self): - InkstitchExtension.__init__(self) - self.OptionParser.add_option("-P", "--path", - action="store", type="string", - dest="path", default=".", - help="Directory in which to store output file") - - def effect(self): - if not self.get_elements(): - return - patches = self.elements_to_patches(self.elements) - stitch_plan = patches_to_stitch_plan(patches) - show_simulator(stitch_plan) |
