@bitbybit-dev/occt
Version:
Bit By Bit Developers CAD algorithms using OpenCascade Technology kernel. Run in Node and in Browser.
19 lines (18 loc) • 999 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";
import { IO } from "@bitbybit-dev/base/lib/api/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;
shapeToDxfPaths(inputs: Inputs.OCCT.ShapeToDxfPathsDto<TopoDS_Shape>): IO.DxfPathDto[];
dxfPathsWithLayer(inputs: Inputs.OCCT.DxfPathsWithLayerDto): IO.DxfPathsPartDto;
dxfCreate(inputs: Inputs.OCCT.DxfPathsPartsListDto): string;
}