!2983 修复:部分侧面切割槽不在平面上问题

pull/2985/head
林三 2 months ago committed by ChenX
parent c197659535
commit 311f4da89b

@ -840,7 +840,7 @@ export class ExtrudeSolid extends Entity
const mtx = new Matrix4().getInverse(faceMtx.clone().multiply(mirrorMtxZ));
//测试绘制
// TestDrawGeom3s([interCSG]);
// TestDrawGeom3s([interCSG], 1);
let sideModelCon: ExtrudeContourCurve;
let yv = extrude.Normal;
@ -921,6 +921,8 @@ export class ExtrudeSolid extends Entity
sideModelCon.ApplyMatrix(this.OCSInv);
sideModelCon.ApplyMatrix(new Matrix4().getInverse(faceMtx));
solid.ContourCurve = sideModelCon;
//确保侧面造型槽solid在XY平面上
solid.Z0();
}
}
else

Loading…
Cancel
Save