Hi Simon, it looks like a bug but it's probably a difficult case to fix.
When you have sharp corners in the path curve it means that the sweep is done making an initial base section along each segment and then the those sections are extended and intersected with each other to make mitered corners.
This works well when the profile curve is the same shape throughout the path. But when you use "pointy end" that puts another profile at the end of the curve and the sweep's profile shape will morph between those as it travels along the sweep.
But now with the shape being tapered along each base section, when they are extended they don't necessarily intersect with each other cleanly.
The weird results you see are coming from the extended areas.
Or to show it visually, it's like this - a weird result like this:
Starts initially with these base sections which are then extended:
It's kind of hard to figure out what to do in this kind of case. It's sort of a "don't do that" situation.
Probably the main alternate way would be for it to generate some slanted profiles at the sharp corners and then do the sweep between those slanted profiles and not do any extensions. The problem with this is that there will be a kind of shearing in the surface generated. The extension method makes for an accurate proper tube base surface.
For now I'd recommend using 2 rail sweep for making a shape like this instead of 1 rail sweep (turn off "Maintain height" option):
Or you can use Loft with "Loft style = Straight" with a point object as the end profile:
- Michael
|