@bitbybit-dev/occt
Version:
Bit By Bit Developers CAD algorithms using OpenCascade Technology kernel. Run in Node and in Browser.
15 lines (14 loc) • 701 B
TypeScript
import { OpenCascadeInstance, TopoDS_Shape } from "../../bitbybit-dev-occt/bitbybit-dev-occt";
import { OccHelper } from "../occ-helper";
import * as Inputs from "../api/inputs/inputs";
export declare class OCCTIO {
private readonly occ;
private readonly och;
constructor(occ: OpenCascadeInstance, och: OccHelper);
saveShapeSTEP(inputs: Inputs.OCCT.SaveStepDto<TopoDS_Shape>): string;
saveShapeStl(inputs: Inputs.OCCT.SaveStlDto<TopoDS_Shape>): string;
/** This function parses the ASCII contents of a `.STEP` or `.IGES`
* File as a Shape into the `externalShapes` dictionary.
*/
loadSTEPorIGES(inputs: Inputs.OCCT.LoadStepOrIgesDto): TopoDS_Shape | undefined;
}