cam.engine#

CNCCAM ‘engine.py’

Engine definition, options and panels.

Classes#

Functions#

get_panels()

Retrieve a list of panels for the Blender UI.

Module Contents#

class CNCCAM_ENGINE[source]#

Bases: bpy.types.RenderEngine

bl_idname = 'CNCCAM_RENDER'[source]#
bl_label = 'CNC CAM'[source]#
bl_use_eevee_viewport = True[source]#
get_panels()[source]#

Retrieve a list of panels for the Blender UI.

This function compiles a list of UI panels that are compatible with the Blender rendering engine. It excludes certain predefined panels that are not relevant for the current context. The function checks all subclasses of the bpy.types.Panel and includes those that have the COMPAT_ENGINES attribute set to include ‘BLENDER_RENDER’, provided they are not in the exclusion list.

Returns:

A list of panel classes that are compatible with the Blender rendering engine, excluding specified panels.

Return type:

list