Itoo Software Forum

RailClone => RailClone Pro (*) => Topic started by: NathP on September 16, 2022, 10:01:04 AM

Title: Opening Windows
Post by: NathP on September 16, 2022, 10:01:04 AM
Hello,

I try to create a simple random opening windows RC.

I want my window adapt to the size of the spline. But with the "adaptive mode", when the windows is open all it stretch smaller, you can see on the screen shot the part of the spline reveal because of the stretch. I don't have this issue with the "Tiles Mode" but it's less flexible.

How could i fixe that with the adaptative mode?

Thanks
Title: Re: Opening Windows
Post by: Paul Roberts on November 08, 2022, 12:40:01 PM
Hi,

Apologies for the slow reply, we missed this one. Please try the following.

- In the Transform node, set the X Alignment to Pivot.
- Export the X Size attribute of the Frame and the X Fixed Size input of the Transform node. Wire them together.
- In the Transform node, enable Override Size and disable Scale Segment.
- That should take care of most of it. Depending on where the pivots were located in your source segments, you may also need to adjust the X Fixed Transform a bit to compensate.
(https://i.imgur.com/w4tJvEo.png)
(https://i.imgur.com/EwD89O9.png)

A sample file is attached.

I hope that helps,

Paul