blendernc.preferences

class blendernc.preferences.BlenderNC_Preferences(*args, **kwargs)

Bases: AddonPreferences

BlenderNC_Preferences Constructor of BlenderNC preferences.

Parameters
bpy.types.AddonPreferencesbpy_struct

Blender API bpy types to generate new AddonPreferences.

Parameters
  • args (Any) –

  • kwargs (Any) –

Return type

Any

Boolean()
auto_check_update

An instance of the original BoolProperty.

bl_idname = 'blendernc'
blendernc_autoreload_datasets

An instance of the original BoolProperty.

blendernc_python_path

An instance of the original StringProperty.

blendernc_use_dask

An instance of the original BoolProperty.

blendernc_workspace

An instance of the original EnumProperty.

blendernc_workspace_shading

An instance of the original EnumProperty.

draw(context)
item_shadings()
item_workspace_option()
updater_interval_days

An instance of the original IntProperty.

updater_interval_hours

An instance of the original IntProperty.

updater_interval_minutes

An instance of the original IntProperty.

updater_interval_months

An instance of the original IntProperty.

blendernc.preferences.add_python_path()
blendernc.preferences.dask_client(create_client=False)
blendernc.preferences.get_addon_preference()

get_addon_preference Get addon preferences

Returns
bpy_struct

bpy structure containing BlenderNC preferences.

blendernc.preferences.import_workspace(_)

import_workspace Load BlenderNC workspace, based on the user preferences.

Parameters
_NoneType

Dummy argument

blendernc.preferences.load_handler_for_startup(_)

load_handler_for_startup Change shading to the preselected BlenderNC preference.

Parameters
_NoneType

Dummy argument

blendernc.preferences.print_error(_)
blendernc.preferences.update_client(self, context)
blendernc.preferences.update_message(self, context)
update_message Update message when changing blendernc_workspace_shading.

Any changes in shading will be applied after reload.

Parameters
contextbpy.context

Context in which update is called.

blendernc.preferences.update_path(self, context)

update_path Update path of python to find all libraries.

Parameters
contextbpy.context

Context in which update is called.

blendernc.preferences.update_workspace(self, context)

update_workspace Update workspace when user changes preference.

Parameters
contextbpy.context

Context in which update is called.