Itoo Software Forum

RailClone => RailClone Pro (*) => Topic started by: NP2889 on March 15, 2017, 12:46:46 PM

Title: How to make a growing distance for evenly distributed elements on a spline ?
Post by: NP2889 on March 15, 2017, 12:46:46 PM
Hello everyone.

Is it possible to distribute for example collums on a spline, the way that they distance of them grows over time to a certain amount and after this goes back ? If so, how can i regulate it maybe linear growing or rather exponential ?  differing solutions ?

image attatched... 

thanks
Title: Re: How to make a growing distance for evenly distributed elements on a spline ?
Post by: Michal KarmazĂ­n on March 15, 2017, 04:09:30 PM
Hi,

There are multiple possible approaches - a possible way would be to control the spacing by using an "empty" Segment which X Size is calculated by the Arithmetic Operator (http://docs.itoosoft.com/display/RAILCLONE/Operators#Operators-Arithmetic) (for example by a simplified Triangle wave (https://en.wikipedia.org/wiki/Triangle_wave) which uses the modulo operation and absolute value - please feel free to use any expression wanted) placed for Multiple of 2 Segments on X Counter Conditional Operator (http://docs.itoosoft.com/display/RAILCLONE/Operators#Operators-Conditional) rule. Hope you'll find it useful.

Best regadrs,
Title: Re: How to make a growing distance for evenly distributed elements on a spline ?
Post by: NP2889 on March 15, 2017, 05:45:57 PM
Thank you,  i allready found another thread with a comparable solution. But your example of the expressioncontroler shows us...   we have to dive deeper into this..

thanks