@bitbybit-dev/core
Version:
Bit By Bit Developers Core CAD API to Program Geometry
30 lines (29 loc) • 1 kB
TypeScript
import { ContextBase } from "../../context";
import * as Inputs from "../../inputs/inputs";
/**
* Extrusion surface functions.
* These functions wrap around Verbnurbs library that you can find here http://verbnurbs.com/.
* Thanks Peter Boyer for his work.
*/
export declare class VerbSurfaceExtrusion {
private readonly context;
constructor(context: ContextBase);
/**
* Creates the Nurbs surface extrusion from the curve
* @param inputs Nurbs profile curve and direction vector
* @returns Nurbs surface
*/
create(inputs: Inputs.Verb.ExtrusionParametersDto): any;
/**
* Gets the direction vector of the extrusion
* @param inputs Extruded Nurbs surface
* @returns Vector
*/
direction(inputs: Inputs.Verb.ExtrusionDto): number[];
/**
* Gets the profile Nurbs curve of the extrusion
* @param inputs Extruded Nurbs surface
* @returns Profile Nurbs curve
*/
profile(inputs: Inputs.Verb.ExtrusionDto): number[];
}