Module containing the commandline interface for the Maya Depdendency Parser
Returns: | iterator yielding pairs of depth, item |
---|---|
Parameters: |
|
Note: | this is an adjusted version of dge.iterShells |
Parameter: | kwargs – will be passed directly to createFromFiles |
---|
Returns: | A path instance of the correct type |
---|---|
Note: | use this constructor if you use the Path.set_separator method at runtime to assure you will always create instances of the actual type, and not only of the type you imported last |
Return a function applying remapping as defined by tokenstring
Note: | it also applies a mapping from mb to ma, no matter what. Thus we currently only store .ma files as keys even though it might be mb files |
---|
Bases: networkx.classes.graph.Graph
Bases: networkx.classes.digraph.DiGraph
Contains dependnecies between maya files including utility functions allowing to more easily find what you are looking for
Parse the dependencies from the given maya ascii files and add them to this graph
Note: | the more files are given, the more efficient the method can be |
---|---|
Parameters: |
|
Note: | if the parsed path contain environment variables you must start the tool such that these can be resolved by the system. Otherwise files might not be found |
Todo: | parse_all_paths still to be implemented |
Returns: | MayaFileGraph providing dependency information about the files in fileList and their subReference. |
---|---|
Parameters: |
|
Returns: | list of paths ( converted to os paths ) that are related to the given filePath |
---|---|
Parameters: |
|
Returns: | list of filePaths that could not be parsed, most probably because they could not be found by the system |
---|
Bases: object
chain(*iterables) –> chain object
Return a chain object whose .next() method returns elements from the first iterable until it is exhausted, then elements from the next iterable, until all of the iterables are exhausted.
chain.from_iterable(iterable) –> chain object
Alternate chain() contructor taking a single iterable argument that evaluates lazily.