Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bitbybit-occt-worker

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bitbybit-occt-worker - npm Package Compare versions

Comparing version 0.10.5 to 0.10.6

9

lib/api/occt/fillets.d.ts

@@ -16,2 +16,11 @@ import * as Inputs from 'bitbybit-occt/lib/api/inputs/inputs';

/**
* Fillets OpenCascade 3d wire, this algorithm takes one guiding direction for fillets to be formed. It does not respect tangent directions on each filleted corner.
* @param inputs Shape, radius and edge indexes to fillet
* @returns OpenCascade shape with filleted edges
* @group 3d
* @shortname fillet wire
* @drawable true
*/
fillet3DWire(inputs: Inputs.OCCT.Fillet3DWireDto<Inputs.OCCT.TopoDSShapePointer>): Promise<Inputs.OCCT.TopoDSShapePointer>;
/**
* Chamfer OpenCascade Shape edges

@@ -18,0 +27,0 @@ * @param inputs Shape, distance and edge indexes to chamfer

@@ -17,2 +17,13 @@ export class OCCTFillets {

/**
* Fillets OpenCascade 3d wire, this algorithm takes one guiding direction for fillets to be formed. It does not respect tangent directions on each filleted corner.
* @param inputs Shape, radius and edge indexes to fillet
* @returns OpenCascade shape with filleted edges
* @group 3d
* @shortname fillet wire
* @drawable true
*/
fillet3DWire(inputs) {
return this.occWorkerManager.genericCallToWorkerPromise('fillets.fillet3DWire', inputs);
}
/**
* Chamfer OpenCascade Shape edges

@@ -19,0 +30,0 @@ * @param inputs Shape, distance and edge indexes to chamfer

@@ -25,2 +25,29 @@ import * as Inputs from 'bitbybit-occt/lib/api/inputs/inputs';

/**
* 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<Inputs.OCCT.TopoDSShapePointer>): Promise<Inputs.Base.Point3[]>;
/**
* 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<Inputs.OCCT.TopoDSShapePointer>): Promise<Inputs.Base.Point3[]>;
/**
* 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<Inputs.OCCT.TopoDSShapePointer>): Promise<Inputs.Base.Point3[]>;
/**
* Extrudes the face along direction

@@ -80,2 +107,29 @@ * @param inputs Shape to extrude and direction parameter with tolerance

/**
* 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<Inputs.OCCT.TopoDSWirePointer>): Promise<Inputs.OCCT.TopoDSShapePointer>;
/**
* 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<Inputs.OCCT.TopoDSWirePointer>): Promise<Inputs.OCCT.TopoDSShapePointer[]>;
/**
* 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<Inputs.OCCT.TopoDSWirePointer>): Promise<Inputs.OCCT.TopoDSShapePointer>;
/**
* Offset for various shapes

@@ -90,2 +144,11 @@ * @param inputs Shape to offset and distance with tolerance

/**
* 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<Inputs.OCCT.TopoDSShapePointer>): Promise<Inputs.OCCT.TopoDSShapePointer>;
/**
* Thickens the shape into a solid by an offset distance

@@ -92,0 +155,0 @@ * @param inputs OpenCascade shape

@@ -28,2 +28,36 @@ export class OCCTOperations {

/**
* 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.shapes = [inputs.shape1, inputs.shape2];
return this.occWorkerManager.genericCallToWorkerPromise('operations.closestPointsBetweenTwoShapes', inputs);
}
/**
* 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) {
return this.occWorkerManager.genericCallToWorkerPromise('operations.closestPointsOnShapeFromPoints', inputs);
}
/**
* 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) {
return this.occWorkerManager.genericCallToWorkerPromise('operations.closestPointsOnShapesFromPoints', inputs);
}
/**
* Extrudes the face along direction

@@ -95,2 +129,35 @@ * @param inputs Shape to extrude and direction parameter with tolerance

/**
* 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) {
return this.occWorkerManager.genericCallToWorkerPromise('operations.pipePolylineWireNGon', inputs);
}
/**
* 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) {
return this.occWorkerManager.genericCallToWorkerPromise('operations.pipeWiresCylindrical', inputs);
}
/**
* 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) {
return this.occWorkerManager.genericCallToWorkerPromise('operations.pipeWireCylindrical', inputs);
}
/**
* Offset for various shapes

@@ -107,2 +174,13 @@ * @param inputs Shape to offset and distance with tolerance

/**
* 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) {
return this.occWorkerManager.genericCallToWorkerPromise('operations.offsetAdv', inputs);
}
/**
* Thickens the shape into a solid by an offset distance

@@ -109,0 +187,0 @@ * @param inputs OpenCascade shape

4

package.json
{
"name": "bitbybit-occt-worker",
"version": "0.10.5",
"version": "0.10.6",
"description": "Bit By Bit Developers CAD algorithms using OpenCascade Technology kernel adapted for WebWorker",

@@ -58,3 +58,3 @@ "main": "index.js",

"dependencies": {
"bitbybit-occt": "0.10.5",
"bitbybit-occt": "0.10.6",
"rxjs": "7.5.5"

@@ -61,0 +61,0 @@ },

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc