ObjFile¶
-
class
cgp_maya_utils.files.ObjFile(path)¶ Bases:
cgp_generic_utils.files.Filefile object that manipulates a
.objfile on the file system-
classmethod
create(**kwargs)¶ create an obj file
Parameters: - path (str) – path of the obj file
- content (list[str,
cgp_maya_utils.scene.Node]) – nodes from the scene to add to the content of the file - use selection if nothing is specified
Returns: the created obj file
Return type:
-
classmethod