IBomPlankEditable 接口
interface IBomPlankEditable<H = IBomPlankHoleEditable, G = IBomPlankGrooveEditable, AttrValueType = string> extends IBomPlankModelId, AugmentedRequired<IBomMetaInfo, 'name' | 'code'>, IBomCategoryAttr<AttrValueType>, IBomPlankRelation, IBomRoomMetaInfo 
板件数据结构
类型参数: H = IBomPlankHoleEditable, G = IBomPlankGrooveEditable, AttrValueType = string
继承: IBomPlankModelId, AugmentedRequired<IBomMetaInfo, 'name' | 'code'>, IBomCategoryAttr<AttrValueType>, IBomPlankRelation, IBomRoomMetaInfo
属性
backCode
backCode?: string;
板件反面编码
backMaterial
backMaterial?: string;
反面材质
baseMaterial
baseMaterial: string;
基材
doorType
doorType?: string;
门板类型 当板件类型为门板时,需要传此字段
edgeBanding
edgeBanding?: number[];
封边信息,与 Profile 中的每条边一一对应。如果 Profile 为空,则与矩形版 1,2,3,4 四条边一一对应
edges
edges?: IBomPlankEdge[];
板件边信息
类型: IBomPlankEdge[]
finishedHeight
finishedHeight?: number;
成品高度 单位:毫米
finishedProfile
finishedProfile?: IBomProfile;
成品板件轮廓,如果为空,则代表矩形板件
类型: IBomProfile
finishedWidth
finishedWidth?: number;
成品宽度 单位:毫米
fourEdges
fourEdges?: IBomPlankFourEdge[];
板件四个方向边信息
类型: IBomPlankFourEdge[]
fourEdgesBanding
fourEdgesBanding?: [number, number, number, number];
四个方向上的封边值
frontMaterial
frontMaterial?: string;
正面材质
grooves
grooves?: G[];
槽
hinges
hinges?: number[];
铰链位置
holes
holes?: H[];
孔
inners
inners?: IBomProfile[];
成品内轮廓
类型: IBomProfile[]
material
material: string;
材质
openDirection
openDirection?: EOpenDirection;
当为门板时,需要传此字段 开门方向
类型: EOpenDirection
plankType
plankType: EBomPlankType;
板件类型
类型: EBomPlankType
productId
productId?: string;
产品Id,当不传产品ID时,将会从modelId中查询到对应的productId进行补全
stallEdgeIndex
stallEdgeIndex?: number;
靠挡边index(板件方向边所在的index),从 0 到 3
surfaceTechnology
surfaceTechnology?: string;
表面工艺
texture
texture?: string;
警告:此 API 现已过时。
推荐使用
textureDirection字段,后续此字段将会下线
纹理
textureDirection
textureDirection?: ETextureDirection;
纹理方向;枚举值 HORIZONTAL 水平 VERTICAL 垂直 NONE 无
thickness
thickness: number;
厚度 单位:毫米