blendersynth.annotations.axes

blendersynth.annotations.axes.get_axes(objects, camera=None, scene=None, normalized=False, invert_y=True)[source]

Project local axes for all objects into all cameras

Parameters:
  • objects (List[Mesh]) – List of Mesh objects

  • camera (Union[Camera, List[Camera]]) – Either a single Camera object, or a list of them. If None, use bpy.context.scene.camera

  • scene (Scene) – bpy.types.Scene (if None, use bpy.context.scene)

  • normalized (bool) – if True, return normalized coordinates (0-1) instead of pixel coordinates

  • invert_y (bool) – if True, y is measured from the top of the image, otherwise from the bottom (Blender measures from bottom)

Return type:

AnnotationHandler