Module Igeslib - SINTEF-Geometry/GoTools GitHub Wiki
The Initial Graphics Exchange Specification (IGES) is a vendor-neutral data format that allows the digital exchange of information among CAD systems. The IGESlib GoTools module contains functionality for reading and writing IGES files and for converting between an IGES file and the internal file format of GoTools.
The content of an IGES file is transferred to the application as a vector of type GeomObject
. By checking the type of each object, the model can be stored and handled in the GoTools environment.
To write an IGES file, the file entities are added one by one to the IGES convertor using the function addGeom
, which takes a GeomObject
as parameter. The actual file is written by the function writeIGES
.
GoTools represent only geometric entities. Thus, IGES entities like annotation, structure, property, associativity, view, drawing and figure will be neglected. Neither are constructive solid geometry or finite element modelling entities handled. If such entities exist in a file read by the IGES converter, warning messages will be issued.
The topological entities specified in IGES 5.3 are not handled by the current version of the IGES converter. Thus, the entities vertex, edge, edge list, loop, face and shell are not handled. However, the geometric entities corresponding to these topological entities will be read. Colour information is read.