|
|
|
@ -3,6 +3,7 @@ import Flatbush from 'flatbush';
|
|
|
|
|
import { Box3, BoxGeometry, BufferGeometry, ExtrudeGeometry, ExtrudeGeometryOptions, Float32BufferAttribute, Geometry, InstancedInterleavedBuffer, InterleavedBufferAttribute, Line as TLine, LineSegments, Matrix3, Matrix4, Mesh, Object3D, UVGenerator, Vector3 } from "three";
|
|
|
|
|
import { Line2 } from "three/examples/jsm/lines/Line2";
|
|
|
|
|
import { LineGeometry } from "three/examples/jsm/lines/LineGeometry";
|
|
|
|
|
import { HostApplicationServices } from '../../ApplicationServices/HostApplicationServices';
|
|
|
|
|
import { arrayClone, arrayLast, arrayPushArray, arrayRemoveIf, arrayRemoveOnce, arraySortByNumber, arraySum } from "../../Common/ArrayExt";
|
|
|
|
|
import { ColorMaterial } from "../../Common/ColorPalette";
|
|
|
|
|
import { CSGIntersect } from '../../Common/CSGIntersect';
|
|
|
|
@ -1620,7 +1621,7 @@ export class ExtrudeSolid extends Entity
|
|
|
|
|
{
|
|
|
|
|
return new Object3D().add(
|
|
|
|
|
new Mesh(this.MeshGeometry, ColorMaterial.GetConceptualMaterial(this.ColorIndex)),
|
|
|
|
|
new LineSegments(this.EdgeGeometry, ColorMaterial.GetLineMaterial(7))
|
|
|
|
|
new LineSegments(this.EdgeGeometry, ColorMaterial.GetLineMaterial(HostApplicationServices.ConceptualEdgeColor))
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
else if (renderType === RenderType.Physical)
|
|
|
|
@ -1657,7 +1658,7 @@ export class ExtrudeSolid extends Entity
|
|
|
|
|
|
|
|
|
|
return new Object3D().add(
|
|
|
|
|
mesh,
|
|
|
|
|
new LineSegments(this.EdgeGeometry, ColorMaterial.GetLineMaterial(7))
|
|
|
|
|
new LineSegments(this.EdgeGeometry, ColorMaterial.GetLineMaterial(HostApplicationServices.Physical2EdgeColor))
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
@ -2011,7 +2012,7 @@ export class ExtrudeSolid extends Entity
|
|
|
|
|
{
|
|
|
|
|
return obj.add(
|
|
|
|
|
new Mesh(this.MeshGeometry, ColorMaterial.GetConceptualMaterial(this.ColorIndex)),
|
|
|
|
|
new LineSegments(this.EdgeGeometry, ColorMaterial.GetLineMaterial(7))
|
|
|
|
|
new LineSegments(this.EdgeGeometry, ColorMaterial.GetLineMaterial(HostApplicationServices.ConceptualEdgeColor))
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
else if (renderType === RenderType.Physical)
|
|
|
|
@ -2043,7 +2044,7 @@ export class ExtrudeSolid extends Entity
|
|
|
|
|
|
|
|
|
|
return obj.add(
|
|
|
|
|
mesh,
|
|
|
|
|
new LineSegments(this.EdgeGeometry, ColorMaterial.GetLineMaterial(7))
|
|
|
|
|
new LineSegments(this.EdgeGeometry, ColorMaterial.GetLineMaterial(HostApplicationServices.Physical2EdgeColor))
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|