|
|
|
@ -6,6 +6,7 @@ import { ColorMaterial } from "../../Common/ColorPalette";
|
|
|
|
|
import { DisposeThreeObj, Object3DRemoveAll } from "../../Common/Dispose";
|
|
|
|
|
import { Vector2ApplyMatrix4 } from "../../Common/Matrix4Utils";
|
|
|
|
|
import { ObjectSnapMode } from "../../Editor/ObjectSnapMode";
|
|
|
|
|
import { boardUVGenerator } from "../../Geometry/BoardUVGenerator";
|
|
|
|
|
import { Box3Ext } from "../../Geometry/Box";
|
|
|
|
|
import { FastWireframe2 } from "../../Geometry/CreateWireframe";
|
|
|
|
|
import { AsVector3, ZeroVec, equaln, equalv2, equalv3 } from "../../Geometry/GeUtils";
|
|
|
|
@ -200,6 +201,7 @@ export class ExtrudeHole extends Hole
|
|
|
|
|
steps: 1,
|
|
|
|
|
bevelEnabled: false,
|
|
|
|
|
depth: this.Height,
|
|
|
|
|
UVGenerator: boardUVGenerator,
|
|
|
|
|
};
|
|
|
|
|
let geo = new ExtrudeGeometry(this.ContourCurve.Shape, extrudeSettings);
|
|
|
|
|
geo.applyMatrix4(this._contourCurve.OCSNoClone);
|
|
|
|
|