|
Makeprojects
|
Module that handles slicer script files. More...
Classes | |
| class | BuildSlicerFile |
| Class to build slicer files. More... | |
Functions | |
| match (filename) | |
| Check if the filename is a type that this module supports. | |
| create_build_object (file_name, priority=None, configurations=None, verbose=False) | |
| Return an array of BuildSlicerFile build objects. | |
| create_clean_object (file_name, priority=None, configurations=None, verbose=False) | |
| Return an array of BuildSlicerFile clean objects. | |
Variables | |
| _SLICERFILE_MATCH | |
| Regex for matching files with *.slicerscript. | |
Module that handles slicer script files.
Build and clean slicer data
| makeprojects.slicer.create_build_object | ( | file_name, | |
| priority = None, | |||
| configurations = None, | |||
| verbose = False ) |
Return an array of BuildSlicerFile build objects.
Given a filename to a slicer script, create a BuildObject that will invoke the tool and slicer the art as needed.
| file_name | Pathname to the *.slicerscript to build |
| priority | Priority to build this object |
| configurations | Configuration list to build (Not used) |
| verbose | True if verbose output |
| makeprojects.slicer.create_clean_object | ( | file_name, | |
| priority = None, | |||
| configurations = None, | |||
| verbose = False ) |
Return an array of BuildSlicerFile clean objects.
Given a filename to a slicer script, create a BuildObject that will invoke the tool and clean the art as needed.
| file_name | Pathname to the *.slicerscript to clean |
| priority | Priority to clean this object |
| configurations | Configuration list to clean (Not used) |
| verbose | True if verbose output |
| makeprojects.slicer.match | ( | filename | ) |
Check if the filename is a type that this module supports.
Slicer scripts end with .slicerscript.
| filename | Filename to match |