Itoo Software Forum

RailClone => RailClone Pro (*) => Topic started by: arch3d on April 26, 2014, 07:37:01 AM

Title: Changing first and last element scale
Post by: arch3d on April 26, 2014, 07:37:01 AM
Hi all.
I am new user of Rail Clone. First of all I would thank iIToo for such great software. I got ( probably simple:P ) problem.
I got two segments: default (in my case a=50cm) and corner. Every works fine if i use spline e.g 200cm. I would like to create style when first and last segment has different lenght (e.g spline 150cm+corner+100cm+corner+150cm---> so it should be 50cm+100cm+corner+100cm+corner+100cm+50cm).

Thank you for help
Title: Re: Changing first and last element scale
Post by: iToo on April 26, 2014, 09:14:27 AM
Hi, welcome to the forum and thanks for your kind words. :)

Please, would you upload a scene with the segments ? In this way will be easier to modify and upload it.
Thanks.
Title: Re: Changing first and last element scale
Post by: arch3d on April 26, 2014, 09:40:46 AM
Thank you for quick reply.
File is attached.

Thank you
Title: Re: Changing first and last element scale
Post by: iToo on April 26, 2014, 10:25:27 AM
If i understand well, you want to place windows of 100cm while there is available space in the spline, and fit a smaller one at end.

This can be done easily with the "Evenly" rule, because provides specific parameters to get this behaviour. I did it on the following way:

1) To divide the spline in sections of 100 cm. i assigned an empty segment to the Evenly slot. It doesn't add any geometry, but create the divisions. Distance = 100 cm., Adjust to End = 0%, Justify off.
2) Once divided, i created a Segment attaching the two sides of the window, and used it for the Default rule on "Scale" mode. In this way, each window is scaled according the available space. (100+100+... +space to end)

Benefits of this approach are that it works for splines or any length, and you can modify its behaviour with the Evenly parameters.

I hope that helps.
Title: Re: Changing first and last element scale
Post by: arch3d on April 26, 2014, 12:59:36 PM
Thank you!
Empty segment was the key.
But I was also wondering if its possible to do same trick at start of spline (some space at start +100 +100 then corner).
Title: Re: Changing first and last element scale
Post by: iToo on April 27, 2014, 09:12:33 AM
Quote
But I was also wondering if its possible to do same trick at start of spline (some space at start +100 +100 then corner).

No, it's not possible. You would reverse the spline (editing it or in the generator), or altenatively turn on "Justify". That will leave the same space at both sides of the spline.
Title: Re: Changing first and last element scale
Post by: arch3d on April 28, 2014, 07:15:37 PM
Thank you very much for help