react-three-nurbs
Version:
A React component library for NURBS (Non-Uniform Rational B-Spline) curves, surfaces, and solids in Three.js. Built with React Three Fiber, zero external NURBS dependencies — all math implemented from scratch. Boolean operations powered by OpenCASCADE WAS
13 lines (12 loc) • 923 B
TypeScript
export { NurbsCurve } from "./curve";
export { NurbsSurface } from "./surface";
export { NurbsSolid } from "./solid";
export type { CurveData, SurfaceData, FaceData, SolidData } from "./types";
export { findSpan, basisFunctions, derivBasisFunctions } from "./basis";
export { globalCurveInterpolation, loftSurface } from "./fit";
export { createArc, createCircle, createEllipseArc, createEllipse, createCylindricalSurface, createExtrudedSurface, createRevolvedSurface, createSweptSurface, createBoxSolid, createCylinderSolid, createSphereSolid, } from "./construct";
export { curveKnotInsert, curveKnotRefine, surfaceKnotRefine, curveElevateDegree, unifyCurveKnots, } from "./modify";
export { adaptiveTessellate } from "./tessellate";
export type { AdaptiveRefinementOptions, TessellationResult } from "./tessellate";
export { intersectSurfaces } from "./intersect";
export type { IntersectionResult } from "./intersect";