I need to create a handrail (rectangular steel section) for a curving staircase.
I have manually created lines along the edge of the stairway, offset them inwards and raised them to the right hight.
However the sweep1 command does not perform well.
If using Sweep1 then make sure to select the Roadlike option from the dialog box, otherwise the rail will twist. Also, make sure to blend the guide curve between the horizontal and rising sections (can’t see from your image whether you’ve done this) so the rail is comfortable to run your hand along and that will help Sweep1 play nicely.
Nice alternative @encephalon. Just one thing to bear in mind with Slab: it maintains the same vertical dimension regardless of the angle of incline, so the thickness will vary along the length, whereas Sweep maintains the cross-section perpendicular to the rail. The choice will have implications for fabrication.
well it does not seem to be an easy task. sweep1 does indeed not produce anything usable in a similar set up. can you post your curves that somebody can use your example to come up with something?
slab actually produces a good result but only if you use continuous curves without kinks, and in your example there are some so this will fail.
Thanks.
Unfortunately, the blend curve function has to be eyeballed, and therefore hard to control the radius.
If I don’t do the blend curve get a failed joint in the bend. which also won’t trim afterward.
That will allow Sweep1 to produce a clean surface and will produce a nicer handrail to use (but you could spend some time trying different size spheres to optimise this):
if you are allowed to make smoother transitions then you can rewire that kinky curve. in such messy situations i sometimes use divide, in this case i used 155 and used the resulting points for CurveThroughPt set to Control Point. using slab should then work well.
i did not respect the initial profile just a quick test, but that should work fast and sufficient.