blender-camera-framing
Installation
SKILL.md
Blender camera framing
Use scripts/camera_framing.py when a named subject must be wholly visible in
the scene camera. The helper uses evaluated world bounds, the active render
dimensions and pixel aspect, and Blender's own camera frame. It does not guess
from an object's dimensions or from one generic field-of-view angle.
Read references/framing-contract.md before changing the helper or composing a
custom framing transaction.
Choose the correct kind of framing
- Render-camera framing changes a Camera object and works in interactive or background Blender. Use this skill for a render, export, shot, or reproducible camera result.
- Viewport framing changes
RegionView3Din one visibleVIEW_3Darea.bpy.ops.view3d.view_selectedrequires an area/region override, does not work in background mode, and does not fit the scene camera. Use it only to prepare an interactive screenshot and restore selection afterward.