Thanks for your question. Please see the attached file for an example of how this could be achieved.
The way I've tackled this is to break the stairs down into two generators: One for the stairs themselves and another for the landing. These are limited to the appropriate sections of the spline using the Limit by Material ID option:
With this style, to create a landing use a material ID of 2, and for the staircases use an ID of 1.
The generator for the stairs uses the same technique as the stairs
tutorial. For the landing though I have created some new segments to fill in the corners. These are then used in the second generator. The segments have been modelled to ensure they are the same width as the stairs, (though if you wanted to make a more complex style this could be done parametrically).
The segments are aligned so that the start/end segments are on the outside
of the landing spline, therefore filling in the corners:
To ensure that the start and end segments are correctly positioned in relation to the ends of the splines, adjust their alignment properties as follows.
You will now have a working staircase. If you adjust the width of the stair treads you just need to remember to also change the landing segments.
The Handrail is also mostly the same as the stairs tutorial. The only change is to add a corner segment to the generator. For this example I've added a pre-formed 90 degree bend in the handrail. For this to align correctly you would need to make the following adjustments:
- Turn Off Bend and Slice for the Corner Segment
- In generator Rules > Corner, turn Off Align to Path
- Set the Mode to adaptive
- Change the Corner segments alignment as follows:
- Enter -0.2m in the corner segment's Right Padding to close up the resultant gap.
If you'd prefer newel posts, you can easily use these in the corner input. They're much easier to align!
The finished style looks like this:
I hope that helps, if there are any other questions you have about this or other issues, please let me know and I'll be happy to help out.
The attached style was created with the RailClone 2.3 Beta. It shouldn't make a difference but if the behaviour is not as expected you may need to update to the most recent version. Update 2
Also attached is a parameterised version of these types of stairs with separate adjustable tread and landing widths. Just made from boxes but it helps get across the idea. This one requires 2.3.