Functions | |
| def | geompy.ImportFile |
| Import a shape from the BREP or IGES or STEP file (depends on given format) with given name. | |
| def | geompy.Import |
| Deprecated analog of ImportFile() | |
| def | geompy.ImportBREP |
| Shortcut to ImportFile() for BREP format. | |
| def | geompy.ImportIGES |
| Shortcut to ImportFile() for IGES format. | |
| def | geompy.GetIGESUnit |
| Return length unit from given IGES file. | |
| def | geompy.ImportSTEP |
| Shortcut to ImportFile() for STEP format. | |
| def | geompy.Export |
| Export the given shape into a file with given name. | |
| def | geompy.ExportBREP |
| Shortcut to Export() for BREP format. | |
| def | geompy.ExportIGES |
| Shortcut to Export() for IGES format. | |
| def | geompy.ExportSTEP |
| Shortcut to Export() for STEP format. | |
| def geompy.ImportFile | ( | self, | |
| theFileName, | |||
| theFormatName | |||
| ) |
Import a shape from the BREP or IGES or STEP file (depends on given format) with given name.
| theFileName | The file, containing the shape. |
| theFormatName | Specify format for the file reading. Available formats can be obtained with InsertOp.ImportTranslators() method. If format 'IGES_SCALE' is used instead 'IGES' length unit will be set to 'meter' and result model will be scaled. |
References geompy.RaiseIfFailed().
| def geompy.Import | ( | self, | |
| theFileName, | |||
| theFormatName | |||
| ) |
Deprecated analog of ImportFile()
References geompy.RaiseIfFailed().
| def geompy.ImportBREP | ( | self, | |
| theFileName | |||
| ) |
Shortcut to ImportFile() for BREP format.
| def geompy.ImportIGES | ( | self, | |
| theFileName | |||
| ) |
Shortcut to ImportFile() for IGES format.
| def geompy.GetIGESUnit | ( | self, | |
| theFileName | |||
| ) |
Return length unit from given IGES file.
| def geompy.ImportSTEP | ( | self, | |
| theFileName | |||
| ) |
Shortcut to ImportFile() for STEP format.
| def geompy.Export | ( | self, | |
| theObject, | |||
| theFileName, | |||
| theFormatName | |||
| ) |
Export the given shape into a file with given name.
| theObject | Shape to be stored in the file. |
| theFileName | Name of the file to store the given shape in. |
| theFormatName | Specify format for the shape storage. Available formats can be obtained with InsertOp.ImportTranslators() method. |
| def geompy.ExportBREP | ( | self, | |
| theObject, | |||
| theFileName | |||
| ) |
| def geompy.ExportIGES | ( | self, | |
| theObject, | |||
| theFileName | |||
| ) |