Makeprojects
Loading...
Searching...
No Matches
makeprojects.slicer Namespace Reference

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.

Detailed Description

Module that handles slicer script files.

Build and clean slicer data

See also
makeprojects.cleanme
makeprojects.buildme

Function Documentation

◆ create_build_object()

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.

Parameters
file_namePathname to the *.slicerscript to build
priorityPriority to build this object
configurationsConfiguration list to build (Not used)
verboseTrue if verbose output

◆ create_clean_object()

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.

Parameters
file_namePathname to the *.slicerscript to clean
priorityPriority to clean this object
configurationsConfiguration list to clean (Not used)
verboseTrue if verbose output

◆ match()

makeprojects.slicer.match ( filename)

Check if the filename is a type that this module supports.

Slicer scripts end with .slicerscript.

Parameters
filenameFilename to match
Returns
False if not a match, True if supported