template: Remove invalid parameter and whitespace

This commit is contained in:
Marius Bergmann 2017-11-03 22:06:14 +01:00 committed by Florian Festi
parent dd2cedeb57
commit c0325b52ac
1 changed files with 3 additions and 6 deletions

View File

@ -18,7 +18,7 @@ from boxes import *
class BOX(Boxes): # Change class name! class BOX(Boxes): # Change class name!
"""DESCRIPTION""" """DESCRIPTION"""
webinterface = False # Change to make visible in web interface webinterface = False # Change to make visible in web interface
ui_group = "Unstable" # see ./__init__.py for names ui_group = "Unstable" # see ./__init__.py for names
@ -41,7 +41,7 @@ class BOX(Boxes): # Change class name!
self.argparser.add_argument( self.argparser.add_argument(
"--XX", action="store", type=float, default=0.5, "--XX", action="store", type=float, default=0.5,
help="DESCRIPTION") help="DESCRIPTION")
def render(self): def render(self):
# adjust to the variables you want in the local scope # adjust to the variables you want in the local scope
@ -52,15 +52,12 @@ class BOX(Boxes): # Change class name!
# Create new Edges here if needed E.g.: # Create new Edges here if needed E.g.:
s = edges.FingerJointSettings(self.thickness, relative=False, s = edges.FingerJointSettings(self.thickness, relative=False,
space = 10, finger=10, height=10, space = 10, finger=10,
width=self.thickness) width=self.thickness)
p = edges.FingerJointEdge(self, s) p = edges.FingerJointEdge(self, s)
p.char = "p" p.char = "p"
self.addPart(p) self.addPart(p)
# render your parts here # render your parts here
self.close() self.close()