pohlke.gui#
Defines the main UI panel and menu entries for the add-on
Classes#
Main UI panel for creating parallel cameras in the 3D View sidebar. |
Functions#
|
Add the Pohlke Cameras entry to Blender's camera add menu. |
|
Register the panel and menu classes to Blender. |
|
Unregister the panel and menu classes from Blender. |
Module Contents#
Add the Pohlke Cameras entry to Blender’s camera add menu.
Parameters#
- selfbpy.types.Menu
The menu instance to which the entry is appended
- contextbpy.types.Context
Blender context
- class pohlke.gui.Pohlke_PT_projectionspanel[source]#
Bases:
bpy.types.PanelMain UI panel for creating parallel cameras in the 3D View sidebar.
This panel displays projection options and delegates the UI drawing to shared functions.
- draw(context: bpy.types.Context) None[source]#
Draw the panel interface, thanks to
pohlke.utils.ui_shared.draw_create_cam_content().Parameters#
- contextbpy.types.Context
Blender context containing scene and UI state