Hi Paul (or other fellow RailClone-Users)
I have another question as im making more and more windows with RailClone.
I want to make a sliding window.
This is tricky: the left side is not symmetrical to the right side, because of the sliding part which is behind the fix part of the window. (See attachment)
For the corners it is no problem, i can link them to the appropriate segments, the same for the sides.
The X Evenly is the same like in the tutorial with the selector and the arithmetic-node with the expression:
if(YSplinePosition = 0,3,
if(YSplinePosition = 1,1,2))
Now the tricky parts: Top Side, Bottom Side and Default.
I also used a selector node with an arithmetic-node.
In the expression i can't get the selector to select the correct geometry for the sides.... it always selects just on of the geometry for both sides.
here is what my expression looks like:
if(XSplinePosition = 0,1,2)
With my weak programming skills, i understand this as:
If the spline position on the X-axis is zero, then use the first geometry, otherwise use the second geometry
Where am i going wrong?
I have added my StyleEditor in the attachment.
Kind regards
Stef