different large refactorings (subdirectores, removed obsolete stuff) and

bug fixes
This commit is contained in:
Mario Voigt 2020-08-31 21:25:41 +02:00
parent 7aeae6fc55
commit ffcb5ed744
2250 changed files with 764 additions and 142723 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
*.pyc
/.project

View File

@ -92,4 +92,5 @@ class Gasket(inkex.Effect): # choose a better name
cx, cy, r = scale_factor*cx , scale_factor*cy, scale_factor*r
draw_SVG_circle(topgroup,r,cx,cy,'apo')
Gasket().run()
if __name__ == '__main__':
Gasket().run()

View File

@ -3052,6 +3052,5 @@ class GenericBox(inkex.Effect):
CloseDebugFile()
# Create effect instance and apply it.
effect = GenericBox()
effect.run()
if __name__ == '__main__':
GenericBox().run()

View File

@ -636,4 +636,5 @@ class BoxMaker(inkex.Effect):
side(group,(x+dx,y+dy),(-b,-c),(d,-c),keydivwalls*ctabs*(thickness if c else -thickness),dx,(-1,0),c,1,0,0) # side c
side(group,(x,y+dy),(d,-c),(d,a),keydivfloor*dtabs*(-thickness if d else thickness),dy,(0,-1),d,1,0,0) # side d
BoxMaker().run()
if __name__ == '__main__':
BoxMaker().run()

View File

@ -199,4 +199,5 @@ class ContourScanner(inkex.Effect):
for id, item in self.svg.selected.items():
self.scanContours(item)
ContourScanner().run()
if __name__ == '__main__':
ContourScanner().run()

Binary file not shown.

View File

@ -377,4 +377,5 @@ class DXFDWGImport(inkex.Effect):
root.set('width', bbox.width + 2 * offset)
root.set('height', bbox.height + 2 * offset)
DXFDWGImport().run()
if __name__ == '__main__':
DXFDWGImport().run()

Some files were not shown because too many files have changed in this diff Show More