Use stretch setting in surroundingWall()

This commit is contained in:
Florian Festi 2016-03-30 21:09:19 +02:00
parent f82bba9682
commit 9322467c7b
3 changed files with 3 additions and 2 deletions

View File

@ -937,7 +937,7 @@ class Boxes:
"""
c4 = (r+self.burn)*math.pi*0.5 # circumference of quarter circle
c4 = 0.9 * c4 # stretch flex 10%
c4 = c4 / self.edges["X"].settings.stretch
top = self.edges.get(top, top)
bottom = self.edges.get(bottom, bottom)

View File

@ -461,7 +461,7 @@ class FlexSettings(Settings):
"width" : 5.0,
}
absolute_params = {
"stretch" : 1.0,
"stretch" : 1.05,
}
class FlexEdge(Edge):

View File

@ -5,3 +5,4 @@
* Make settings nicer
* Offer a collection of different settings
* Make bolts configurable (e.g. box2.py)
* Use stretch seting in flexboxes