pohlke.utils.helpers#
Contains all usefull functions for the add-on
Functions#
|
Calculate the new camera parameters when an angle (alpha or beta) changes |
|
Calculate the new camera parameters when the camera type changes |
Module Contents#
- pohlke.utils.helpers.camera_attributes_updated(props: bpy.types.PropertyGroup | bpy.types.Operator, updated_angle: str) None[source]#
Calculate the new camera parameters when an angle (alpha or beta) changes
Parameters#
- propsUnion[bpy.types.PropertyGroup, bpy.types.Operator]
The Blender object containing the camera projection parameters
- updated_anglestr
The changed angle (“beta” or “alpha”)
- pohlke.utils.helpers.camera_type_updated(props: bpy.types.PropertyGroup | bpy.types.Operator) None[source]#
Calculate the new camera parameters when the camera type changes
Parameters#
- propsUnion[bpy.types.PropertyGroup, bpy.types.Operator]
The Blender object containing the camera projection parameters