Some rudimentary doc strings/descriptions

This commit is contained in:
Florian Festi 2016-03-08 21:53:29 +01:00
parent cfec12d5a6
commit 5c6597497d
6 changed files with 7 additions and 0 deletions

1
box.py
View File

@ -17,6 +17,7 @@
from boxes import *
class Box(Boxes):
"""Fully closed box"""
def __init__(self):
Boxes.__init__(self)
self.buildArgParser("x", "y", "h")

View File

@ -18,6 +18,8 @@ from boxes import *
import inspect
class Box(Boxes):
"""Simple open box with raised floor"""
def __init__(self):
Boxes.__init__(self)
self.buildArgParser("x", "y", "h")

View File

@ -17,6 +17,7 @@
from boxes import *
class Box(Boxes):
"""Box with just 3 walls"""
def __init__(self):
Boxes.__init__(self)
self.buildArgParser("x", "y", "h")

View File

@ -18,6 +18,7 @@ import boxes
import math
class FlexBox(boxes.Boxes):
"""Box with living hinge and round corners"""
def __init__(self):
boxes.Boxes.__init__(self)
self.buildArgParser("x", "y", "h")

View File

@ -18,6 +18,7 @@ from boxes import *
import math
class FlexBox(Boxes):
"""Box with living hinge and top corners rounded"""
def __init__(self):
Boxes.__init__(self)
self.buildArgParser("x", "y", "h")

View File

@ -18,6 +18,7 @@ from boxes import *
import math
class FlexBox(Boxes):
"""Box with living hinge"""
def __init__(self):
Boxes.__init__(self)
self.buildArgParser("x", "y")