Link Search Menu Expand Document

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 neutral Mesh.

Pages

OCCTSwiftIO (CAD)

  • ShapeLoaderload / loadRobust / loadFromManifest, and the ShapeLoadResult it returns.
  • ExportManagerexport(shapes:format:to:deflection:) and the ExportFormat enum.
  • CADFileFormat — the load-side format enum and its extension initializer.
  • ScriptManifestScriptManifest, BodyDescriptor, ManifestMetadata.
  • ImportProgressClosure — closure-backed ImportProgress + cancellation.
  • GraphExport (ML)TopologyGraph.exportForML() / exportJSON() and the GraphExport struct.
  • CADBodyMetadata — sub-body selection metadata produced by the bridge layer.

MeshIO (mesh)

  • Mesh — the neutral indexed-triangle value type.
  • MeshIOload / write plus MeshFormat and MeshError.
  • Mesh format readersSTL, OBJ, PLY (native) and the glTF / 3MF adapters.

Coverage

  • Formats — the full read/write coverage table and per-format notes.

Table of contents