-
Notifications
You must be signed in to change notification settings - Fork 38
Open
Description
Hi there
If you create a pipe segment with an outwards-facing bent/elbow, the two segments do not interface correctly.
I used this code:
//Define a few control points in space via their x-y-z coordinates.
List aControlPoints = new List() {
new Vector3(0, 0, 0),
new Vector3(0, 80, 0),
new Vector3(0, 120, 50),
};
//create frame
Frames aFrames = new Frames(aControlPoints, Vector3.UnitY);
//define pipe segment
BasePipeSegment oShape = new BasePipeSegment(aFrames, 10, 12,
new LineModulation(MathF.PI),
new LineModulation(0.5f * MathF.PI),
BasePipeSegment.EMethod.MID_RANGE);
Voxels oVoxels = oShape.voxConstruct();
Sh.PreviewVoxels(oVoxels, Cp.clrGray);
Any advice?
Thanks.
Stefan
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels