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__
= dict_proxy({'noName': '<no name given>', '__module__': 'PyFoam.Basics.STLFile', 'writeTo': <function writeTo>, 'expectedToken': <function expectedToken>, 'mergePatches': <function mergePatches>, '__iadd__': <function __iadd__>, 'filename': <function filename>, 'resetInfo': <function resetInfo>, '__dict__': <attribute '__dict__' of 'STLFile' objects>, '__iter__': <function __iter__>, 'patchInfo': <function patchInfo>, 'erasePatches': <function erasePatches>, '__weakref__': <attribute '__weakref__' of 'STLFile' objects>, '__doc__': 'Store a complete STL-file and do simple manipulations with it', '__init__': <function __init__>})¶
-
__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>'¶
-