PyFoam.Basics.STLFile module¶
Read a STL file and do simple manipulations
-
class
PyFoam.Basics.STLFile.
STLFile
(fName=None)[source]¶ Bases:
object
Store a complete STL-file and do simple manipulations with it
-
__dict__
= mappingproxy({'filename': <function STLFile.filename>, '__weakref__': <attribute '__weakref__' of 'STLFile' objects>, '__init__': <function STLFile.__init__>, '__doc__': 'Store a complete STL-file and do simple manipulations with it', 'expectedToken': <function STLFile.expectedToken>, '__iadd__': <function STLFile.__iadd__>, '__module__': 'PyFoam.Basics.STLFile', 'mergePatches': <function STLFile.mergePatches>, '__dict__': <attribute '__dict__' of 'STLFile' objects>, 'noName': '<no name given>', 'erasePatches': <function STLFile.erasePatches>, '__iter__': <function STLFile.__iter__>, 'resetInfo': <function STLFile.resetInfo>, 'writeTo': <function STLFile.writeTo>, 'patchInfo': <function STLFile.patchInfo>})¶
-
__init__
(fName=None)[source]¶ Parameters: fName – filename of the STL-file. If None then an empty file is created
-
__module__
= 'PyFoam.Basics.STLFile'¶
-
__weakref__
¶ list of weak references to the object (if defined)
-
mergePatches
(patchNames, targetPatchName)[source]¶ Merge the patches in the list and put them into a new patch
-
noName
= '<no name given>'¶
-