Itoo Software Forum

RailClone => RailClone Pro (*) => Topic started by: arch3d on February 03, 2019, 07:08:48 AM

Title: Start & end controlled by sequence segment
Post by: arch3d on February 03, 2019, 07:08:48 AM
Rokas,
Could you help me with this problem?
I have segments in sequence and start/end. Depends on segment in array start/end should change ( eg. if last element is yellow - should be sphere, if last element is green should be cone etc.) Same at start.

Dunno how to do it in simple situation ( don't mention if i hange seguence array )

Thanks
Title: Re: Start & end controlled by sequence segment
Post by: Rokas on February 04, 2019, 10:07:00 AM
Sorry, I do not understand the task.
I do not grasp the rules of the required setup.

Title: Re: Start & end controlled by sequence segment
Post by: arch3d on February 04, 2019, 10:21:47 AM
:)
i got start segment <- sequence of boxes -> end segment so:

first element of sequence of boxes - yellllow box -> start segment - sphere
first element of sequence of boxes - green box -> start segment - cone

last element of sequence of boxes - yellllow box -> end segment - sphere
last element of sequence of boxes - green box -> end segment - cone

i need connect sequence with selector i think
Title: Re: Start & end controlled by sequence segment
Post by: Rokas on February 04, 2019, 10:59:03 AM
:)
i got start segment <- sequence of boxes -> end segment so:

first element of sequence of boxes - yellllow box -> start segment - sphere
first element of sequence of boxes - green box -> start segment - cone
and if element is else?
last element of sequence of boxes - yellllow box -> end segment - sphere
last element of sequence of boxes - green box -> end segment - cone
.... else
i need connect sequence with selector i think

Yes, I think Sequence with exported index is the way to go. Please try to create Your setup and ask for help if still needed.
Title: Re: Start & end controlled by sequence segment
Post by: arch3d on February 04, 2019, 11:14:52 AM
...and here is problem -  how to export index from sequence :D

you mean plug exteral numeric values and plug it to selector as well?

i tried in this way but if i changed values it didnt work
Title: Re: Start & end controlled by sequence segment
Post by: Rokas on February 04, 2019, 11:26:03 AM
I meant selector node, not sequence  :-[
Title: Re: Start & end controlled by sequence segment
Post by: arch3d on February 04, 2019, 11:41:36 AM
yep i think can work:)
i didnt ectract all params before and it was a problem

Thank you very much
Title: Re: Start & end controlled by sequence segment
Post by: arch3d on February 04, 2019, 12:53:22 PM
hmm not so easy
if i got any points on spline it doesnt work...and using sequence counter i cant control first and last segment...

i need to get data from sequence...
and than somehow (probably expression way :/) implement it to selector
Title: Re: Start & end controlled by sequence segment
Post by: Rokas on February 04, 2019, 12:56:36 PM
I don't understand what You are building and rules for that setup.
Title: Re: Start & end controlled by sequence segment
Post by: arch3d on February 04, 2019, 01:04:35 PM
2s array based on single spline :)
Title: Re: Start & end controlled by sequence segment
Post by: arch3d on February 04, 2019, 01:09:04 PM
and here is why i bother you about endings in sequence..

i dont want to use mat id
i have to use sequence for x corners ,and frames - it works ( even with mirrorr of array ) only problem is with start and end caps -  i can do it manually by exported selector... but i was looking for some auto solution :)

so my new idea is control sequence by expression conected to selector as well