Itoo Software Forum

RailClone => RailClone Pro (*) => Topic started by: IC2694 on October 11, 2024, 03:20:18 am

Title: About the “Scale final X seg” macro
Post by: IC2694 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?
Title: Re: About the “Scale final X seg” macro
Post by: Michal Karmazín 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,