Skip to main content

Module iges

Module iges 

Source
Expand description

IGES exchange.

Elsewhere: the IGES half of the exchange layer. The format is ANSI Y14.26M / IGES 5.3, a fixed-column deck from the 1980s that a great deal of legacy CAD still speaks; implementing it from the published specification is interoperation, the same footing STEP was built on.

Structs§

IgesImport
A read IGES file: the document, the shapes found, and the report.
IgesReport
What an import brought in, and what it left behind.

Constants§

SUPPORTED_ENTITIES
The entity types the reader and writer translate, by number and by the name the specification gives each. The names are load-bearing twice over: refusal messages quote them, and tools/parity.py exchange greps them to keep the parity ledger’s IGES coverage figure regenerable from this file rather than asserted.

Functions§

entity_name
The specification’s name for an entity type, where this module knows it.
read_iges
Read an IGES file’s geometry.
write_iges
Write a document’s solids as an IGES file.