@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 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 designs from our [Crafts shop](https://crafts.bitbybit.dev)
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
 
@@ -6,3 +6,4 @@ export * from "./point-inputs";
6
6
  export * from "./text-inputs";
7
7
  export * from "./vector-inputs";
8
8
  export * from "./transforms-inputs";
9
+ export * from "./base-inputs";
@@ -6,3 +6,4 @@ export * from "./point-inputs";
6
6
  export * from "./text-inputs";
7
7
  export * from "./vector-inputs";
8
8
  export * from "./transforms-inputs";
9
+ export * from "./base-inputs";
@@ -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";
@@ -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/inputs";
1
+ import * as Inputs from "../inputs";
2
2
  import { MathBitByBit } from "./math";
3
3
  export declare class Color {
4
4
  private readonly math;
@@ -1,4 +1,4 @@
1
- import * as Inputs from "../inputs/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[][];
@@ -1,4 +1,4 @@
1
- import * as Inputs from "../inputs/inputs";
1
+ import * as Inputs from "../inputs";
2
2
  /**
3
3
  * Contains various list methods.
4
4
  * <div>
@@ -1,4 +1,4 @@
1
- import * as Inputs from "../inputs/inputs";
1
+ import * as Inputs from "../inputs";
2
2
  /**
3
3
  * Contains various list methods.
4
4
  * <div>
@@ -1,4 +1,4 @@
1
- import * as Inputs from "../inputs/inputs";
1
+ import * as Inputs from "../inputs";
2
2
  /**
3
3
  * Contains various logic methods.
4
4
  */
@@ -1,4 +1,4 @@
1
- import * as Inputs from "../inputs/inputs";
1
+ import * as Inputs from "../inputs";
2
2
  /**
3
3
  * Contains various math methods.
4
4
  */
@@ -1,4 +1,4 @@
1
- import * as Inputs from "../inputs/inputs";
1
+ import * as Inputs from "../inputs";
2
2
  /**
3
3
  * Contains various math methods.
4
4
  */
@@ -1,6 +1,5 @@
1
1
  import { GeometryHelper } from "./geometry-helper";
2
- import * as Inputs from "../inputs/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
@@ -1,4 +1,4 @@
1
- import * as Inputs from "../inputs/inputs";
1
+ import * as Inputs from "../inputs";
2
2
  /**
3
3
  * Contains various text methods.
4
4
  */
@@ -1,5 +1,5 @@
1
1
  import { Base } from "../inputs/base-inputs";
2
- import * as Inputs from "../inputs/inputs";
2
+ import * as Inputs from "../inputs";
3
3
  import { MathBitByBit } from "./math";
4
4
  import { Vector } from "./vector";
5
5
  /**
@@ -1,4 +1,4 @@
1
- import * as Inputs from "../inputs/inputs";
1
+ import * as Inputs from "../inputs";
2
2
  import { GeometryHelper } from "./geometry-helper";
3
3
  import { MathBitByBit } from "./math";
4
4
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitbybit-dev/base",
3
- "version": "0.19.4",
3
+ "version": "0.19.6",
4
4
  "description": "Bit By Bit Developers Base CAD Library to Program Geometry",
5
5
  "main": "index.js",
6
6
  "repository": {