| title | API Reference |
|---|---|
| nav_order | 3 |
| has_children | true |
The complete public surface of OCCTSwiftTools. Every converter is a public enum used as a namespace of static funcs, with no instances to
construct. Most converters take an OCCTSwift kernel type (or a raw point list)
and return one or more ViewportBody values; CADFileLoader additionally wraps
OCCTSwiftIO's ShapeLoader and returns a CADLoadResult.
Add the package and import it:
import OCCTSwiftToolsPer-type pages:
- PointConverter: raw point clouds → point-sprite
ViewportBody - CurveConverter:
Curve2D/Curve3D→ edge-onlyViewportBody - SurfaceConverter:
Surface→ U/V isoparametric grid bodies - WireConverter:
Wire→ edge-onlyViewportBody - BodyUtilities: marker spheres and offset helpers for
ViewportBody - CADFileLoader: load CAD files / manifests, and the
Shape→ body bridge - FaceIdentityTable / EdgeIdentityTable / VertexIdentityTable: resolve a render-path face / edge / vertex ordinal back to its
Shapeand durableGraphUID - ShapeIdentity: the one builder for all three of those tables, plus the
ShapeandBRepGraphthey were built from. A file load returns one per body viaCADLoadResult.identity - SubShapePickResolver: the one canonical pick resolver, taking a GPU pick's primitive index in and giving a
SubShapeRefout.SubShapeRef,SubShapeandInteractiveObjectlive in this target too; they are documented on the Selection page