feat: 提交
This commit is contained in:
@@ -237,27 +237,7 @@ export enum KnifeType {
|
||||
BLADE = 5
|
||||
}
|
||||
|
||||
/** 刀功能:
|
||||
** 1-CUT开料/切割 2-PULLING_GROOVE拉槽 3-MILLING_MODEL铣型 4-MILLING_HOLE铣孔
|
||||
** 5-DRILL_HOLE钻孔 6-RAMINO拉米诺 7-EASY_FASTEN乐扣 8-T_TYPE T型 */
|
||||
export enum AbilityType {
|
||||
/** 1开料/切割 */
|
||||
CUT = 1,
|
||||
/** 2拉槽 */
|
||||
PULLING_GROOVE = 2,
|
||||
/** 3铣型 */
|
||||
MILLING_MODEL = 3,
|
||||
/** 4铣孔 */
|
||||
MILLING_HOLE = 4,
|
||||
/** 5钻孔 */
|
||||
DRILL_HOLE = 5,
|
||||
/** 6拉米诺 */
|
||||
RAMINO = 6,
|
||||
/** 7乐扣 */
|
||||
EASY_FASTEN = 7,
|
||||
/** 8T型 */
|
||||
T_TYPE = 8
|
||||
}
|
||||
|
||||
|
||||
/** 枚举 坐标轴类型 */
|
||||
export enum AxisType {
|
||||
@@ -511,13 +491,15 @@ export class PlaceBlock {
|
||||
}
|
||||
|
||||
/** 左侧孔数 HoleCount_Left */
|
||||
holeCountLeft() { return this.blockDetail && this.blockDetail.holeCountLeft }
|
||||
holeCountLeft() { return this?.blockDetail?.holeCountLeft || 0 }
|
||||
/** 右侧孔数 HoleCount_Right */
|
||||
holeCountRight() { return this.blockDetail && this.blockDetail.holeCountRight }
|
||||
holeCountRight() {
|
||||
return this?.blockDetail?.holeCountRight || 0
|
||||
}
|
||||
/** 侧孔数 HoleCount_Upper */
|
||||
holeCountTop() { return this.blockDetail && this.blockDetail.holeCountTop }
|
||||
holeCountTop() { return this?.blockDetail?.holeCountTop || 0 }
|
||||
/** 侧孔数 HoleCount_Under */
|
||||
holeCountBottom() { return this.blockDetail && this.blockDetail.holeCountBottom }
|
||||
holeCountBottom() { return this?.blockDetail?.holeCountBottom || 0 }
|
||||
/** 正面造型数 */
|
||||
modelCountFront(): number {
|
||||
return this.blockDetail && this.blockDetail.modelCountFront || 0
|
||||
|
Reference in New Issue
Block a user