blendernc.nodes.cmaps

blendernc.nodes.cmaps.cmapsnode

blendernc.nodes.cmaps.utils_colorramp

class blendernc.nodes.cmaps.utils_colorramp.ColorRamp

Bases: object

create_colorramp(node_name)
create_group_node(group_name)
get_cmap_values(cmap_module, s_cmap)
get_cmaps()
get_valid_evaluate_function(node_name)

Takes a material-group name and a Node name it expects to find. The node will be of type ShaderNodeValToRGB and this function will force its existence, then return the evaluate function.

get_valid_node(node_name)
installed_cmaps()
update_colormap(color_ramp, selected_cmap, cmap_steps)
blendernc.nodes.cmaps.utils_colorramp.add_splines(n, cbar_plane, width=0.1, height=1)
blendernc.nodes.cmaps.utils_colorramp.add_units(cbar_plane)
blendernc.nodes.cmaps.utils_colorramp.colorbar_material(node, colormap)
blendernc.nodes.cmaps.utils_colorramp.divide_cmap(n, step)
blendernc.nodes.cmaps.utils_colorramp.update_fill_value(node, context)