mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2025-12-09 07:19:11 +00:00
vnf anchor bugfix
This commit is contained in:
parent
520b1c7fde
commit
f934d0585b
1 changed files with 1 additions and 1 deletions
|
|
@ -4232,7 +4232,7 @@ function _find_anchor(anchor, geom)=
|
|||
[center,direction,spin,[["edge_angle",ang],["edge_length",norm(edge[1]-edge[0])]]]
|
||||
: len(elist)>2 ? // multiple edges, which must be coplanar, use average of edge endpoints
|
||||
let(
|
||||
plist = select(vnf[0],flatten(edge)),
|
||||
plist = select(vnf[0],flatten(elist)),
|
||||
center = mean(plist)
|
||||
)
|
||||
[center,anchor,basic_spin]
|
||||
|
|
|
|||
Loading…
Reference in a new issue