Skip to content

Commit d45b9b0

Browse files
committed
WallCaliper: Fix placement of sides and properly use Edge width
1 parent 8f5fb60 commit d45b9b0

File tree

2 files changed

+23
-23
lines changed

2 files changed

+23
-23
lines changed

boxes/generators/wallcaliperholder.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,13 @@ def side(self, move=None):
3737
h = self.h
3838
hc = self.height
3939

40-
tw = self.edges["b"].spacing() + hc + 8*t
40+
tw = self.edges["b"].spacing() + hc + 6*t
4141

4242
if self.move(tw, h, move, True):
4343
return
4444

45-
self.moveTo(self.edges["b"].startwidth())
46-
self.polyline(5*t+hc, (90, 2*t), h/2-2*t, (180, 1.5*t), 0.25*h,
45+
self.moveTo(self.edges["b"].margin())
46+
self.polyline(self.edges["b"].startwidth()+4*t+hc, (90, 2*t), h/2-2*t, (180, 1.5*t), 0.25*h,
4747
-90, hc, -90, 0.75*h-2*t, (90, 2*t), 2*t, 90)
4848

4949
self.edges["b"](h)

0 commit comments

Comments
 (0)