Itoo Software Forum

RailClone => RailClone Pro (*) => Topic started by: arch3d on December 13, 2020, 05:35:33 AM

Title: Sequence of Generators & Marker
Post by: arch3d on December 13, 2020, 05:35:33 AM
sorry for stalking you again :(
here is some problem:
i got two generators as sequence of default segments, i would like to separate them by marker and assign it to part of spline ( e.g. ID=2 )
is it even possible?
problem cause limits, i know RC consider whole spline
if i turn them off works fine even if structure isn't perfect
Title: Re: Sequence of Generators & Marker
Post by: Dragan on December 13, 2020, 08:56:01 AM
You can handle the rest  ;)
Title: Re: Sequence of Generators & Marker
Post by: arch3d on December 13, 2020, 11:15:27 AM
Thank you very much,
But how to limit sequence to deired matID?
Title: Re: Sequence of Generators & Marker
Post by: Dragan on December 13, 2020, 11:42:05 AM
I`m not sure I understand.
Do you need an additional limit for the spline IDs?

Title: Re: Sequence of Generators & Marker
Post by: arch3d on December 13, 2020, 12:44:18 PM
much more closer, i hope screen will explain what i want
Title: Re: Sequence of Generators & Marker
Post by: Rokas on December 13, 2020, 01:36:52 PM
Just enable mat id limit in main generator.
Title: Re: Sequence of Generators & Marker
Post by: Dragan on December 13, 2020, 02:07:43 PM
This will change the start position of the marker.
Strange, I tried with selector Selector, Compose+null for termination, Conditional, nothing works as should.
Title: Re: Sequence of Generators & Marker
Post by: arch3d on December 13, 2020, 02:12:05 PM
i know it could be RC limitation :(
Title: Re: Sequence of Generators & Marker
Post by: Rokas on December 13, 2020, 02:16:51 PM
Ah I see. Yes it is (https://forum.itoosoft.com/railclone-pro-(*)/rc-spline-modifier-does-work-correctly-with-generators-per-spline-id/).
Title: Re: Sequence of Generators & Marker
Post by: Dragan on December 13, 2020, 02:44:44 PM
You could do a workaround with conditionals.
Title: Re: Sequence of Generators & Marker
Post by: arch3d on December 13, 2020, 02:58:09 PM
nice!
Title: Re: Sequence of Generators & Marker
Post by: arch3d on December 13, 2020, 03:06:18 PM
so if i would extract position of marker on spline i could use it as conditional's spline position am I right?
Title: Re: Sequence of Generators & Marker
Post by: Dragan on December 13, 2020, 03:53:43 PM
Yes.
I don`t know why the Conditional Length of the Full spline is not working. Possible bug again.
When the marker is connected it will automatically make a Section on the spline so you probably can calculate the marker position in Percentage.
I guess something like XSectionLength/XSplineLength*100. (connect this to Conditional node). Although I`m not sure how this will affect Sequence change. It is possible that some of the Sequence segments `crossover` the Marker Cone Segment. Then you just make the threshold by multiply with a value around 100. +/-80/90...
I can test it when I get my hands back on the computer.