mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2025-12-13 19:52:19 +00:00
fix extrusion attachment bug
This commit is contained in:
parent
dded1894fb
commit
09313eb030
1 changed files with 2 additions and 1 deletions
|
|
@ -4398,7 +4398,8 @@ function _find_anchor(anchor, geom)=
|
||||||
shmat = move(lerp([0,0], shift, u)),
|
shmat = move(lerp([0,0], shift, u)),
|
||||||
scmat = scale(lerp([1,1], scale, u)),
|
scmat = scale(lerp([1,1], scale, u)),
|
||||||
twmat = zrot(lerp(0, -twist, u)),
|
twmat = zrot(lerp(0, -twist, u)),
|
||||||
mat = shmat * scmat * twmat
|
mat = shmat * scmat * twmat,
|
||||||
|
cp=point2d(cp)
|
||||||
)
|
)
|
||||||
approx(anchor_xy,[0,0]) ? [anchor, apply(mat, point3d(cp,anchor.z*L/2)), unit(anchor, UP), oang] :
|
approx(anchor_xy,[0,0]) ? [anchor, apply(mat, point3d(cp,anchor.z*L/2)), unit(anchor, UP), oang] :
|
||||||
let(
|
let(
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue