Merge pull request #1599 from adrianVmariano/master

fix conoid attachment bug
This commit is contained in:
adrianVmariano 2025-03-19 06:16:48 -04:00 committed by GitHub
commit 1198d0b402
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3967,7 +3967,7 @@ function _find_anchor(anchor, geom)=
botdata = solve_ellipse(r1,point2d(anch)),
topdata = solve_ellipse(r2,point2d(anch)),
bot = point3d(botdata[0], -length/2),
top = point3d(topdata[0], length/2),
top = move(shift,point3d(topdata[0], length/2)),
tangent = lerp(botdata[1],topdata[1],u),
normal = [-tangent.y,tangent.x],
axy = unit(point2d(anch),[0,0]),