UNPKG

@bitbybit-dev/occt

Version:

Bit By Bit Developers CAD algorithms using OpenCascade Technology kernel. Run in Node and in Browser.

36 lines (35 loc) 1.34 kB
import { OpenCascadeInstance, TopoDS_Shape } from "../bitbybit-dev-occt/bitbybit-dev-occt"; import * as Inputs from "./api/inputs/inputs"; import { OCCTBooleans } from "./services/booleans"; import { OCCTGeom } from "./services/geom/geom"; import { OCCTIO } from "./services/io"; import { OCCTOperations } from "./services/operations"; import { OCCTShapes } from "./services/shapes/shapes"; import { OCCTTransforms } from "./services/transforms"; import { OCCTFillets } from "./services/fillets"; import { OccHelper } from "./occ-helper"; import { OCCTShapeFix } from "./services/shape-fix"; export declare class OCCTService { private readonly occ; private readonly och; readonly shapes: OCCTShapes; readonly geom: OCCTGeom; readonly transforms: OCCTTransforms; readonly operations: OCCTOperations; readonly booleans: OCCTBooleans; readonly fillets: OCCTFillets; readonly shapeFix: OCCTShapeFix; readonly io: OCCTIO; plugins?: any; constructor(occ: OpenCascadeInstance, och: OccHelper); shapesToMeshes(inputs: { shapes: TopoDS_Shape[]; precision: number; adjustYtoZ: boolean; }): Inputs.OCCT.DecomposedMeshDto[]; shapeToMesh(inputs: { shape: TopoDS_Shape; precision: number; adjustYtoZ: boolean; }): Inputs.OCCT.DecomposedMeshDto; }