OCCTSwiftIO API Reference
A per-type function reference for the public OCCTSwiftIO + MeshIO API — one page per type or logical group, every public symbol documented with its real signature, parameters, return, and a runnable example.
The package spans two products:
OCCTSwiftIO(OCCT-backed) — CAD load/export, JWW, manifests, ML export.MeshIO(pure Swift, no OCCT) — mesh formats into a neutralMesh.
Pages
OCCTSwiftIO (CAD)
- ShapeLoader —
load/loadRobust/loadFromManifest, and theShapeLoadResultit returns. - ExportManager —
export(shapes:format:to:deflection:)and theExportFormatenum. - CADFileFormat — the load-side format enum and its extension initializer.
- ScriptManifest —
ScriptManifest,BodyDescriptor,ManifestMetadata. - ImportProgressClosure — closure-backed
ImportProgress+ cancellation. - GraphExport (ML) —
TopologyGraph.exportForML()/exportJSON()and theGraphExportstruct. - CADBodyMetadata — sub-body selection metadata produced by the bridge layer.
MeshIO (mesh)
- Mesh — the neutral indexed-triangle value type.
- MeshIO —
load/writeplusMeshFormatandMeshError. - Mesh format readers —
STL,OBJ,PLY(native) and the glTF / 3MF adapters.
Coverage
- Formats — the full read/write coverage table and per-format notes.