Itoo Software Forum

Author Topic: About the “Scale final X seg” macro  (Read 11004 times)

IC2694

  • Newbie
  • *
  • Posts: 1
About the “Scale final X seg” macro
« on: October 11, 2024, 03:20:18 am »
Hi, everyone.
I have a question about the “About the ‘Scale final X seg’ macro.
This macro seems to work correctly only if the segment is a single mesh.
I want to use segments combined in a Compose node to add variations to the roof and windows of a building.

When tested, all segments in the Compose node are scaled to the same width by the “Scale final X seg” macro.
This is true even if we use groups for the segments.

Is there any solution?

Michal Karmazín

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2958
Re: About the “Scale final X seg” macro
« Reply #1 on: October 11, 2024, 10:33:41 am »
Hi,

Currently, a Transform node (used in the mentioned macro) operates on each segment within a Compose operator individually. We will explore options for improving this in future versions. In the meantime, as a workaround, you can nest a Generator for this purpose and slightly adjust the Scale Final X Segment macro to base calculations on the "main" Generator. It's essential to rename the last Generator, as its name is now referenced within the modified macro.

Please find attached a sample scene demonstrating this setup. I hope this helps!

Best regards,