Cyclone 3DR Script
from Technodigit, part of Hexagon. Copyright 1997-2024.
|
Provide CAD objects edition and utility methods. More...
Functions | |
Object | Convert (SFeature feature) |
Convert a feature into a CAD object. More... | |
Object | Discretize (SShape shape) |
Convert the SShape into a discretized SPoly and a discretized SMultiline. More... | |
Object | Export (string filename, Array< SShape > compTable, SMatrix coordinateSystemMatrix=SMatrix()) |
Export a table of CAD objects in a IGES or STEP file. More... | |
Object | Import (string filename) |
Import a IGES or STEP file into a CAD object. More... | |
Provide CAD objects edition and utility methods.
Object SCADUtil::Convert | ( | SFeature | feature | ) |
Object SCADUtil::Discretize | ( | SShape | shape | ) |
Convert the SShape into a discretized SPoly and a discretized SMultiline.
ret.ErrorCode | (number) The error code
|
ret.Poly | (SPoly) The discretized SPoly |
ret.MultiTbl | (Array<SMultiline>) The array of discretized SMultiline |
Object SCADUtil::Export | ( | string | filename, |
Array< SShape > | compTable, | ||
SMatrix | coordinateSystemMatrix = SMatrix() |
||
) |
Export a table of CAD objects in a IGES or STEP file.
filename | (string) The IGES or STEP filename |
compTable | (Array<SShape>) The table of CAD objects to export |
coordinateSystemMatrix | (SMatrix) The matrix to define a UCS used for the export (or identity to use the WCS) |
ret.ErrorCode | (number) The error code
|
Object SCADUtil::Import | ( | string | filename | ) |
Import a IGES or STEP file into a CAD object.
filename | (string) The IGES or STEP filename |
ret.ErrorCode | (number) The error code
|
ret.Shape | (SShape) The imported CAD object. |