blendernc.operators

class blendernc.operators.BlenderNC_OT_apply_material(*args, **kwargs)

Bases: Operator

Parameters
  • args (Any) –

  • kwargs (Any) –

Return type

Any

static apply_material(sel_obj)
bl_context = 'objectmode'
bl_description = 'Apply texture to material for simple cases'
bl_idname = 'blendernc.apply_material'
bl_label = 'Load datacube'
bl_options = {'INTERNAL', 'REGISTER'}
static create_materials(blendernc_material)
execute(context)
static get_projection(name, blendernc_material, imagetex)
static get_translated_node(blendernc_material, eng_node_name)
class blendernc.operators.BlenderNC_OT_colorbar(*args, **kwargs)

Bases: Operator

Parameters
  • args (Any) –

  • kwargs (Any) –

Return type

Any

bl_description = 'Create or updates colorbar'
bl_idname = 'blendernc.colorbar'
bl_label = 'Create/Update colobar'
execute(context)
image

An instance of the original StringProperty.

node

An instance of the original StringProperty.

node_group

An instance of the original StringProperty.

class blendernc.operators.BlenderNC_OT_compute_range(*args, **kwargs)

Bases: Operator

Parameters
  • args (Any) –

  • kwargs (Any) –

Return type

Any

bl_description = 'Compute vmax and vmin of datacube selected variable'
bl_idname = 'blendernc.compute_range'
bl_label = 'Compute vmin & vmax'
bl_options = {'REGISTER', 'UNDO'}
execute(context)
node

An instance of the original StringProperty.

node_group

An instance of the original StringProperty.

class blendernc.operators.BlenderNC_OT_datacube2img(*args, **kwargs)

Bases: Operator

Parameters
  • args (Any) –

  • kwargs (Any) –

Return type

Any

bl_description = 'Updates an image with datacube data'
bl_idname = 'blendernc.datacube2img'
bl_label = 'From datacube to image'
execute(context)
flip

An instance of the original BoolProperty.

frame

An instance of the original IntProperty.

image

An instance of the original StringProperty.

node

An instance of the original StringProperty.

node_group

An instance of the original StringProperty.

class blendernc.operators.BlenderNC_OT_datacubeload(*args, **kwargs)

Bases: Operator

BlenderNC_OT_datacubeload Load datacube files within Blender.

Parameters
bpybpy.types.Operator

Blender API bpy socket to generate a new Operator.

Returns
dict

{FINISHED} if operator exits successfully.

Parameters
  • args (Any) –

  • kwargs (Any) –

Return type

Any

bl_description = 'Loads datacube file'
bl_idname = 'blendernc.datacubeload'
bl_label = 'Load datacube file'
bl_options = {'REGISTER', 'UNDO'}
execute(context)
file_path

An instance of the original StringProperty.

node

An instance of the original StringProperty.

node_group

An instance of the original StringProperty.

class blendernc.operators.BlenderNC_OT_preloader(*args, **kwargs)

Bases: Operator

Parameters
  • args (Any) –

  • kwargs (Any) –

Return type

Any

bl_description = 'Preload a range of variable steps into memory'
bl_idname = 'blendernc.preloader'
bl_label = 'Preload a range of variable steps into memory'
bl_options = {'REGISTER', 'UNDO'}
execute(context)
file_name

An instance of the original StringProperty.

frame_end

An instance of the original IntProperty.

frame_start

An instance of the original IntProperty.

var_name

An instance of the original StringProperty.

class blendernc.operators.BlenderNC_OT_var(*args, **kwargs)

Bases: Operator

Parameters
  • args (Any) –

  • kwargs (Any) –

Return type

Any

bl_description = 'Loads datacube vars'
bl_idname = 'blendernc.var'
bl_label = 'Load datacube vars'
bl_options = {'REGISTER', 'UNDO'}
execute(context)
file_path

An instance of the original StringProperty.

class blendernc.operators.ImportDatacubeCollection(*args, **kwargs)

Bases: PropertyGroup

Parameters
  • args (Any) –

  • kwargs (Any) –

Return type

Any

name