Itoo Software Forum

Author Topic: Vertical Array w/ Clipping Area for Floor Slabs  (Read 1811 times)

IJ2087

  • Jr. Member
  • **
  • Posts: 77
Vertical Array w/ Clipping Area for Floor Slabs
« on: November 02, 2016, 05:44:58 PM »
Is there a way to create a vertical array of floor slabs with RailClone while using a spline for a clipping area for all floors?  I am basically trying to use a spline in plan to create a series of evenly spaced floor slabs with the same shape as the spline.

Can an expression accomplish this array? I want to vary the number of floors based on a height variable.
« Last Edit: November 02, 2016, 08:26:21 PM by IJ2087 »

Michal Karmazín

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2447
Re: Vertical Array w/ Clipping Area for Floor Slabs
« Reply #1 on: November 03, 2016, 10:20:56 AM »
Hi,

The recommendable work-flow in this case would be to copy the spline for each floor and attach those together, but you can also take advantage of nested styles and make just the first floor within the Array 2S Generator in the Extend X/Y Size to Area mode and use that in another RC object (this time with a Linear 1S Generator - driven by a spline or the X Size value), where the spacing can be ajusted with the Left Padding value.

Attaching a sample scene, hope you'll find it useful.

Best regards,

IJ2087

  • Jr. Member
  • **
  • Posts: 77
Re: Vertical Array w/ Clipping Area for Floor Slabs
« Reply #2 on: November 04, 2016, 12:58:33 AM »
Thanks for the solutions. I guess for me, the easiest way will be the nested RC with the X height value. I REALLY wish that RC arrays had an output that we could plug into another array as a segment. I was hoping to do this all in one RC similar to what I could do in Rhino and Grasshopper. ;-)

Michal Karmazín

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2447
Re: Vertical Array w/ Clipping Area for Floor Slabs
« Reply #3 on: November 04, 2016, 10:33:36 AM »
Hi,

Glad to hear that it helped a bit.
Quote
"I REALLY wish that RC arrays had an output that we could plug into another array as a segment."
We really would like to incorporate such feature - an Output for Generators (which can be treated as a Segment), but unfortunately there are several limitations due to the instancing power of RailClone. That doesn't mean, we discard this idea for future versions, if we find a feasible way to implement it. Unfortunately, it doesn't look like as something that can be implemented in a short time period. Thanks for your comprehension.

Please feel free to check following post "RailClone vs Max Creation Graphs", which is in a certain way applicable to "RailClone vs Grasshopper" comparison. Hope you'll find it interesting.

Best regards,

SJB

  • Newbie
  • *
  • Posts: 9
Re: Vertical Array w/ Clipping Area for Floor Slabs
« Reply #4 on: October 24, 2022, 01:26:36 AM »
In this solution you have a 2s generator make the slab then a 1s generator clone it up. But the 1s generator is in a separate RC object and you manually have to rotate the object in the scene to make it vertical.

Is there any way to have both generators inside one RC object and get the same result?

Michal Karmazín

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2447
Re: Vertical Array w/ Clipping Area for Floor Slabs
« Reply #5 on: October 24, 2022, 09:11:59 AM »
Hi,

Sure, since the RC4, using “nested Generators” would be the commendable way.

Best regards,