Read time: 0.6 minutes (57 words)
TreeWalker.py
-
class mmdesigner.TreeWalker.TreeWalker(model_path, ext='', callback=None)[source]
Model tree action class
-
check_path(model_path)[source]
Confirm proposed model path contains at least one .scad file
-
clean(ext)[source]
delete files with specified extension from tree
-
get_callback()[source]
Return the current callback
-
get_extension()[source]
Return current extension
-
get_file_list()[source]
Return list of files with selected extension
-
get_leaf_file_list()[source]
Return list of leaf files (parts)
-
get_model_path()[source]
Return current model path
-
process_files()[source]
Run callback on all selected files
-
process_leaf_files()[source]
Run callback on only leaf files