import { OCCTWorkerManager } from '../../occ-worker/occ-worker-manager'; import { OCCTShapes } from './shapes/shapes'; import { OCCTTransforms } from './transforms'; import { OCCTOperations } from './operations'; import { OCCTBooleans } from './booleans'; import { OCCTIO } from './io'; import { OCCTGeom } from './geom/geom'; import { OCCTFillets } from './fillets'; import { Inputs } from 'bitbybit-occt'; /** * Contains various methods for OpenCascade implementation */ export declare class OCCT { readonly occWorkerManager: OCCTWorkerManager; readonly shapes: OCCTShapes; readonly geom: OCCTGeom; readonly fillets: OCCTFillets; readonly transforms: OCCTTransforms; readonly operations: OCCTOperations; readonly booleans: OCCTBooleans; io: OCCTIO; constructor(occWorkerManager: OCCTWorkerManager); /** * Creates mesh from the shape * @param inputs shape * @group drawing * @shortname shape to mesh * @drawable false * @ignore true */ shapeToMesh(inputs: Inputs.OCCT.ShapeToMeshDto): Promise; /** * Deletes shape from the cache to keep memory usage low * @param inputs shape * @group memory * @shortname delete shape */ deleteShape(inputs: Inputs.OCCT.ShapeDto): Promise; /** * Deletes shapes from the cache to keep memory usage low * @param inputs shape * @group memory * @shortname delete shapes */ deleteShapes(inputs: Inputs.OCCT.ShapesDto): Promise; }