Itoo Software Forum

RailClone => RailClone Pro (*) => Topic started by: MN4869 on November 04, 2015, 06:11:47 AM

Title: Gradually increase scale of object per Y counter?
Post by: MN4869 on November 04, 2015, 06:11:47 AM
I'd like to create a cladding system using the Array 2S. The source geo will be a simple plane or a box.

Cladding sheets are stacked, but the sheets get progressively wider as they are high up the facade.

Is there a way to do this? Ideally the size increase won't be linear - so throwing some kind of curve into the mix would be awesome.
Title: Re: Gradually increase scale of object per Y counter?
Post by: Paul Roberts on November 04, 2015, 11:05:14 AM
Hi,

You should be able to achieve this using a custom expression in the Arithmetic Operator. In the attached file you set a minimum and maximum scale size from the parameters rollout and the segment will scale between them as it increases on the Y axis. To achieve this the following graph is used.

(http://i.imgur.com/FdwBYhB.png)
 This graph works as follows:

(http://i.imgur.com/PjdJQyk.png)

I've attached a sample file of this setup for you to take a look at. Please let me know if you have any further questions.

Many thanks!

Paul
Title: Re: Gradually increase scale of object per Y counter?
Post by: MN4869 on November 04, 2015, 11:16:31 AM
Hi

I found a solution but yours is way more elegant. Thanks very much!
Title: Re: Gradually increase scale of object per Y counter?
Post by: MN4869 on November 08, 2015, 08:46:49 AM
Are there any good tutorials for familiarizing myself with using expressions in RC? I can follow through what you've done but still not sure how to adapt this to gain more control. For example if I wanted to specify the heights of each y counter row specifically?

This is an eye opener. Thanks again.

Edit - I attached a screenshot - am I doing something wrong?

I would expect that the resulting RC objects would scale from 1mm on the LHS of the x spline, up to 1000mm at the end of the X spline as the multiplier is between 0 and 1 for the x spline.
Title: Re: Gradually increase scale of object per Y counter?
Post by: MN4869 on November 08, 2015, 09:32:57 AM
Changed my numeric node to scene units and that fixed the problem.