Merge pull request #1881 from pelletjl/knuckle_hinge

fix for knuckle_hinge using both in_place and knuckle_clearance
This commit is contained in:
adrianVmariano 2026-01-14 19:32:14 -05:00 committed by GitHub
commit c528d98639
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -387,6 +387,7 @@ module knuckle_hinge(length, segs, offset, inner=false, arm_height=0, arm_angle=
union(){}
}
}
default_tag("keep", do_tag=in_place != false && knuckle_clearance)
attachable(anchor,spin,orient,
size=[length,
arm_height+offset/tan(arm_angle)+knuckle_diam/2+knuckle_diam/2/sin(arm_angle),