DoveTailEdge: Fix edge without dove tails

This commit is contained in:
Florian Festi 2022-01-05 18:29:09 +01:00
parent 260633d9cd
commit 5810314331
1 changed files with 4 additions and 0 deletions

View File

@ -1984,6 +1984,10 @@ class DoveTailJoint(BaseEdge):
sections = int((length) // (s.size * 2))
leftover = length - sections * s.size * 2
if sections == 0:
self.edge(length)
return
p = 1 if positive else -1
self.edge((s.size + leftover) / 2.0 + diffx - l1, tabs=1)