添加导出gap

This commit is contained in:
李志鹏
2026-01-07 10:27:48 +08:00
parent e40b707501
commit 29704f9b36
3 changed files with 42 additions and 0 deletions

View File

@@ -1066,6 +1066,7 @@ export class CanvasManager {
angle: v.angle,
name: v.sourceData.name,
priority: v.sourceData.priority,
gap: [0, 0],
}
if(obj.ifSingle){
let left = (v.left - (flLeft - flWidth * flScaleX / 2));
@@ -1092,6 +1093,7 @@ export class CanvasManager {
obj.scale = [scaleXY, scaleXY];
obj.angle = angle;
obj.location = [left, top];
obj.gap = [fill_.gapX, fill_.gapY];
}
if(obj.level2Type === "Pattern"){
prints.push(obj);