mirror of
https://github.com/xibyte/jsketcher
synced 2025-12-10 18:36:30 +01:00
fix boundary problem for open faces
This commit is contained in:
parent
d449187c42
commit
4f40d1da0c
1 changed files with 3 additions and 0 deletions
|
|
@ -10,6 +10,9 @@ export function getSketchBoundaries(sceneFace) {
|
|||
let w2sTr = sceneFace.worldToSketchTransformation;
|
||||
let _w2sTrArr = null;
|
||||
let w2sTrArr = () => _w2sTrArr || (_w2sTrArr = w2sTr.toArray());
|
||||
if (!sceneFace.brepFace) {
|
||||
return boundary;
|
||||
}
|
||||
for (let he of sceneFace.brepFace.edges) {
|
||||
let curve = he.edge.curve.impl;
|
||||
if (curve.constructor.name === 'NurbsCurve' && curve.degree() !== 1) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue