diff --git a/src/DatabaseServices/3DSolid/SweepSolid.ts b/src/DatabaseServices/3DSolid/SweepSolid.ts index faba83f9e..831cd6c3c 100644 --- a/src/DatabaseServices/3DSolid/SweepSolid.ts +++ b/src/DatabaseServices/3DSolid/SweepSolid.ts @@ -168,6 +168,10 @@ export class SweepSolid extends Entity let line = new Line2(geometry, ColorMaterial.PrintLineMatrial); return new Object3D().add(line, mesh); } + else if (renderType === RenderType.Jig) + { + return new Object3D().add(this._PathCurve.DrawObject); + } } UpdateDrawObject(renderType: RenderType, obj: Object3D) { @@ -194,6 +198,10 @@ export class SweepSolid extends Entity mesh.geometry = this.MeshGeometry; mesh.material = this.MeshMaterial; } + else if (renderType === RenderType.Jig) + { + obj.add((this._PathCurve.DrawObject)); + } } /**