Itoo Software Forum

RailClone => RailClone Pro (*) => Topic started by: M55 on March 19, 2018, 02:13:51 PM

Title: vertical panels with decreasing distance
Post by: M55 on March 19, 2018, 02:13:51 PM
i want to create vertical panels with decreasing/encreasing distance as in my example screen.

i have done the macro tutorial with encreasing rotation but can´t figure out how to adapt the process for decreasing distance

input value for the first distance and the decrease (linear or better logarithmic) should be possible




Title: Re: vertical panels with decreasing distance
Post by: Michal Karmazín on March 20, 2018, 11:15:00 AM
Hi,

You might find interesting this related thread (https://forum.itoosoft.com/railclone-pro-(*)/change-scale-and-distance-over-spline/).

One of the possible ways would be to define the X Size of an empty Segment (linked to the Sequence Operator) by the Arithmetic Operator – in a similar way you may drive the Left / Right Padding value(s). In case of using two Parameters (like Start Distance, End Distance as in the attached sample scene), the expression should be following:

return Input1 – (XsectionPosition*Input2);

Please feel free to use the bundled macro “Increment by X Position”.

In case, you’re interested in controlling the Z Size (or Z Scale), you can use the same principles to drive the Transform Operator. Hope that helps.

Best regards,
Title: Re: vertical panels with decreasing distance
Post by: M55 on March 20, 2018, 11:30:53 AM
Hi Michal,

thanks for the demo scene and the link to the cards thread. i will have a look at both and try to learn and learn and learn .... and some day ...

Klaus