fix two arcs loop bug

This commit is contained in:
xibyte 2018-01-06 21:04:48 -08:00
parent 5ae4aba735
commit 6dc0c7e2be

View file

@ -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 = [];