Interface for STLPlugin modeling functions. More...
import "STLPlugin.idl";
Public Member Functions | |
| void | ExportSTL (in GEOM::GEOM_Object theObject, in string theFileName, in boolean theIsASCII, in double theDeflection, in boolean theIsRelative) |
| Export the given shape into a file with given name in STL format. More... | |
| GEOM::ListOfGO | ImportSTL (in string theFileName) |
| Import a shape from the STL file. More... | |
| boolean | IsDone () |
| To know, if the operation was successfully performed. More... | |
| void | SetErrorCode (in string theErrorID) |
| Set the operation error code. More... | |
| string | GetErrorCode () |
| Get the operation error code. More... | |
| long | GetStudyID () |
| Get ID of study, where the operation is defined. More... | |
| void | StartOperation () |
| Opens a new transaction. More... | |
| void | FinishOperation () |
| Closes the previously opened trasaction. More... | |
| void | AbortOperation () |
| Aborts the previously opened transaction. More... | |
Interface for STLPlugin modeling functions.
| void ExportSTL | ( | in GEOM::GEOM_Object | theObject, |
| in string | theFileName, | ||
| in boolean | theIsASCII, | ||
| in double | theDeflection, | ||
| in boolean | theIsRelative | ||
| ) |
Export the given shape into a file with given name in STL format.
| theObject | Shape to be stored in the file. |
| theFileName | Name of the file to store the given shape in. |
| theIsASCII | The format of the exported file (ASCII or Binary). |
| theDeflection | Deflection of the given shape. |
| theIsRelative | Mode for writing the file. If True (default value), the deflection is calculated from the relative size of the shape; if False, the user defined deflection is used. |
| GEOM::ListOfGO ImportSTL | ( | in string | theFileName | ) |
Import a shape from the STL file.
| theFileName | The file, containing the shape. |
|
inherited |
To know, if the operation was successfully performed.
|
inherited |
Set the operation error code.
| theErrorID | is a string describing the error occured |
|
inherited |
Get the operation error code.
|
inherited |
Get ID of study, where the operation is defined.
|
inherited |
Opens a new transaction.
|
inherited |
Closes the previously opened trasaction.
|
inherited |
Aborts the previously opened transaction.