!3074 优化:造型走刀槽加长槽加宽为负数也能生效

pull/3081/MERGE
黄诗津 4 weeks ago committed by ChenX
parent 75e8cb0dff
commit 810401ef4b

@ -336,7 +336,7 @@ export class FeedingToolPath extends Singleton
{ {
shape.Outline.Curve.Position = shape.Outline.Curve.Position.setZ(0); shape.Outline.Curve.Position = shape.Outline.Curve.Position.setZ(0);
//若是矩形,应用槽加长 //若是矩形,应用槽加长
if (addLen > 0 || addWidth > 0) if (addLen != 0 || addWidth != 0)
{ {
let rectInfo = IsRect(shape.Outline.Curve); let rectInfo = IsRect(shape.Outline.Curve);
if (rectInfo) if (rectInfo)

Loading…
Cancel
Save