Itoo Software Forum

RailClone => RailClone Pro (*) => Topic started by: Dragan on February 21, 2018, 01:03:23 PM

Title: Placing segments on the curve segment set by vertex number
Post by: Dragan on February 21, 2018, 01:03:23 PM
Hi,
How can I place particular segments on the particular curve segments set by vertex number and if possible how to combine different distribution eg.
- vertex 1-2 is default
- vertex 2-3 is evenly
but without changing curve segments ID



tnx.
Dragan
 
Title: Re: Placing segments on the curve segment between set by vertex number
Post by: Dragan on February 21, 2018, 01:27:05 PM
... problem to solve...
Railing combining evenly glass segments and concrete segments..

The best solution is to save Material ID limits for reversing direction of the railing and to mix different styles (full concrete segments or full glass segments).

It will be good to have an option for master Y offset. Simple  reverse of selected spline segments to reverse railing direction will not work because it will change offset direction too.

tnx.


 
Title: Re: Placing segments on the curve segment set by vertex number
Post by: Michal Karmazín on February 22, 2018, 04:02:31 PM
Hi Dragan,

You can get the "vertex index" by the XVertexIndex attribute, which can be used to pick the corresponding Segment by the Selector Operator. If you don't want to use the Corner Input, you should wire an empty Segment to it to get the vertex index correctly.

Hope that helps.

Best regards,
Title: Re: Placing segments on the curve segment set by vertex number
Post by: Dragan on February 22, 2018, 04:46:33 PM
Hi Michal

I tried this, but I did not manage to get what I want especially for the evenly distribition
Title: Re: Placing segments on the curve segment set by vertex number
Post by: Dragan on February 22, 2018, 06:59:11 PM
Michal, thank you!!
Ok... it will work with XVertexIndex+1; for Default.
Now, just to figure out how to do Evenly distribution (glass+pole+gap...)  on selected `Vertex Segment`. Hm, for evenly section some segment (glass) should have adaptive size while other (gap/pole segments) should stay with original size. Sims like I have to prepare separate RC Generators and somehow nest them to wanted `Vertex Segment`
Any idea?


 

 
Title: Re: Placing segments on the curve segment set by vertex number
Post by: Michal Karmazín on February 23, 2018, 01:37:03 PM
Hi Dragan,

Using multiple Generators would be most probably the way forward (optionally, using Segments with correspondingly calculated Size within the Sequence Operator(s) should work too). Please feel free to send us (http://forum.itoosoft.com/index.php?topic=3648.0) a simplified scene to check it here. Thanks in advance.

Best regards,