mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2025-01-15 08:59:40 +00:00
Compare commits
2 commits
aa9a78cd01
...
55153a9bdf
Author | SHA1 | Date | |
---|---|---|---|
|
55153a9bdf | ||
|
289d6afb3e |
1 changed files with 1 additions and 1 deletions
|
@ -3755,7 +3755,7 @@ function _find_anchor(anchor, geom) =
|
|||
direction= unit(mean([for(face=edgefaces) polygon_normal(select(vnf[0],vnf[1][face]))])),
|
||||
edgedir = edge[1]-edge[0],
|
||||
nz = [for(i=[0:2]) if (!approx(edgedir[i],0)) i],
|
||||
flip = last(nz) < 0 ? -1 : 1,
|
||||
flip = edgedir[last(nz)] < 0 ? -1 : 1,
|
||||
spin = _compute_spin(direction, flip*edgedir)
|
||||
)
|
||||
[direction,spin]
|
||||
|
|
Loading…
Reference in a new issue