修改自定义编号
This commit is contained in:
parent
e70354267b
commit
66dbe5869e
@ -1,5 +1,5 @@
|
||||
import { CylinderGeometry, LineSegments, Matrix4, Mesh, MeshBasicMaterial, Vector2, Vector3 } from "three";
|
||||
import { DbText, ExtrudeSolid, Polyline, TextAligen, boardUVGenerator2 } from "webcad_ue4_api";
|
||||
import { DbText, ExtrudeSolid, Polyline, RenderType, TextAligen, boardUVGenerator2 } from "webcad_ue4_api";
|
||||
import { ColorMaterial } from "./ColorPalette";
|
||||
import { edgeMaterial } from "./Material";
|
||||
|
||||
@ -158,7 +158,12 @@ export class SimpleBoard
|
||||
|
||||
// 自定义编号
|
||||
this.createCustomNo();
|
||||
mesh.add(this._CustomNumberTextEntity);
|
||||
let o = this._CustomNumberTextEntity.GetDrawObjectFromRenderType(RenderType.Conceptual);
|
||||
if (o)
|
||||
{
|
||||
mesh.add(o);
|
||||
}
|
||||
|
||||
|
||||
return { mesh, edges };
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user