diff --git a/web/app/brep/operations/evolve-face.js b/web/app/brep/operations/evolve-face.js index 44e06d89..03ef0565 100644 --- a/web/app/brep/operations/evolve-face.js +++ b/web/app/brep/operations/evolve-face.js @@ -60,8 +60,7 @@ export function evolveFace(originFace, loops) { function getNestedLoops(face, brepLoops) { function NestedLoop(loop) { this.loop = loop; - //FIXME - this.workingPolygon = loop.asPolygon().map(p => face.surface.workingPoint(p)); + this.workingPolygon = loop.tess().map(p => face.surface.workingPoint(p)); this.inverted = !isCCW(this.workingPolygon); this.pip = PIP(this.workingPolygon); this.nesting = [];