Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
title API Reference
nav_order 3
has_children true

API Reference

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 OCCTSwiftTools

Per-type pages:

  • PointConverter: raw point clouds → point-sprite ViewportBody
  • CurveConverter: Curve2D / Curve3D → edge-only ViewportBody
  • SurfaceConverter: Surface → U/V isoparametric grid bodies
  • WireConverter: Wire → edge-only ViewportBody
  • 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 Shape and durable GraphUID
  • ShapeIdentity: the one builder for all three of those tables, plus the Shape and BRepGraph they were built from. A file load returns one per body via CADLoadResult.identity
  • SubShapePickResolver: the one canonical pick resolver, taking a GPU pick's primitive index in and giving a SubShapeRef out. SubShapeRef, SubShape and InteractiveObject live in this target too; they are documented on the Selection page