Thanks for posting this question. Unfortunately it's not possible to use adaptive mode for this style for a couple of reasons. Firstly Adaptive mode only works effectively when all the segments are the same length on the X axis. If they are randomised with different lengths it's not possible to determine the individual scale values that would be required to make all the pieces fit correctly, and you may find that segments overshoot. Secondly, internally clipping is always carried out as a final step, after the graph has been evaluated. This means there's not a way for railclone to detect the length that would be required to use adaptive mode.
However the good news is that your second option, to remove sliced segments, is possible. To do this select the shade segment and turn off Properties > Deform > Slice
Then, select the generator and change Properties > Clipping Area > For No-Slice
. Now any segments that are sliced by the clipping plane will be completely removed.
Your original style used a nested RailClone object which meant that each row was treated as a single segment and the whole thing removed if it was sliced. In the attached file I've combined the two styles. TO do this I've had to change the axis the array used. The ribs now run along the X axis with alternating spaces and shades incrementing on the Y axis. The image below shows how this array is oriented in relation to the ceiling.
I've added few notes to the style to help to explain what each node is doing. I hope that helps, please let me know if there's anything further I can help with.