Itoo Software Forum

Author Topic: Array 2S1 floor height problem.  (Read 470 times)

Joker1979

  • Jr. Member
  • **
  • Posts: 60
Array 2S1 floor height problem.
« on: July 01, 2022, 10:14:05 AM »
I don't know what I'm doing wrong, I want my building to have a different floor height, but I don't know why, after adding variations, their height does not agree with the one it should be, when I do not make the variation, I can add floors and they are of the right height, while after the variation their height does not match the object. I sent the file so that it could be done properly because I have no idea where my problem is

Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2991
Re: Array 2S1 floor height problem.
« Reply #1 on: July 01, 2022, 10:58:56 AM »
Hi,

The issue was in the final randomise operator wired to the Y Size input. It would appear you were trying to use it to select between two inputs, but in actual fact it will always return a value from a range between those Min and Max values.

I've changed your graph so that you don't need this "switch". Now the Variation parameter is wired to a Random number node's Min input via a negate value macro and straight into its Max input. You can then add this to the Stories Base value before multiplying it by the segment's Y Size.

I hope that helps, file is attached for reference.

Best,
Paul.
« Last Edit: July 01, 2022, 11:01:53 AM by Paul Roberts »
Paul Roberts
iToo Software

Joker1979

  • Jr. Member
  • **
  • Posts: 60
Re: Array 2S1 floor height problem.
« Reply #2 on: July 01, 2022, 11:09:02 AM »
Thanks again :) Have a nice day.

Joker1979

  • Jr. Member
  • **
  • Posts: 60
Re: Array 2S1 floor height problem.
« Reply #3 on: July 01, 2022, 01:42:42 PM »
I have one more problem, it seemed that the problem is solved, but I have another one is that the stairs do not synchronize with the floors, but only with randomization. I did the balconies evently with the second generator.
« Last Edit: July 01, 2022, 01:52:26 PM by Joker1979 »

Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2991
Re: Array 2S1 floor height problem.
« Reply #4 on: July 01, 2022, 02:14:32 PM »
Please try enabling Synchronise between Generators in the random number nodes that are used to calculate the height. As long as they both use the same type of Generator (A2S I assume) then that should work.



Paul
Paul Roberts
iToo Software

Joker1979

  • Jr. Member
  • **
  • Posts: 60
Re: Array 2S1 floor height problem.
« Reply #5 on: July 01, 2022, 04:07:23 PM »
This was so simple  :) just like that :)Thanks again :)