Functions | |
def | add_cards_from_a_dir (materials, cards, icons, mat_dir, icon, template=False) |
def | check_mat_units (mat) |
def | check_parm_unit (param) |
def | check_value_unit (param, value) |
def | create_mat_template_card (write_group_section=True) |
def | create_mat_tools_header () |
def | get_and_output_all_carddata (cards) |
def | get_known_material_quantity_parameter () |
def | get_material_resources (category='Solid') |
def | get_material_template (withSpaces=False) |
def | get_source_path () |
def | import_materials (category='Solid', template=False) |
def | output_cards (cards) |
def | output_icons (icons) |
def | output_material_param (mat_dict) |
def | output_materials (materials) |
def | output_parm_unit_info (param) |
def | output_resources (resources) |
def | output_trio (trio) |
def | output_value_unit_info (param, value) |
def | read_cards_from_path (cards_path) |
def | write_cards_to_path (cards_path, cards_data, write_group_section=True, write_template=False) |
Variables | |
unicode = str | |
def materialtools.cardutils.add_cards_from_a_dir | ( | materials, | |
cards, | |||
icons, | |||
mat_dir, | |||
icon, | |||
template = False |
|||
) |
Referenced by materialtools.cardutils.import_materials().
def materialtools.cardutils.check_mat_units | ( | mat | ) |
def materialtools.cardutils.check_parm_unit | ( | param | ) |
def materialtools.cardutils.check_value_unit | ( | param, | |
value | |||
) |
Referenced by materialtools.cardutils.check_mat_units().
def materialtools.cardutils.create_mat_template_card | ( | write_group_section = True | ) |
def materialtools.cardutils.create_mat_tools_header | ( | ) |
def materialtools.cardutils.get_and_output_all_carddata | ( | cards | ) |
References materialtools.cardutils.get_material_template().
def materialtools.cardutils.get_known_material_quantity_parameter | ( | ) |
References materialtools.cardutils.get_material_template().
Referenced by materialtools.cardutils.check_mat_units().
def materialtools.cardutils.get_material_resources | ( | category = 'Solid' | ) |
Referenced by materialtools.cardutils.import_materials().
def materialtools.cardutils.get_material_template | ( | withSpaces = False | ) |
def materialtools.cardutils.get_source_path | ( | ) |
def materialtools.cardutils.import_materials | ( | category = 'Solid' , |
|
template = False |
|||
) |
def materialtools.cardutils.output_cards | ( | cards | ) |
def materialtools.cardutils.output_icons | ( | icons | ) |
def materialtools.cardutils.output_material_param | ( | mat_dict | ) |
Referenced by materialtools.cardutils.output_materials().
def materialtools.cardutils.output_materials | ( | materials | ) |
References materialtools.cardutils.output_material_param().
def materialtools.cardutils.output_parm_unit_info | ( | param | ) |
def materialtools.cardutils.output_resources | ( | resources | ) |
def materialtools.cardutils.output_trio | ( | trio | ) |
def materialtools.cardutils.output_value_unit_info | ( | param, | |
value | |||
) |
def materialtools.cardutils.read_cards_from_path | ( | cards_path | ) |
def materialtools.cardutils.write_cards_to_path | ( | cards_path, | |
cards_data, | |||
write_group_section = True , |
|||
write_template = False |
|||
) |
materialtools.cardutils.unicode = str |