功能:拉伸实体使用板的uv生成器

pull/2782/MERGE
ChenX 4 months ago
parent 423bbb9f44
commit 6cab8fd10e

@ -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);

Loading…
Cancel
Save