优化:避免错误

pull/2259/head
ChenX 1 year ago
parent 43e85e554d
commit 859aa61216

@ -1171,6 +1171,12 @@ export class ExtrudeSolid extends Entity
return grooves;
}
// project.ApplyMatrix(target.OCSInv);
if (!(project.Area > 1))
{
Log("无法切割板", LogType.Info, [this, target]);
return [];
}
project.Z0();
let c1 = Contour.CreateContour(project);
let c2 = Contour.CreateContour(target.ContourCurve);

Loading…
Cancel
Save