修复:切割分裂后造型错误

pull/898/head
ChenX 5 years ago
parent f2b67dc00d
commit 9b5ef3b7fd

@ -1106,17 +1106,15 @@ export class ExtrudeSolid extends Entity
{
let ext = this.Clone();
let shape = shapes[i];
ext.ContourCurve = shape.Outline.Curve;
for (let hole of shape.Holes)
{
let groove = new ExtrudeSolid();
groove.OCS = this.OCS;
groove.ContourCurve = hole.Curve;
groove.thickness = this.thickness;
groove.OCS = this.OCS;
ext.grooves.push(groove);
}
ext.ContourCurve = shape.Outline.Curve;
ext.GrooveCheckAll(splitEntitys);
ext.Update();
splitEntitys.push(ext);

Loading…
Cancel
Save