Itoo Software Forum

Author Topic: Vertex based X-Evenly Element  (Read 4102 times)

suppenhuhn

  • Full Member
  • ***
  • Posts: 125
Vertex based X-Evenly Element
« on: September 20, 2017, 01:41:45 PM »
Hi!
I remeber i saw a post/tutorial for Railclone Pro where the x-evenly elements are set by each vertex on the spline path...but i can't find it anymore.

Does anyone know how to set the X evenly vertex based with a Array2S Object ? The Linear1S wouldn't do it because of the need to change the height.

Thanks in advance :)
Robert

P.S.
I tried to searching the help docs but the all the pages stay blank ( win 10 + firefox + ie ):
https://docs.itoosoft.com/railclone/style-editor/1d-arrays-generator-l1s

« Last Edit: September 20, 2017, 02:36:10 PM by suppenhuhn »
iToo has probably the best support & community i know !!

I'm using it with Max 2019 & Vray 6

suppenhuhn

  • Full Member
  • ***
  • Posts: 125
Re: Vertex based X-Evenly Element
« Reply #1 on: September 20, 2017, 02:56:53 PM »
So, found a solution where i use a inner corner element as my window-segments - see Screenshots.

The Tiling works fine on a straight spline-path. But if got an real 90° Corner in the path-spline it's looking wierd. Is there a way to use a specific "Real-Corner"-Element?

Thanks in advance:)
iToo has probably the best support & community i know !!

I'm using it with Max 2019 & Vray 6

Michal Karmazín

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2447
Re: Vertex based X-Evenly Element
« Reply #2 on: September 20, 2017, 03:55:28 PM »
Hi,

For example the XVertexAngle attribute will help with it - you can check the angle by the following expression:

return if(XVertexAngle == degToRad(90), 1, 2);


within the Arithmetic Operator linked to the Selector Operator. Attaching a sample scene.

Hope you'll find it useful.

Best regards,

suppenhuhn

  • Full Member
  • ***
  • Posts: 125
Re: Vertex based X-Evenly Element
« Reply #3 on: September 21, 2017, 12:43:21 PM »
Thanks a lot for your example! :-)

But if i do it like this, the expression copied from your file always seems to "use" the second item of the selector. There's also a expression in use within the "items" .. see the screenshot -> the default segment node is empty to check if it's working.
Maybe it's because the whole Array2S -> Geometry -> X Rotation  = 90 ?
iToo has probably the best support & community i know !!

I'm using it with Max 2019 & Vray 6

suppenhuhn

  • Full Member
  • ***
  • Posts: 125
Re: Vertex based X-Evenly Element
« Reply #4 on: September 21, 2017, 01:11:22 PM »
Update:
This problem occures with my RC-Object when the Path isn't a closed Spline  - any ideas how to fix this? The path needs to be a open L-shaped Spline
« Last Edit: September 21, 2017, 01:17:10 PM by suppenhuhn »
iToo has probably the best support & community i know !!

I'm using it with Max 2019 & Vray 6

Michal Karmazín

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2447
Re: Vertex based X-Evenly Element
« Reply #5 on: September 21, 2017, 03:52:49 PM »
Hi,

It should work both on open / closed splines. Might be, the angle isn't 90º, but it's just very close? Another option might be to use two Conditional Operators testing the Angle like in attached screen-shots. Also, please feel free to send us your scene to check it here. Thanks in advance.

Best regards,

suppenhuhn

  • Full Member
  • ***
  • Posts: 125
Re: Vertex based X-Evenly Element
« Reply #6 on: September 21, 2017, 06:40:15 PM »
Thank you! I've tried it with the conditional but a don't get it right :-/

Sent you a file, if you'd like to check

Thanks a lot!
Robert
iToo has probably the best support & community i know !!

I'm using it with Max 2019 & Vray 6

Michal Karmazín

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2447
Re: Vertex based X-Evenly Element
« Reply #7 on: September 22, 2017, 11:24:49 AM »
Hi Robert,

Thanks for the provided scene. Enabling the Bevel Corner option under Rules > X Corner and setting the RC Offset to 50% seems to do the trick.

Best regadrs,

suppenhuhn

  • Full Member
  • ***
  • Posts: 125
Re: Vertex based X-Evenly Element
« Reply #8 on: September 22, 2017, 02:38:41 PM »
Thank you so much!! I can not repeat it often enough: best technical support i've ever seen!!

But there is one thing i've noticed:

On the former "wierd" Corner: On the Top-Element is an offset/padding occuring which i can't figure out where it's coming from. And the Bottom-Element seems to be dissapeared?
iToo has probably the best support & community i know !!

I'm using it with Max 2019 & Vray 6