Itoo Software Forum

Author Topic: Gradually bend an array of bars along a path  (Read 832 times)

FE2763

  • Newbie
  • *
  • Posts: 7
Gradually bend an array of bars along a path
« 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!

 

Michal Karmazín

  • iToo Software
  • Hero Member
  • *****
  • Posts: 3023
Re: Gradually bend an array of bars along a path
« Reply #1 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,

FE2763

  • Newbie
  • *
  • Posts: 7
Re: Gradually bend an array of bars along a path
« Reply #2 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 ;


Michal Karmazín

  • iToo Software
  • Hero Member
  • *****
  • Posts: 3023
Re: Gradually bend an array of bars along a path
« Reply #3 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,

FE2763

  • Newbie
  • *
  • Posts: 7
Re: Gradually bend an array of bars along a path
« Reply #4 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 ?

Michal Karmazín

  • iToo Software
  • Hero Member
  • *****
  • Posts: 3023
Re: Gradually bend an array of bars along a path
« Reply #5 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 and comprehensive documentation. We recommend starting with the Getting Started with RailClone guide, followed by Next Steps with RailClone for a more in-depth understanding.

Best regards,