Itoo Software Forum

RailClone => RailClone Pro (*) => Topic started by: eligiusz on October 18, 2021, 08:02:41 AM

Title: How to use Sequence with adaptive mode
Post by: eligiusz on October 18, 2021, 08:02:41 AM
im wondering how should I use sequence with adaptive mode, because it doesnt scale properly, it goes further than the spline, or over the corners.
Title: Re: How to use Sequence with adaptive mode
Post by: Michal KarmazĂ­n on October 18, 2021, 11:31:36 AM
Hi,

The Adaptive mode works only with equally sized Segments. For these purposes, you should you the "Scale final X seg." macro. I hope that helps.

Best regards,
Title: Re: How to use Sequence with adaptive mode
Post by: Dragan on October 18, 2021, 12:24:57 PM
Hi
If 'ScaleFinal' is not working for you and you want to fit whole Sequence to Adaptive mode I usually use one trick to nest Sequence to act as one segment.
You can use two approaches:
1. Expose X size for each segment and Sum of those values use as X size of the Linear Generator (blue workflow),
2. Set X size for Generator to some large value and to add NULL (empty) segment at the end of Sequence to terminate sequencing (green workflow)

The Green Workflow is better because if you change Counter for individual Sequence input you should think about adding a new wire to the Arithmetic operator to get correct X Size..

Check the attached scene file.
Hope this will help, please let me know if we can help some more.
p.s. added adaptive2 file with `green workflow` only
Best Regards