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