Model - Surface
API reference for src/nodeMethods/surface on @huukhanhnguyen/model, reachable from ./compute.
See the Guide for the ModelJSON / evaluate pipeline.
API reference
Signatures are generated from the live package .d.ts - not hand-written.
loft
const
const loft: ((curves: unknown, degree?: number) => ShellEntity[]) & { wholeArray: truenurbsSurface
function
nurbsSurface(controlPoints: unknown, columns?: number, degreeU?: number, degreeV?: number): ShellEntity[]patchFromCorners
function
patchFromCorners(corner0: Point$1, corner1: Point$1, corner2: Point$1, corner3: Point$1): ShellEntity[]patchFromCurve
const
const patchFromCurve: ((curves: unknown) => ShellEntity[]) & { wholeArray: truerevolve
function
revolve(curves: unknown, axis: Axis, angle: number): ShellEntity[]surfaceValueFromGrid
function
surfaceValueFromGrid(controlPoints: unknown, columns?: number, degreeU?: number, degreeV?: number): Record<string, unknown> | nullsweepMorph
function
sweepMorph(profiles: unknown, path: unknown, samples?: number): ShellEntity[]