import { Inputs } from 'bitbybit-occt'; import { OCCTWorkerManager } from '../../occ-worker/occ-worker-manager'; export declare class OCCTOperations { private readonly occWorkerManager; constructor(occWorkerManager: OCCTWorkerManager); /** * Lofts wires into a shell * @param inputs Loft wires * @returns Resulting loft shape * @group lofts * @shortname loft * @drawable true */ loft(inputs: Inputs.OCCT.LoftDto): Promise; /** * Lofts wires into a shell by using many advanced options * @param inputs Advanced loft parameters * @returns Resulting loft shell * @group lofts * @shortname loft adv. * @drawable true */ loftAdvanced(inputs: Inputs.OCCT.LoftAdvancedDto): Promise; /** * Computes two closest points between two shapes * @param inputs two shapes * @returns Resulting points * @group closest pts * @shortname two shapes * @drawable true */ closestPointsBetweenTwoShapes(inputs: Inputs.OCCT.ClosestPointsBetweenTwoShapesDto): Promise; /** * Computes closest points between a list of points and a given shape * @param inputs a list of points and a shape * @returns Resulting points * @group closest pts * @shortname on shape * @drawable true */ closestPointsOnShapeFromPoints(inputs: Inputs.OCCT.ClosestPointsOnShapeFromPointsDto): Promise; /** * Computes closest points between a list of points and shapes * @param inputs a list of points and a list of shapes * @returns Resulting points * @group closest pts * @shortname on shapes * @drawable true */ closestPointsOnShapesFromPoints(inputs: Inputs.OCCT.ClosestPointsOnShapesFromPointsDto): Promise; /** * Extrudes the face along direction * @param inputs Shape to extrude and direction parameter with tolerance * @returns Resulting extruded shape * @group extrusions * @shortname extrude * @drawable true */ extrude(inputs: Inputs.OCCT.ExtrudeDto): Promise; /** * Extrudes the shapes along direction * @param inputs Shapes to extrude and direction parameter with tolerance * @returns Resulting extruded shapes * @group extrusions * @shortname extrude shapes * @drawable true */ extrudeShapes(inputs: Inputs.OCCT.ExtrudeShapesDto): Promise; /** * Splits the face with edges * @param inputs Face to split and edges to split with * @returns Resulting split shape * @group divisions * @shortname split * @drawable true */ splitShapeWithShapes(inputs: Inputs.OCCT.SplitDto): Promise; /** * Revolves the shape around the given direction * @param inputs Revolve parameters * @returns Resulting revolved shape * @group revolutions * @shortname revolve * @drawable true */ revolve(inputs: Inputs.OCCT.RevolveDto): Promise; /** * Rotated extrude that is perofrmed on the shape * @param inputs Rotated extrusion inputs * @returns OpenCascade shape * @group extrusions * @shortname rotated extrude * @drawable true */ rotatedExtrude(inputs: Inputs.OCCT.RotationExtrudeDto): Promise; /** * Pipe shapes along the wire * @param inputs Path wire and shapes along the path * @returns OpenCascade shape * @group pipeing * @shortname pipe * @drawable true */ pipe(inputs: Inputs.OCCT.ShapeShapesDto): Promise; /** * Pipes polyline wire with ngon profile. * @param inputs Path polyline wire * @returns OpenCascade piped shapes * @group pipeing * @shortname pipe polyline ngon * @drawable true */ pipePolylineWireNGon(inputs: Inputs.OCCT.PipePolygonWireNGonDto): Promise; /** * Pipe wires with cylindrical shape * @param inputs Path wires and radius * @returns OpenCascade piped shapes * @group pipeing * @shortname pipe wires cylindrical * @drawable true */ pipeWiresCylindrical(inputs: Inputs.OCCT.PipeWiresCylindricalDto): Promise; /** * Pipe wire with cylindrical shape * @param inputs Path wire and radius * @returns OpenCascade piped shapes * @group pipeing * @shortname pipe wire cylindrical * @drawable true */ pipeWireCylindrical(inputs: Inputs.OCCT.PipeWireCylindricalDto): Promise; /** * Offset for various shapes * @param inputs Shape to offset and distance with tolerance * @returns Resulting offset shape * @group offsets * @shortname offset * @drawable true */ offset(inputs: Inputs.OCCT.OffsetDto): Promise; /** * Offset advanced that give more options for offset, such as joinType for edges and corners * @param inputs Shape to offset and advanced parameters * @returns Resulting offset shape * @group offsets * @shortname offset adv. * @drawable true */ offsetAdv(inputs: Inputs.OCCT.OffsetAdvancedDto): Promise; /** * Thickens the shape into a solid by an offset distance * @param inputs OpenCascade shape * @returns OpenCascade solid shape * @group offsets * @shortname thicken * @drawable true */ makeThickSolidSimple(inputs: Inputs.OCCT.ThisckSolidSimpleDto): Promise; /** * Thickens the shape into a solid by joining * @param inputs OpenCascade shape and options for thickening * @returns OpenCascade solid shape * @group offsets * @shortname joined thicken * @drawable true */ makeThickSolidByJoin(inputs: Inputs.OCCT.ThickSolidByJoinDto): Promise; }