fabex.properties.name_props#

Fabex ‘name_props.py’

All CAM related naming properties.

Attributes#

Classes#

Functions#

setup_names()

build_names(enum_dict, prefix, main_1, main_2, main_3, ...)

get_path_name(context)

get_operation_name(context)

get_chain_name(context)

get_simulation_name(context)

get_file_name(context)

update_name_link(self, context)

Module Contents#

name_options = [('NONE', '(none)', 'Empty name slots will be ignored'), ('DATE', 'Date', 'The date of the gcode...[source]#
setup_names()[source]#
build_names(enum_dict, prefix, main_1, main_2, main_3, suffix)[source]#
get_path_name(context)[source]#
get_operation_name(context)[source]#
get_chain_name(context)[source]#
get_simulation_name(context)[source]#
get_file_name(context)[source]#
class CAM_NAME_Properties[source]#

Bases: bpy.types.PropertyGroup

default_export_location: StringProperty(name='Export Folder', description='Folder where Fabex will save exported gcode files', subtype='DIR_PATH', default='')[source]#
separator: StringProperty(name='Separator', description='Character to place between name items - prefix, main, suffix', default='_')[source]#
path_prefix: StringProperty(name='Path Prefix', description="Start of CAM Path's name", default='cam_path')[source]#
path_main_1: EnumProperty(name='Path Main 1', description="Middle of CAM Path's name (1/3)", items=name_options, default='OP_NAME')[source]#
path_main_2: EnumProperty(name='Path Main 2', description="Middle of CAM Path's name (2/3)", items=name_options, default='NONE')[source]#
path_main_3: EnumProperty(name='Path Main 3', description="Middle of CAM Path's name (3/3)", items=name_options, default='NONE')[source]#
path_suffix: StringProperty(name='Path Suffix', description="End of CAM Path's name", default='')[source]#
path_name_full: StringProperty(name='Path Name (full)', get=get_path_name)[source]#
operation_prefix: StringProperty(name='Operation Prefix', description="Start of CAM Operation's name", default='Op')[source]#
operation_main_1: EnumProperty(name='Operation Main 1', description="Middle of CAM Operation's name (1/3)", items=name_options, default='OBJECT')[source]#
operation_main_2: EnumProperty(name='Operation Main 2', description="Middle of CAM Operation's name (2/3)", items=name_options, default='INDEX')[source]#
operation_main_3: EnumProperty(name='Operation Main 3', description="Middle of CAM Operation's name (3/3)", items=name_options, default='NONE')[source]#
operation_suffix: StringProperty(name='Operation Suffix', description="End of CAM Operation's name", default='')[source]#
operation_name_full: StringProperty(name='Operation Name (full)', get=get_operation_name)[source]#
chain_prefix: StringProperty(name='Chain Prefix', description="Start of CAM Chain's name", default='Chain')[source]#
chain_main_1: EnumProperty(name='Chain Main 1', description="Middle of CAM Chain's name (1/3)", items=name_options, default='INDEX')[source]#
chain_main_2: EnumProperty(name='Chain Main 2', description="Middle of CAM Chain's name (2/3)", items=name_options, default='NONE')[source]#
chain_main_3: EnumProperty(name='Chain Main 3', description="Middle of CAM Chain's name (3/3)", items=name_options, default='NONE')[source]#
chain_suffix: StringProperty(name='Chain Suffix', description="End of CAM Chain's name", default='')[source]#
chain_name_full: StringProperty(name='Chain Name (full)', get=get_chain_name)[source]#
simulation_prefix: StringProperty(name='Simulation Prefix', description="Start of CAM Simulation's name", default='csim')[source]#
simulation_main_1: EnumProperty(name='Simulation Main 1', description="Middle of CAM Simulation's name (1/3)", items=name_options, default='OP_NAME')[source]#
simulation_main_2: EnumProperty(name='Simulation Main 2', description="Middle of CAM Simulation's name (2/3)", items=name_options, default='NONE')[source]#
simulation_main_3: EnumProperty(name='Simulation Main 3', description="Middle of CAM Simulation's name (3/3)", items=name_options, default='NONE')[source]#
simulation_suffix: StringProperty(name='Simulation Suffix', description="End of CAM Simulation's name", default='')[source]#
simulation_name_full: StringProperty(name='Simulation Name (full)', get=get_simulation_name)[source]#
file_prefix: StringProperty(name='File Prefix', description="Start of CAM File's name", default='')[source]#
file_main_1: EnumProperty(name='File Main 1', description="Middle of CAM File's name (1/3)", items=name_options, default='OP_NAME')[source]#
file_main_2: EnumProperty(name='File Main 2', description="Middle of CAM File's name (2/3)", items=name_options, default='NONE')[source]#
file_main_3: EnumProperty(name='File Main 3', description="Middle of CAM File's name (3/3)", items=name_options, default='NONE')[source]#
file_suffix: StringProperty(name='File Suffix', description="End of CAM File's name", default='')[source]#
file_name_full: StringProperty(name='File Name (full)', get=get_file_name)[source]#