fix conoid attachment bug

This commit is contained in:
Adrian Mariano
2025-03-18 22:05:23 -04:00
parent 0593a784db
commit 7c9b5cff5c

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]),