Itoo Software Forum

RailClone => RailClone Pro (*) => Topic started by: RC2292 on April 10, 2021, 12:09:21 PM

Title: Is there an Auto Align to Spline alternative for 1S Array or expression
Post by: RC2292 on April 10, 2021, 12:09:21 PM
Hopefully a quick answer.
It's been a while so maybe there's a way of doing this now. Couldn't see anything in the forums about it.

Want to align an 1S array based on the spline rather than Generator

Title: Re: Is there an Auto Align to Spline alternative for 1S Array or expression
Post by: Dragan on April 10, 2021, 01:31:23 PM
Hm, not sure I undertand. Can you please elaborate more or share a Max scene?
Title: Re: Is there an Auto Align to Spline alternative for 1S Array or expression
Post by: RC2292 on April 10, 2021, 04:05:35 PM
Hi Dragan, thanks for looking at this and sorry I wasn't very clear.

Attached the file but I'm after a way of offsetting an 1S Generator using the local spline coordinates like you can for a 2S by checking the 'Auto Align to spline'.


Let me know if that makes more sense.
Title: Re: Is there an Auto Align to Spline alternative for 1S Array or expression
Post by: Dragan on April 10, 2021, 05:02:21 PM
Please downgrade the Max file to 2018 (and make that as default when you posting to the forum so more people can open the file)
Title: Re: Is there an Auto Align to Spline alternative for 1S Array or expression
Post by: RC2292 on April 10, 2021, 05:42:07 PM
Just added.
Title: Re: Is there an Auto Align to Spline alternative for 1S Array or expression
Post by: Dragan on April 10, 2021, 06:14:57 PM
If you want to "fit" segments into a rectangle border as A2S you can`t because L1S is basically `follow the path` array so RC does not see this spline as closed when using L1S.
In this particular case, you can select Transform node and set Alignment for Y to Bottom.
Title: Re: Is there an Auto Align to Spline alternative for 1S Array or expression
Post by: RC2292 on April 10, 2021, 06:36:50 PM
Thanks for the prompt reply Dragan.

No sorry, I don't think I'm explaining it very well.

basically want both the 2S and 1S versions to be identical and offset to the local spline Z not the Generator Z.
Just wasn't sure if there was a cheat somehow?
Does this help?

Title: Re: Is there an Auto Align to Spline alternative for 1S Array or expression
Post by: Dragan on April 10, 2021, 06:59:08 PM
I got you now  :D
Orientation of the RC icon should be on XY plane.
After that just reverse subspline.



Title: Re: Is there an Auto Align to Spline alternative for 1S Array or expression
Post by: RC2292 on April 10, 2021, 07:14:06 PM
Aw man! was it really that simple!!  :-[

Thank you