Use stretch setting in surroundingWall()
This commit is contained in:
parent
f82bba9682
commit
9322467c7b
|
@ -937,7 +937,7 @@ class Boxes:
|
||||||
|
|
||||||
"""
|
"""
|
||||||
c4 = (r+self.burn)*math.pi*0.5 # circumference of quarter circle
|
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)
|
top = self.edges.get(top, top)
|
||||||
bottom = self.edges.get(bottom, bottom)
|
bottom = self.edges.get(bottom, bottom)
|
||||||
|
|
|
@ -461,7 +461,7 @@ class FlexSettings(Settings):
|
||||||
"width" : 5.0,
|
"width" : 5.0,
|
||||||
}
|
}
|
||||||
absolute_params = {
|
absolute_params = {
|
||||||
"stretch" : 1.0,
|
"stretch" : 1.05,
|
||||||
}
|
}
|
||||||
|
|
||||||
class FlexEdge(Edge):
|
class FlexEdge(Edge):
|
||||||
|
|
|
@ -5,3 +5,4 @@
|
||||||
* Make settings nicer
|
* Make settings nicer
|
||||||
* Offer a collection of different settings
|
* Offer a collection of different settings
|
||||||
* Make bolts configurable (e.g. box2.py)
|
* Make bolts configurable (e.g. box2.py)
|
||||||
|
* Use stretch seting in flexboxes
|
||||||
|
|
Loading…
Reference in New Issue