Itoo Software Forum

RailClone => RailClone Pro (*) => Topic started by: RC2292 on April 09, 2021, 04:59:30 PM

Title: Arithmetic to spread gometry evenly & centered across YSplineLength
Post by: RC2292 on April 09, 2021, 04:59:30 PM
Hi,

Can't see the wood for the trees on this one.

Based on the window generator I'm using X Evenly Distance to place the vertical glazing bars.
I would like to do the same for the Horizontal bars but as the Y Evenly Distance can't be used and therefore I cant also use the adjust to end % the bars are aligned to the bottom.

I've tried but getting into tangles over it.
I had a go at creating a workaround by using an Arithmetic node which divides the YSplineLength by the Height parameter then rounds the result to give me an even count to use to divide the YSplineLength and give me a new accurate height that (I hoped) fits perfectly along the YSplineLength with no truncated sections at the top.
Can anyone shed any light to where I might be going wrong? Is it a Arithmetic or logic issue? Equally I may have gone down a rabbit hole and there's a very simple way to resolve this by other means.


Thanks in advance.


Title: Re: Arithmetic to spread gometry evenly & centered across YSplineLength
Post by: Dragan on April 09, 2021, 11:49:52 PM
Hi
I`m not sure but I think this should be ok.

Title: Re: Arithmetic to spread gometry evenly & centered across YSplineLength
Post by: RC2292 on April 10, 2021, 12:13:53 AM
Oh Wow! That is good Dragan
Thank you