|
|
@ -160,9 +160,10 @@ export class Board extends ExtrudeSolid
|
|
|
|
this._Name = "背板";
|
|
|
|
this._Name = "背板";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
let defaultType = userConfig.DrillConfigs.size > 0 ? [...userConfig.DrillConfigs.keys()][0] : "不排";
|
|
|
|
let types = [...userConfig.DrillConfigs.keys(), "不排"];
|
|
|
|
this._BoardProcessOption.drillType = defaultType;
|
|
|
|
let type = types.includes(this.BoardProcessOption.drillType) ? this.BoardProcessOption.drillType : types[0];
|
|
|
|
this._BoardProcessOption.highDrill = Array(4).fill(defaultType);
|
|
|
|
this._BoardProcessOption.drillType = type;
|
|
|
|
|
|
|
|
this._BoardProcessOption.highDrill = Array(4).fill(type);
|
|
|
|
|
|
|
|
|
|
|
|
this.ConverToRectSolid(width, length, thickness);
|
|
|
|
this.ConverToRectSolid(width, length, thickness);
|
|
|
|
this.Update(UpdateDraw.Geometry);
|
|
|
|
this.Update(UpdateDraw.Geometry);
|
|
|
|