Itoo Software Forum

Author Topic: Arithmetic to spread gometry evenly & centered across YSplineLength  (Read 194 times)

RC2292

  • Newbie
  • *
  • Posts: 49
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.



Dragan

  • Hero Member
  • *****
  • Posts: 794
Re: Arithmetic to spread gometry evenly & centered across YSplineLength
« Reply #1 on: April 09, 2021, 11:49:52 PM »
Hi
I`m not sure but I think this should be ok.


RC2292

  • Newbie
  • *
  • Posts: 49
Re: Arithmetic to spread gometry evenly & centered across YSplineLength
« Reply #2 on: April 10, 2021, 12:13:53 AM »
Oh Wow! That is good Dragan
Thank you