Itoo Software Forum

Author Topic: Placing segments on the curve segment set by vertex number  (Read 588 times)

Dragan

  • Jr. Member
  • **
  • Posts: 83
Placing segments on the curve segment set by vertex number
« 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
 
« Last Edit: February 21, 2018, 10:43:17 PM by Dragan »

Dragan

  • Jr. Member
  • **
  • Posts: 83
Re: Placing segments on the curve segment between set by vertex number
« Reply #1 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.


 
« Last Edit: February 21, 2018, 01:33:13 PM by Dragan »

Michal Karmazín

  • iToo Software
  • Hero Member
  • *****
  • Posts: 1548
Re: Placing segments on the curve segment set by vertex number
« Reply #2 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,

Dragan

  • Jr. Member
  • **
  • Posts: 83
Re: Placing segments on the curve segment set by vertex number
« Reply #3 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

Dragan

  • Jr. Member
  • **
  • Posts: 83
Re: Placing segments on the curve segment set by vertex number
« Reply #4 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?


 

 
« Last Edit: February 22, 2018, 07:03:26 PM by Dragan »

Michal Karmazín

  • iToo Software
  • Hero Member
  • *****
  • Posts: 1548
Re: Placing segments on the curve segment set by vertex number
« Reply #5 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 a simplified scene to check it here. Thanks in advance.

Best regards,