Itoo Software Forum

Author Topic: Opening Windows  (Read 729 times)

NathP

  • Newbie
  • *
  • Posts: 5
Opening Windows
« 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

Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2991
Re: Opening Windows
« Reply #1 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.



A sample file is attached.

I hope that helps,

Paul
Paul Roberts
iToo Software