Add separating comments
This commit is contained in:
parent
0e5e344c46
commit
1115683449
|
@ -22,6 +22,8 @@ import re
|
||||||
from functools import wraps
|
from functools import wraps
|
||||||
from boxes import edges
|
from boxes import edges
|
||||||
|
|
||||||
|
### Helpers
|
||||||
|
|
||||||
def dist(dx, dy):
|
def dist(dx, dy):
|
||||||
"""
|
"""
|
||||||
Return distance
|
Return distance
|
||||||
|
@ -92,6 +94,10 @@ class NutHole:
|
||||||
self.boxes.edge(side)
|
self.boxes.edge(side)
|
||||||
self.boxes.corner(-60)
|
self.boxes.corner(-60)
|
||||||
|
|
||||||
|
##############################################################################
|
||||||
|
### Argument types
|
||||||
|
##############################################################################
|
||||||
|
|
||||||
def argparseSections(s):
|
def argparseSections(s):
|
||||||
"""
|
"""
|
||||||
Parse sections parameter
|
Parse sections parameter
|
||||||
|
@ -113,6 +119,10 @@ def argparseSections(s):
|
||||||
except ValueError:
|
except ValueError:
|
||||||
raise argparse.ArgumentTypeError("Don't understand sections string")
|
raise argparse.ArgumentTypeError("Don't understand sections string")
|
||||||
|
|
||||||
|
##############################################################################
|
||||||
|
### Main class
|
||||||
|
##############################################################################
|
||||||
|
|
||||||
class Boxes:
|
class Boxes:
|
||||||
"""Main class -- Generator should sub class this """
|
"""Main class -- Generator should sub class this """
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue