Skip to main content

Module iges

Module iges 

Source
Expand description

IGES exchange.

The format is ANSI Y14.26M / IGES 5.3, a fixed-column deck from the 1980s, read and written here from the published specification.

Structs§

IgesExport
A written IGES file, and what the writer left out of it.
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. Refusal messages quote the names.

Functions§

entity_name
The specification’s name for an entity type, where this module knows it.
read_iges
Read an IGES file’s geometry.
read_iges_file
Read an IGES file’s geometry from disk, as read_iges reads a deck, with its external references (416) resolved against the files in the same directory.
write_iges
Write a document’s solids and sheets as an IGES file.
write_iges_reported
Write a document as write_iges does, saying what it left out.