UNPKG

@bitbybit-dev/occt

Version:

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

31 lines (30 loc) 1.46 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 { OCCTDimensions } from "./services/dimensions"; 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 dimensions: OCCTDimensions; readonly shapeFix: OCCTShapeFix; readonly io: OCCTIO; plugins?: any; constructor(occ: OpenCascadeInstance, och: OccHelper); shapeFacesToPolygonPoints(inputs: Inputs.OCCT.ShapeFacesToPolygonPointsDto<TopoDS_Shape>): Inputs.Base.Point3[][]; shapesToMeshes(inputs: Inputs.OCCT.ShapesToMeshesDto<TopoDS_Shape>): Inputs.OCCT.DecomposedMeshDto[]; shapeToMesh(inputs: Inputs.OCCT.ShapeToMeshDto<TopoDS_Shape>): Inputs.OCCT.DecomposedMeshDto; }