!2321 优化:开门纹路增加打印模式的显示

pull/2335/MERGE
林伟强 1 year ago committed by ChenX
parent 0626453834
commit e6d3cd3d54

@ -1658,10 +1658,10 @@ export class Board extends ExtrudeSolid
}
//线框及概念且可拆单
if ((renderType === RenderType.Wireframe || renderType === RenderType.Conceptual) && this.IsChaiDan)
if (([RenderType.Wireframe, RenderType.Conceptual, RenderType.Print].includes(renderType)) && this.IsChaiDan)
{
//绘制纹路
if (HostApplicationServices.showLines)
if (HostApplicationServices.showLines && renderType !== RenderType.Print)
obj.add(...this.GetLinesDir());
//绘制开门方向纹路
if (HostApplicationServices.showOpenDirLines && this.OpenDir !== BoardOpenDir.None)

Loading…
Cancel
Save