Itoo Software Forum

Author Topic: Y_Evenly problem  (Read 149 times)

Sergey_Dobrij

  • Full Member
  • ***
  • Posts: 105
Y_Evenly problem
« on: January 14, 2022, 12:10:46 PM »
Hey! Tell me what I'm doing wrong. Why do I have to provide the x-dimension for everything to work?
And yet I ran into a problem. In the second array, X_Corner doesn't work until I do Y_Evenly
Thanks!

Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2179
Re: Y_Evenly problem
« Reply #1 on: January 14, 2022, 12:14:33 PM »
Hi, This is because you have an empty segment node that has no X Size. If you tried to distribute a zero-sized segment as a Y Evenly segment it would cause an infinite loop that freezes the program. To prevent this, RailClone will simply stop the array building when it detects this issue instead. Overriding a segment with an X Size as you have done is a way of working around that.

I hope the makes sense,
Paul
Paul Roberts
iToo Software

Sergey_Dobrij

  • Full Member
  • ***
  • Posts: 105
Re: Y_Evenly problem
« Reply #2 on: January 14, 2022, 12:17:18 PM »
Hi, This is because you have an empty segment node that has no X Size. If you tried to distribute a zero-sized segment as a Y Evenly segment it would cause an infinite loop that freezes the program. To prevent this, RailClone will simply stop the array building when it detects this issue instead. Overriding a segment with an X Size as you have done is a way of working around that.

I hope the makes sense,
Paul
Thank you!

Sergey_Dobrij

  • Full Member
  • ***
  • Posts: 105
Re: Y_Evenly problem
« Reply #3 on: January 14, 2022, 12:38:22 PM »
Tell me, did I correctly distribute the creation of the array?

Sergey_Dobrij

  • Full Member
  • ***
  • Posts: 105
Re: Y_Evenly problem
« Reply #4 on: January 14, 2022, 02:29:09 PM »
Friends, who is not difficult, please check my scene for errors. I will be very grateful!
And please tell me. If in all segments I set the alignment to Pivot, then which segment do I need to navigate in order to set it up correctly? How do I understand from Default?

Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2179
Re: Y_Evenly problem
« Reply #5 on: January 14, 2022, 02:53:30 PM »
Hi!

Thanks for the file. I'd be tempted to use sequence operators instead for something like this. You might find it a little easier to set up. Please see the attached for an example.

For more information about what the Default pivot modes mean, please see this page in our documentation: https://docs.itoosoft.com/railclone/style-editor/segments#Segments-alignmentAlignment

I hope that helps,
Paul
Paul Roberts
iToo Software

Sergey_Dobrij

  • Full Member
  • ***
  • Posts: 105
Re: Y_Evenly problem
« Reply #6 on: January 14, 2022, 02:57:44 PM »
Hi!

Thanks for the file. I'd be tempted to use sequence operators instead for something like this. You might find it a little easier to set up. Please see the attached for an example.

For more information about what the Default pivot modes mean, please see this page in our documentation: https://docs.itoosoft.com/railclone/style-editor/segments#Segments-alignmentAlignment

I hope that helps,
Paul

Thank you very much!

Sergey_Dobrij

  • Full Member
  • ***
  • Posts: 105
Re: Y_Evenly problem
« Reply #7 on: January 14, 2022, 03:05:03 PM »
Hi!

Thanks for the file. I'd be tempted to use sequence operators instead for something like this. You might find it a little easier to set up. Please see the attached for an example.

For more information about what the Default pivot modes mean, please see this page in our documentation: https://docs.itoosoft.com/railclone/style-editor/segments#Segments-alignmentAlignment

I hope that helps,
Paul
And much more control. Thanks again!

Sergey_Dobrij

  • Full Member
  • ***
  • Posts: 105
Re: Y_Evenly problem
« Reply #8 on: January 14, 2022, 04:22:39 PM »
Slightly modified the style. Might be useful to someone. Apply the scene