kopia lustrzana https://github.com/inkstitch/inkstitch
remove obselete simulate extension
rodzic
c76a151711
commit
433b2c401c
|
|
@ -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)
|
||||
Ładowanie…
Reference in New Issue