import { Inputs } from 'bitbybit-occt'; import { OCCTWorkerManager } from '../../../occ-worker/occ-worker-manager'; export declare class OCCTSolid { private readonly occWorkerManager; constructor(occWorkerManager: OCCTWorkerManager); /** * Creates Solid From shell that must be closed * @param inputs Closed shell to make into solid * @returns OpenCascade Solid * @group from * @shortname shell * @drawable true */ fromClosedShell(inputs: Inputs.OCCT.ShapeDto): Promise; /** * Creates OpenCascade Box * @param inputs Box size and center * @returns OpenCascade Box * @group primitives * @shortname box * @drawable true */ createBox(inputs: Inputs.OCCT.BoxDto): Promise; /** * Creates OpenCascade Box from corner * @param inputs Box size and corner coordinates * @returns OpenCascade Box * @group primitives * @shortname box corner * @drawable true */ createBoxFromCorner(inputs: Inputs.OCCT.BoxFromCornerDto): Promise; /** * Creates OpenCascade Cylinder * @param inputs Cylinder parameters * @returns OpenCascade Cylinder * @group primitives * @shortname cylinder * @drawable true */ createCylinder(inputs: Inputs.OCCT.CylinderDto): Promise; /** * Creates OpenCascade Cylinders on simple bit by bit lines represented by two points * @param inputs Cylinder parameters * @returns OpenCascade Cylinder * @group primitives * @shortname cylinders on lines * @drawable true */ createCylindersOnLines(inputs: Inputs.OCCT.CylindersOnLinesDto): Promise; /** * Creates OpenCascade Sphere * @param inputs Sphere radius and center * @returns OpenCascade Sphere * @group primitives * @shortname sphere * @drawable true */ createSphere(inputs: Inputs.OCCT.SphereDto): Promise; /** * Creates OpenCascade Cone * @param inputs Cone parameters * @returns OpenCascade cone shape * @group primitives * @shortname cone * @drawable true */ createCone(inputs: Inputs.OCCT.ConeDto): Promise; /** * Get solid surface area * @param inputs Closed solid shape * @returns Surface area * @group get * @shortname area * @drawable false */ getSolidSurfaceArea(inputs: Inputs.OCCT.ShapeDto): Promise; /** * Get solid volume * @param inputs Closed solid shape * @returns volume * @group get * @shortname volume * @drawable false */ getSolidVolume(inputs: Inputs.OCCT.ShapeDto): Promise; /** * Get solids volumes * @param inputs Closed solid shapes * @returns volumes * @group get * @shortname volumes * @drawable false */ getSolidsVolumes(inputs: Inputs.OCCT.ShapesDto): Promise; /** * Get solid center of mass * @param inputs Closed solid shape * @returns center of mass point * @group get * @shortname center of mass * @drawable true */ getSolidCenterOfMass(inputs: Inputs.OCCT.ShapeDto): Promise; /** * Get centers of mass of solids * @param inputs Closed solid shapes * @returns Points indicating centers of mass * @group get * @shortname centers of mass * @drawable true */ getSolidsCentersOfMass(inputs: Inputs.OCCT.ShapesDto): Promise; }