Appendix C — Sources and Further Reading

The standard. ISO 10303-21:2016 (Part 21, the file format) is the one document worth buying if you work with the files directly; the final edition-3 text is also hosted freely by STEP Tools. ISO 10303-11 (EXPRESS) is useful once, for the grammar of the schema language. ISO 10303-42 (geometry and topology) is the reference for Part II and is readable as prose. ISO 10303-242:2025 is the current AP242 publication and is consulted rather than read.

The schemas. STEP Tools hosts a merged EXPRESS schema covering AP203, AP214, AP242 and others at https://steptools.com/stds/step/, with an entity-by-entity browser. The declarations quoted in this book were checked against the published MIM long forms, which the book’s source repository vendors from the STEPcode project so the checks can be re-run.

Recommended practices. The CAx Implementor Forum’s documents — now under the MBx Interoperability Forum at https://mbx-if.org — cover assembly structure, colours and layers, user-defined attributes, geometric and assembly validation properties, PMI representation and presentation, tessellated geometry, external references and more. They are free, and they describe how real files are written. The PMI records in Chapter 16 follow the Recommended Practices for the Representation and Presentation of Product Manufacturing Information (AP242), version 4.0, and its saved-view records were checked against NIST’s PMI test models.

Test data. NIST’s MBE PMI Validation and Conformance Testing project publishes CAD models with fully specified PMI, exports from several systems, and the expected results; its STEP File Analyzer and Viewer (free) reports on a file’s conformance, validation properties and PMI. The CAx-IF publishes its test suite definitions and an implementation coverage matrix for the participating systems.

Reading files. Open CASCADE Technology (https://github.com/Open-Cascade-SAS/OCCT) is the open-source kernel used to produce every example in this book, apart from the hand-written PMI in bracket-pmi.step, and reads and writes AP203, AP214 and AP242; FreeCAD and CadQuery expose it. The NIST analyzer above is the best tool for inspecting a file’s structure without a kernel.

Checking interpretations. The frame defaults in Chapter 8 follow the functions build_axes and first_proj_axis in Part 42’s EXPRESS, and the tolerance zone names in Chapter 16 are the list in the AP242 rule tolerance_zone_form_name_constraint; both are in the schema text itself. The OCCT STEP translator guide documents the read and write precision modes discussed in Chapter 6.