Itoo Software Forum

Author Topic: Parameterising Windows with RailClone  (Read 51058 times)

Sknueppel

  • Newbie
  • *
  • Posts: 7
Re: Parameterising Windows with RailClone
« Reply #75 on: March 22, 2021, 03:55:36 PM »
Hey there,
I got a question regarding the creation of a window handle.

I got several attempts in trying to get a handle onto the windowframe.
The first one, was to try it with conditional nodes. Like it was written in this forum.
If the position is greater than 49% and smaller than 51 percent please set it. but it didnt work out


So my question was to automatise the position in the middle of the spline.
But it didnt realy work, Then I tried it like in the tutorial for the window return if(Splinelength == 0,1, if splinelength ==1,2,3)); but didnt work either (I m pretty sure if just done something wrong.
I realy like this tool, but it shows me my limits pretty fast ^^

It would be gereat to get a Syntax that is asking the length of the spline and puts something in the middle (if this is possible)

Thanks in advance

Rokas

  • Hero Member
  • *****
  • Posts: 3326
Re: Parameterising Windows with RailClone
« Reply #76 on: March 22, 2021, 04:27:09 PM »
Thank You for attaching max file. it helps to help You.

There is an automatic syntax for You:
Quote
return Array_2S1.YSplineLength/2;

Attached modified file as well. Hope this helps
Rokas

Sknueppel

  • Newbie
  • *
  • Posts: 7
Re: Parameterising Windows with RailClone
« Reply #77 on: March 22, 2021, 04:54:05 PM »
Thank you very much for the super quick reply,
 I ll have a look at it tomorrow.

Greetings

GM1860

  • Newbie
  • *
  • Posts: 2
Re: Parameterising Windows with RailClone
« Reply #78 on: July 05, 2021, 08:08:09 PM »
Hello.

I want to generate a similar window to the one in the tutorial but instead of using a rectangle I want to use just one line and epecify the height of the windows numericaly.
I have it almost done but not having a Y spline is giving me problems using the expression to distribute the 3 "XEvenly" pieces.
How can I do to distribute this pieces based on Y Size parameter insted of Y Spline?

Dragan

  • Hero Member
  • *****
  • Posts: 751
Re: Parameterising Windows with RailClone
« Reply #79 on: July 05, 2021, 09:49:37 PM »
It should act the same as with Y spline.
Can you share the scene file so we can take a look?

GM1860

  • Newbie
  • *
  • Posts: 2
Re: Parameterising Windows with RailClone
« Reply #80 on: July 06, 2021, 10:16:42 AM »
Ok, yes, now is working. I just forgot to check "Extend to Side" in X Evenly parameters.

Thanks!