Itoo Software Forum

RailClone => RailClone Pro (*) => Topic started by: FE2763 on June 24, 2025, 02:26:48 pm

Title: Gradually bend an array of bars along a path
Post by: FE2763 on June 24, 2025, 02:26:48 pm
hello there, i need help :(

in the image you see two arrays of bars; one arc is composed by straight bars and the other by bending bars;

i need just one arc (path) which starts with straight bars, and gradually those bars bend in the middle (upper part) ;

do you have an hint or a tip to achieve that ?

thanks!

 
Title: Re: Gradually bend an array of bars along a path
Post by: Michal Karmazín on June 24, 2025, 04:10:32 pm
Hi,

You can control the Z Fixed Scale value of the used Segment - and consequently its bending - by referencing the XSplineCoords.z attribute. Please find attached a sample scene (250624_RCXSplineCoordsSampleScene_ITOOSOFT.max). I hope this helps.

Best regards,
Title: Re: Gradually bend an array of bars along a path
Post by: FE2763 on June 24, 2025, 08:12:24 pm
thank you for your time; the problem is that when i try to put my path and my spline, it doesn't work at all as intended in your file :( i attach you my issue, if ever you would give it a shot ;

Title: Re: Gradually bend an array of bars along a path
Post by: Michal Karmazín on June 25, 2025, 10:14:50 am
That's caused by differences in alignment and axis orientation among the used objects. I have adjusted the style to suit your scene. Please find attached a revised version of your scene (250625_railcloneProblemGradualArray_ITOOSOFT.max). I hope this resolves the problem.

Best regards,
Title: Re: Gradually bend an array of bars along a path
Post by: FE2763 on June 26, 2025, 09:31:04 am
oh man thank you very much for your time; it actually worked;

by the way, i am impressed by the level of complexity that Railclone could achieve (with expressions, math and so on); i wonder how you could leartn those skills; are the youtube tutorials by ITOOSOFT enough ?
Title: Re: Gradually bend an array of bars along a path
Post by: Michal Karmazín on June 26, 2025, 12:22:43 pm
You're welcome. We recognize that RailClone has a significantly steeper learning curve compared to ForestPack. To help users become familiar with RailClone, we’ve prepared an ongoing series of tutorials (https://www.itoosoft.com/tutorials) and comprehensive documentation (https://docs.itoosoft.com/railclone). We recommend starting with the Getting Started with RailClone (https://docs.itoosoft.com/railclone/getting-started-with-railclone) guide, followed by Next Steps with RailClone (https://docs.itoosoft.com/railclone/next-steps-with-railclone) for a more in-depth understanding.

Best regards,