[dynTemp] Enlarge proportionally to next frame
Overview
This rule resizes the current frame proportionally toward the nearest frames in the same comet group, using a selected anchor point.
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 one of the two resize directions determined by the anchor point. It tracks the minimum distance in each resize direction to find the nearest frames.
The rule then checks the maximum possible proportional resize in X and Y. The frame is resized proportionally from the selected anchor point until it reaches the nearest frame in either direction, minus the respective margin.
The margin is only applied when the resize actually reaches the next frame edge. If the proportional resize stops short of the next frame, the margin has no effect.
Parameters
| # | Name | Data type | Default | Description | List values (ISON) |
| Anchor point | Dropdown | The corner of the frame that stays fixed during the resize. The frame grows toward the opposite corner(s). | :I:oben links:I:oben rechts:I:unten rechts:I:unten links (translated by the comet plugin) | ||
| Margin to frame in X in mm | String | 0.0 | Gap between the resized frame and the next frame in X. Applied only when the resize reaches the next frame. Leave empty to use the default of 0.0 mm. | ||
| Margin to frame in Y in mm | String | 0.0 | Gap between the resized frame and the next frame in Y. Applied only when the resize reaches the next frame. Leave empty to use the default of 0.0 mm. |