I create a wire from (0,0,0) to (50,0,0) then set its position to (20,20,20), then I extrude a face from the wire using Body.Extrude(Wire, Vector3, Wire, SweepOptions).
I then add the face to a new part located at 0,0,0 and add the part to station.GraphicComponents.
The face is then displayed as expected, adjoining the wire.
I repeat the exercise, but extrude two faces from the wire in opposite directions by using different vectors.
I then join the two faces using the Body.Join(Body) method to create a new face.
I add the new face to a new part located at 0,0,0 and add the part to station.GraphicComponents as before.
The new face is not displayed adjacent to the wire, but translated from it by the same amount that the wire was moved from its original position.
I would have expected the joined face to have its origin at 0,0,0 so that when added to the part located at 0,0,0 it would be displayed adjacent to the wire.
What have I not understood about the origin used by the Body.Join(Body) method, and what must I do to get the joined face displayed at the same location as the wire?
Thanks,
Kevin