[dynTemp] Enlarge frame to next frame
Overview
This rule resizes the current frame in one direction until it reaches the nearest frame in the same comet group.
How it works
The rule calculates the current frame's bounding box. It then checks all other frames in the comet group, excluding the current frame and any frames built by a multiframe.
For each candidate frame, it checks whether the frame is positioned in the selected direction. It tracks the minimum distance across all candidates to find the nearest frame edge in that direction.
If a candidate frame is found, the rule resizes the current frame toward it, stopping at the candidate frame edge minus the margin. If the defined margin is larger than the available space, the rule does not execute.
If no comet group frame is found in the selected direction, the rule falls back to the corresponding RealGridElement edge as the boundary.
Parameters
| # | Name | Data type | Default | Description | List values (ISON) |
| Direction | Dropdown | The direction in which the frame is resized. Only the selected edge of the frame changes. | :I:links:I:oben:I:rechts:I:unten (translated by the comet plugin) | ||
| Margin to next frame in mm | String | 0.0 | Gap between the resized frame and the next frame edge. Leave empty to use the default of 0.0 mm. |