Clean C++ API
Type-safe geometric primitives with hidden OCCT implementation details
Comprehensive wrapper with clean APIs and multi-language bindings
Experience Light OCCT's clean API across different languages:
#include <light-occt/LCurve.hxx>
#include <light-occt/LTransform.hxx>
// Create a circle
auto circle = LCurve::CreateCircle(
Point(0, 0, 0), // center
Vector(0, 0, 1), // normal
5.0 // radius
);
// Evaluate point and derivatives
Point point = circle.D0(M_PI/2);
CurveDerivativeData deriv = circle.D1(M_PI/2);
// Get coordinate system data
CircleData data = circle.GetCircleData();
Point center = data.Position.Location;
double radius = data.Radius;
import light_occt as occt
# Create a circle
circle = occt.LCurve.CreateCircle(
occt.Point(0, 0, 0), # center
occt.Vector(0, 0, 1), # normal
5.0 # radius
)
# Evaluate point and derivatives
point = circle.D0(3.14159/2)
deriv = circle.D1(3.14159/2)
# Get coordinate system data
data = circle.GetCircleData()
center = data.Position.Location
radius = data.Radius
import { LCurve, Point, Vector } from 'light-occt-wasm';
// Create a circle
const circle = LCurve.CreateCircle(
new Point(0, 0, 0), // center
new Vector(0, 0, 1), // normal
5.0 // radius
);
// Evaluate point and derivatives
const point = circle.D0(Math.PI/2);
const deriv = circle.D1(Math.PI/2);
// Get coordinate system data
const data = circle.GetCircleData();
const center = data.Position.Location;
const radius = data.Radius;
✅ 110/110 tests passing (100% success rate)
✅ All language bindings operational
✅ Complete geometry, topology, and mesh systems
✅ Assembly hierarchy with XCAF integration
✅ CAD file I/O through Exchange module
Ready for production use with a stable, well-tested API.