Itoo Software Forum

Author Topic: Help needed with slicing in 2D Array Clipping  (Read 2572 times)

Mustafa

  • Newbie
  • *
  • Posts: 34
Help needed with slicing in 2D Array Clipping
« on: March 05, 2015, 03:29:24 PM »
Is that possible?
(I attached my attempt)

Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2991
Re: Help needed with slicing in 2D Array Clipping
« Reply #1 on: March 05, 2015, 05:03:05 PM »
Hi Mustafa,

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 to Remove. 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.

Kind regards,

Paul
« Last Edit: March 05, 2015, 05:34:20 PM by Paul Roberts »
Paul Roberts
iToo Software

Mustafa

  • Newbie
  • *
  • Posts: 34
Re: Help needed with slicing in 2D Array Clipping
« Reply #2 on: March 05, 2015, 07:11:25 PM »
Thank you Paul :) .. very helpful