Hi Finema, oops I didn't notice that part. So yes in that case it won't work to set up a single rail with a sharp corner in it as in the original, it would need to be done in 2 pieces as you showed. To try for no slanting you'd need to position the end shape to be perpendicular to the curve's end tangent and extend the curve by a straight line, then sweep along those and intersect them with a cutting plane.
@Rudy, a little more precise explanation for your original result, it's due to the pivoting at sharp corners that happens as part of the mitering process.
Here's a visual explanation - here is a circle being swept along a rail with a sharp corner in it:
It starts by building this piece here:
Then for the next piece, it's going to take the ending shape and rotate it by the difference between the rail segment's end tangents like this:
Then it will build this next piece like so:
Then to form the mitered corner, the pieces are extended and then trimmed to produce this result:
So your odd initial shape comes from the rotation step shown here. With your setup you wouldn't want any rotation to happen, however MoI's sweep does not have any concept of this type of setup with no rotation being desired at a sharp corner. Your profile there is going to be taken as belonging to either the side before or after the sharp corner and then rotated.
- Michael
|