Only draw snap finger joint for wide fingers

and use rectangular fingers if width is smaller than 1.9
This commit is contained in:
Florian Festi 2022-08-20 08:59:39 +02:00
parent 87cf8fedbf
commit cd4949ccac
2 changed files with 2 additions and 2 deletions

View File

@ -900,7 +900,7 @@ class FingerJointEdge(BaseEdge, FingerJointBase):
self.polyline(
0, -90, *poly, 90, f, 90, *reversed(poly), -90
)
elif style == "snap":
elif style == "snap" and f > 1.9 * t:
a12 = math.degrees(math.atan(0.5))
l12 = t / math.cos(math.radians(a12))
d = 4*t

View File

@ -202,7 +202,7 @@ Finger Joint Settings
minimal amount of space before the first and after the last finger. This is in multiples of regular space between fingers. Reduce this if there are no fingers fitting on short edges.
style
how finger joints should look like. There may be more styles to choose from in the future.
how finger joints should look like. There may be more styles to choose from in the future. Note that snap fingers will only be drawn for fingers of width 1.9 and above.
extra_length
Make the outset part of the finger joint longer to allow grinding off burn marks. Note that this may not be great for non 90° joints where the corner is butted against the opposing cutout.