RailClone > Tutorials

Parameterising Windows with RailClone

<< < (16/19) > >>

Sknueppel:
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:
Thank You for attaching max file. it helps to help You.

There is an automatic syntax for You:

--- Quote ---return Array_2S1.YSplineLength/2;
--- End quote ---

Attached modified file as well. Hope this helps

Sknueppel:
Thank you very much for the super quick reply,
 I ll have a look at it tomorrow.

Greetings

GM1860:
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:
It should act the same as with Y spline.
Can you share the scene file so we can take a look?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version