Itoo Software Forum

RailClone => RailClone Pro (*) => Topic started by: Sergey_Dobrij on January 14, 2022, 12:10:46 PM

Title: Y_Evenly problem
Post by: Sergey_Dobrij 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!
Title: Re: Y_Evenly problem
Post by: Paul Roberts 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
Title: Re: Y_Evenly problem
Post by: Sergey_Dobrij 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!
Title: Re: Y_Evenly problem
Post by: Sergey_Dobrij on January 14, 2022, 12:38:22 PM
Tell me, did I correctly distribute the creation of the array?
Title: Re: Y_Evenly problem
Post by: Sergey_Dobrij 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?
Title: Re: Y_Evenly problem
Post by: Paul Roberts 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 (https://docs.itoosoft.com/railclone/style-editor/segments#Segments-alignmentAlignment)

I hope that helps,
Paul
Title: Re: Y_Evenly problem
Post by: Sergey_Dobrij 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 (https://docs.itoosoft.com/railclone/style-editor/segments#Segments-alignmentAlignment)

I hope that helps,
Paul

Thank you very much!
Title: Re: Y_Evenly problem
Post by: Sergey_Dobrij 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 (https://docs.itoosoft.com/railclone/style-editor/segments#Segments-alignmentAlignment)

I hope that helps,
Paul
And much more control. Thanks again!
Title: Re: Y_Evenly problem
Post by: Sergey_Dobrij on January 14, 2022, 04:22:39 PM
Slightly modified the style. Might be useful to someone. Apply the scene