pyIGES icon indicating copy to clipboard operation
pyIGES copied to clipboard

IGES geometry system implemented in python

pyIGES

IGES geometry system implemented in python. This is part of a larger project for my capstone project for Mechanical Engineering so heads up, it's no masterpiece of code.

No great disposition on how to use this library (yet), however have a look at the examples and that should hopefully give an idea of how things are done. All the geometry items that have currently been implemented can be found in IGESGeomLib.py

Further, as this library is being developed it hasn't been tested as to work with other cad programs beyond an IGES viewer program. Work needs to be done to ensure that it plays nicely with whatever program the IGES files are being imported to.

Finally note, IGES in this case is being used for surface modeling - I'm unaware of programs that properly support the IGES constructive solid geometry items beyond b-rep geometry.

Sources for further information about the IGES format:

  • ECLIPSE Foundation Wiki on the IGES file specification <https://wiki.eclipse.org/IGES_file_Specification/>_
  • Initial Graphics Exchange Specification 5.3 <http://paulbourke.net/dataformats/iges/IGES.pdf>_
  • Guidelines for the CSpecification and Validationof IGES Applicationof IGESA <https://apps.dtic.mil/dtic/tr/fulltext/u2/a261278.pdf>_

Depends On

There are few dependencies in this library, these are

  • Python 3.x (latest, x64)

The numpy and scipy packages are used in conjunction with the 'demo' geometry library.

  • Numpy (latest, preferably with MKL) <https://www.numpy.org/>_
  • SciPy (latest, preferably with MKL) <https://www.scipy.org/>_