!2149 新增:门板根空间增加门板高"MBG= H-SLK-XLK"参数,根空间子级门板组的H=_MBG

pull/2173/MERGE
林三 1 year ago committed by ChenX
parent 00186bde84
commit a40fb28e6e

@ -177,9 +177,8 @@ export class DrawDoorTool
templateSpace.Name = "根空间";
templateSpace.IsSign = true;
templateSpace.LParam.expr = "L";
templateSpace.WParam.expr = this.option.isAuto ? "W" : `DOORDEEPTH`;
templateSpace.HParam.expr = `H-SLK-XLK`;
templateSpace.WParam.expr = this.option.isAuto ? "" : `DOORDEEPTH`;
templateSpace.PZParam.expr = "XLK";
templateSpace.PYParam.expr = "MBNS";
templateSpace.GetParam("BH").value = this.option.thickness;
@ -187,6 +186,7 @@ export class DrawDoorTool
this.AppendTemplateParam("DOORDEEPTH", this.option.depth, "立板深度", templateSpace);
this.AppendTemplateParam("MBNS", this.option.offset, "内缩", templateSpace);
this.AppendTemplateParam("MBH", this.option.doorThickness, "门板厚度", templateSpace);
this.AppendTemplateParam("MBG", 0, "门板高", templateSpace, "H-SLK-XLK");
this.AppendTemplateParam("SLK", this.option.topOffset, "上留空", templateSpace);
this.AppendTemplateParam("XLK", this.option.bottomOffset, "下留空", templateSpace);
@ -214,7 +214,6 @@ export class DrawDoorTool
this.AppendTemplateParam("JLXJ", this.option.hindeBottomDist, "铰链下距", templateSpace);
app.Database.TemplateTable.Append(templateSpace);
return templateSpace;
}

@ -165,7 +165,7 @@ export class DrawLeftRightOpenDoor extends DrawDoorTool
colTemp.LParam.expr = `${lValue}-_BH+_YLJXJ`;
}
colTemp.WParam.expr = "_W-_MBNS";
colTemp.HParam.expr = "_H";
colTemp.HParam.expr = "_MBG";
colTemp.PXParam.expr = "_POS";
return colTemp;

Loading…
Cancel
Save