pohlke.utils.helpers#

Contains all usefull functions for the add-on

Functions#

camera_attributes_updated(→ None)

Calculate the new camera parameters when an angle (alpha or beta) changes

camera_type_updated(→ None)

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