@bitbybit-dev/base 0.19.4 → 0.19.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -3
- package/lib/api/inputs/index.d.ts +1 -0
- package/lib/api/inputs/index.js +1 -0
- package/lib/api/inputs/inputs.d.ts +0 -1
- package/lib/api/inputs/inputs.js +0 -1
- package/lib/api/services/color.d.ts +1 -1
- package/lib/api/services/geometry-helper.d.ts +1 -1
- package/lib/api/services/lists.d.ts +1 -1
- package/lib/api/services/lists.js +1 -1
- package/lib/api/services/logic.d.ts +1 -1
- package/lib/api/services/math.d.ts +1 -1
- package/lib/api/services/math.js +1 -1
- package/lib/api/services/point.d.ts +2 -3
- package/lib/api/services/text.d.ts +1 -1
- package/lib/api/services/transforms.d.ts +1 -1
- package/lib/api/services/vector.d.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Visit [bitbybit.dev](https://bitbybit.dev) to use our full cloud platform.
|
|
4
4
|
Best way to support us - [Silver or Gold plan subscription](https://bitbybit.dev/auth/pick-plan)
|
|
5
|
-
Buy unique
|
|
6
|
-
Check out [3D Bits app for Shopify](https://apps.shopify.com/3d-bits-1)
|
|
5
|
+
Buy unique products from our [Crafts shop](https://crafts.bitbybit.dev) all designed with Bitbybit algorithms
|
|
6
|
+
Check out [3D Bits app for Shopify](https://apps.shopify.com/3d-bits-1) also used in our Crafts shop
|
|
7
7
|
|
|
8
8
|
<img src="https://app.bitbybit.dev/assets/git-cover.png" alt="Picture showing bitbybit.dev platform">
|
|
9
9
|
|
|
@@ -21,7 +21,6 @@ This package is already used or will be used in these packages:
|
|
|
21
21
|
[@bitbybit-dev/manifold-worker](https://www.npmjs.com/package/@bitbybit-dev/manifold-worker)
|
|
22
22
|
[@bitbybit-dev/occt](https://www.npmjs.com/package/@bitbybit-dev/occt)
|
|
23
23
|
[@bitbybit-dev/occt-worker](https://www.npmjs.com/package/@bitbybit-dev/occt-worker)
|
|
24
|
-
[@bitbybit-dev/base](https://www.npmjs.com/package/@bitbybit-dev/base)
|
|
25
24
|
|
|
26
25
|
This package should work in Node and browser based applications and should provide generic layer which could be helpful to all higher-level CAD algorithms and kernels. Algorithms of this base layer are also exposed on our bitbybit.dev Rete, Blockly & Monaco editors.
|
|
27
26
|
|
package/lib/api/inputs/index.js
CHANGED
|
@@ -4,7 +4,6 @@ export * from "./logic-inputs";
|
|
|
4
4
|
export * from "./math-inputs";
|
|
5
5
|
export * from "./point-inputs";
|
|
6
6
|
export * from "./text-inputs";
|
|
7
|
-
export * from "./base-inputs";
|
|
8
7
|
export * from "./text-inputs";
|
|
9
8
|
export * from "./vector-inputs";
|
|
10
9
|
export * from "./transforms-inputs";
|
package/lib/api/inputs/inputs.js
CHANGED
|
@@ -4,7 +4,6 @@ export * from "./logic-inputs";
|
|
|
4
4
|
export * from "./math-inputs";
|
|
5
5
|
export * from "./point-inputs";
|
|
6
6
|
export * from "./text-inputs";
|
|
7
|
-
export * from "./base-inputs";
|
|
8
7
|
export * from "./text-inputs";
|
|
9
8
|
export * from "./vector-inputs";
|
|
10
9
|
export * from "./transforms-inputs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as Inputs from "../inputs
|
|
1
|
+
import * as Inputs from "../inputs";
|
|
2
2
|
export declare class GeometryHelper {
|
|
3
3
|
transformControlPoints(transformation: number[][] | number[][][], transformedControlPoints: Inputs.Base.Point3[]): Inputs.Base.Point3[];
|
|
4
4
|
getFlatTransformations(transformation: number[][] | number[][][]): number[][];
|
package/lib/api/services/math.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { GeometryHelper } from "./geometry-helper";
|
|
2
|
-
import * as Inputs from "../inputs
|
|
3
|
-
import { Base } from "../inputs/inputs";
|
|
2
|
+
import * as Inputs from "../inputs";
|
|
4
3
|
import { Transforms } from "./transforms";
|
|
5
4
|
/**
|
|
6
5
|
* Contains various methods for points. Point in bitbybit is simply an array containing 3 numbers for [x, y, z].
|
|
@@ -172,7 +171,7 @@ export declare class Point {
|
|
|
172
171
|
* @shortname average point
|
|
173
172
|
* @drawable true
|
|
174
173
|
*/
|
|
175
|
-
averagePoint(inputs: Inputs.Point.PointsDto): Base.Point3;
|
|
174
|
+
averagePoint(inputs: Inputs.Point.PointsDto): Inputs.Base.Point3;
|
|
176
175
|
/**
|
|
177
176
|
* Creates the xyz point
|
|
178
177
|
* @param inputs xyz information
|