开发:修复注释

pull/1404/MERGE
ChenX 4 years ago
parent ba5e2c7143
commit 014e180cc4

@ -67,7 +67,7 @@ export function ParseOddments(container: Container, binPath: Path, knifeRadius:
if (clipperCpp.lib.area(poly) < 0) continue;//移除内部的,无意义的 if (clipperCpp.lib.area(poly) < 0) continue;//移除内部的,无意义的
let tempPath = new Path(PathScale(poly, 1e-4)); let tempPath = new Path(PathScale(poly, 1e-4));
if (canPutPaths.some(p => tempPath.GetInsideNFP(p)?.length))//能塞的下定的轮廓才会被留下 if (canPutPaths.some(p => tempPath.GetInsideNFP(p)?.length))//能塞的下定的轮廓才会被留下
{ {
//设置轮廓的位置 //设置轮廓的位置
tempPath.OrigionMinPoint.x += nfpPath.OrigionMinPoint.x + polygonPath.OrigionMinPoint.x; tempPath.OrigionMinPoint.x += nfpPath.OrigionMinPoint.x + polygonPath.OrigionMinPoint.x;

Loading…
Cancel
Save