HeartBox: Fix placement
Size caclulation is done properly nowadays. No need to fiddle with the placement and mess things up.
This commit is contained in:
parent
3e06ef3921
commit
061d9e2bf0
|
@ -64,7 +64,6 @@ class HeartBox(Boxes):
|
||||||
self.polygonWalls(borders, h)
|
self.polygonWalls(borders, h)
|
||||||
self.rectangularWall(0, h, "FFFF", move="up only")
|
self.rectangularWall(0, h, "FFFF", move="up only")
|
||||||
self.polygonWall(borders, callback=[self.CB], move="right")
|
self.polygonWall(borders, callback=[self.CB], move="right")
|
||||||
self.moveTo(-2*t)
|
|
||||||
self.polygonWall(borders, move="mirror right")
|
self.polygonWall(borders, move="mirror right")
|
||||||
if self.top == "lid":
|
if self.top == "lid":
|
||||||
self.polygonWall([l+t, (180, r+t), 0, -90, 0, (180, r+t), l+t, 90], 'e')
|
self.polygonWall([l+t, (180, r+t), 0, -90, 0, (180, r+t), l+t, 90], 'e')
|
||||||
|
|
Loading…
Reference in New Issue