Itoo Software Forum

RailClone => RailClone Pro (*) => Topic started by: GT4505 on November 22, 2016, 10:00:18 PM

Title: WINDOW office curtainwall
Post by: GT4505 on November 22, 2016, 10:00:18 PM
Hi there,

I'm looking for a way to make a parametric script to create interior glazing in office spaces.
Therefore I'd like to generate a window with a variable height, to determine with a surface in the model.
- Ends: left/right with a profile
- Glass division where the profile continues
- End (to determine with smooth/other vertex settings)

- Glass door on single piece of spline so it can be opened in the scene where necessary

I've been working here with some selector modifiers to simplify the transformations.
This should drive where the ends starts, mids would be placed.
And it does work, on the base line of my window... but when I try to transform this same object lets say +10cm in the Y direction, things start to go wrong...

Other than that there is also an issue with the pivot point on the ends where I'd like to get the hinge, to connect to the doors.
Please have a look at my max file.
Thanks again!
Title: Re: WINDOW office curtainwall
Post by: Paul Roberts on November 23, 2016, 02:56:45 PM

Please see the attached for a possible solution for this question. I've used the following approach:

- Used A2S arrays to build each section of the interior wall. This is very similar to the windows tutorial  ( is worth taking a look at to better understand this style.
- Used the Generator's Limit By Material ID option to allocate each time of wall. There are 3 generators, one for each type, mapped to IDs 1-3
- Sequence operators are used to build the pattern on the Y axis and position the hinges.
- The default segments are scaled on the Y axis by setting a Height parameter and then deducting the size of the top, bottom, two sets of hinges and two spacers.
- There is a second RC object in the scene that illustrates how you can change the flip direction using Conditional nodes. In this case you change it by switching the spline's type between Line and Curve.

I hope that helps, please let me know if you have any further questions.

Kind regards,