Thanks for the clarification.
Unfortunately with irregular shaped items, the pitched capping is quite difficult to make work with RailClone's approach to array based modelling. You can see an attempt to solve it in the attached file, although I have also used our free Spline Offset plugin to first parametrically offset the spline inwards.
Here are a couple of other notes.
- Appy Spline Offset to the Spline, decrease the Distance to offset the spline. Change Material ID to Fixed and give it a value of 2
- In RailClone use an L1S array to add the pitched part of the roof. Make sure you use Limits > Material ID to only use the inset spline
- The Roof segment has it's Y Alignment set to pivot.
- To cap the roof, use an A2S array, also limited to Mat ID2. Wire the spline to the Clipping Area input and use Extend X/Y Size to area.
If however the areas are rectangular, then it's a lot easier. You can simply scale the segments to fill the array using the Scale to Array macro (also in attached file).
I hope it helps, please let me know if you have any further questions about this setup.
Paul