!2854 优化:同侧面排钻时,厚度小的那块板当做打孔板

op_drill_side_normalGroup
林三 3 months ago committed by ChenX
parent 51399b70d0
commit 1f2546fd6c

@ -85,6 +85,10 @@ export class Face
//获得侧面和非侧面
let [sideFace, noSideFace] = this.type === BoardFaceType.Side ? [this, f] : [f, this];
//同侧面排钻时 厚度小的那块当做第一块
if (sideFace.type === noSideFace.type)
[sideFace, noSideFace] = this.Width > f.Width ? [f, this] : [this, f];
//布尔面和被布尔面得差异矩阵
let diffMtx = sideFace.OCSInv.multiply(noSideFace.OCS);
MatrixPlanarizere(diffMtx);

@ -375,7 +375,7 @@ export class DrillModal extends React.Component<{ store?: DrillStore; }, {}> {
<h5 className={Classes.HEADING}></h5>
<div className="small-input flexWrap flex-col">
<div className="br-set">
<span></span>
<span style={{ width: 85 }}></span>
<ToasterInput
type={CheckObjectType.DR}
optKey="notGangDist"

Loading…
Cancel
Save