Skip to content
Shapemetry

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: true

nurbsSurface

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: true

revolve

function

revolve(curves: unknown, axis: Axis, angle: number): ShellEntity[]

surfaceValueFromGrid

function

surfaceValueFromGrid(controlPoints: unknown, columns?: number, degreeU?: number, degreeV?: number): Record<string, unknown> | null

sweepMorph

function

sweepMorph(profiles: unknown, path: unknown, samples?: number): ShellEntity[]
Last updated: 📖 1 min readEdit on GitHub