Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

Visit [bitbybit.dev](https://bitbybit.dev) to use our full cloud platform.
Best way to support us - [Silver or Gold plan subscription](https://bitbybit.dev/auth/pick-plan)
Buy unique designs from our [Crafts shop](https://crafts.bitbybit.dev)
Check out [3D Bits app for Shopify](https://apps.shopify.com/3d-bits-1)
Buy unique products from our [Crafts shop](https://crafts.bitbybit.dev) all designed with Bitbybit algorithms
Check out [3D Bits app for Shopify](https://apps.shopify.com/3d-bits-1) also used in our Crafts shop

<img src="https://app.bitbybit.dev/assets/git-cover.png" alt="Picture showing bitbybit.dev platform">

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bitbybit",
"version": "0.19.4",
"version": "0.19.6",
"description": "Monorepo for browser CAD which holds bitbybit.dev npm packages",
"main": "index.js",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions packages/dev/babylonjs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

Visit [bitbybit.dev](https://bitbybit.dev) to use our full cloud platform.
Best way to support us - [Silver or Gold plan subscription](https://bitbybit.dev/auth/pick-plan)
Buy unique designs from our [Crafts shop](https://crafts.bitbybit.dev)
Check out [3D Bits app for Shopify](https://apps.shopify.com/3d-bits-1)
Buy unique products from our [Crafts shop](https://crafts.bitbybit.dev) all designed with Bitbybit algorithms
Check out [3D Bits app for Shopify](https://apps.shopify.com/3d-bits-1) also used in our Crafts shop

<img src="https://app.bitbybit.dev/assets/git-cover.png" alt="Picture showing bitbybit.dev platform">

Expand Down
8 changes: 4 additions & 4 deletions packages/dev/babylonjs/lib/api/bitbybit/babylon/scene.ts
Original file line number Diff line number Diff line change
Expand Up @@ -335,14 +335,14 @@ export class BabylonScene {
enableSkybox(inputs: Inputs.BabylonScene.SkyboxDto): void {
let texture: BABYLON.CubeTexture;
if (inputs.skybox === Inputs.Base.skyboxEnum.default) {
texture = new BABYLON.CubeTexture("https://cdn.jsdelivr.net/gh/bitbybit-dev/bitbybit-assets@0.19.4/textures/skybox/default_skybox/skybox", this.context.scene);
texture = new BABYLON.CubeTexture("https://cdn.jsdelivr.net/gh/bitbybit-dev/bitbybit-assets@0.19.6/textures/skybox/default_skybox/skybox", this.context.scene);
} else if (inputs.skybox === Inputs.Base.skyboxEnum.greyGradient) {
texture = new BABYLON.CubeTexture("https://cdn.jsdelivr.net/gh/bitbybit-dev/bitbybit-assets@0.19.4/textures/skybox/grey_gradient/skybox", this.context.scene);
texture = new BABYLON.CubeTexture("https://cdn.jsdelivr.net/gh/bitbybit-dev/bitbybit-assets@0.19.6/textures/skybox/grey_gradient/skybox", this.context.scene);
} else if (inputs.skybox === Inputs.Base.skyboxEnum.clearSky) {
texture = BABYLON.CubeTexture.CreateFromPrefilteredData("https://cdn.jsdelivr.net/gh/bitbybit-dev/bitbybit-assets@0.19.4/textures/skybox/clear_sky/environment.env",
texture = BABYLON.CubeTexture.CreateFromPrefilteredData("https://cdn.jsdelivr.net/gh/bitbybit-dev/bitbybit-assets@0.19.6/textures/skybox/clear_sky/environment.env",
this.context.scene, false, false);
} else if (inputs.skybox === Inputs.Base.skyboxEnum.city) {
texture = BABYLON.CubeTexture.CreateFromPrefilteredData("https://cdn.jsdelivr.net/gh/bitbybit-dev/bitbybit-assets@0.19.4/textures/skybox/city/environmentSpecular.env",
texture = BABYLON.CubeTexture.CreateFromPrefilteredData("https://cdn.jsdelivr.net/gh/bitbybit-dev/bitbybit-assets@0.19.6/textures/skybox/city/environmentSpecular.env",
this.context.scene, false, false);
}

Expand Down
1 change: 0 additions & 1 deletion packages/dev/babylonjs/lib/api/inputs/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,4 @@ export * from "./babylon-webxr";
export * from "./scene-inputs";
export * from "./node-inputs";
export * from "./draw-inputs";
export * from "@bitbybit-dev/base/lib/api/inputs";
export * from "@bitbybit-dev/core/lib/api/inputs/inputs";
208 changes: 104 additions & 104 deletions packages/dev/babylonjs/package-lock.json

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions packages/dev/babylonjs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@bitbybit-dev/babylonjs",
"version": "0.19.4",
"version": "0.19.6",
"description": "Bit By Bit Developers BABYLONJS CAD Library to Program Geometry",
"main": "index.js",
"repository": {
Expand Down Expand Up @@ -54,13 +54,13 @@
"types": "./index.d.ts",
"type": "module",
"dependencies": {
"@babylonjs/core": "7.48.0",
"@babylonjs/gui": "7.48.0",
"@babylonjs/loaders": "7.48.0",
"@babylonjs/materials": "7.48.0",
"@babylonjs/serializers": "7.48.0",
"@babylonjs/core": "7.52.1",
"@babylonjs/gui": "7.52.1",
"@babylonjs/loaders": "7.52.1",
"@babylonjs/materials": "7.52.1",
"@babylonjs/serializers": "7.52.1",
"@babylonjs/havok": "1.3.10",
"@bitbybit-dev/core": "0.19.4",
"@bitbybit-dev/core": "0.19.6",
"earcut": "2.2.3"
},
"devDependencies": {
Expand Down
5 changes: 2 additions & 3 deletions packages/dev/base/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

Visit [bitbybit.dev](https://bitbybit.dev) to use our full cloud platform.
Best way to support us - [Silver or Gold plan subscription](https://bitbybit.dev/auth/pick-plan)
Buy unique designs from our [Crafts shop](https://crafts.bitbybit.dev)
Check out [3D Bits app for Shopify](https://apps.shopify.com/3d-bits-1)
Buy unique products from our [Crafts shop](https://crafts.bitbybit.dev) all designed with Bitbybit algorithms
Check out [3D Bits app for Shopify](https://apps.shopify.com/3d-bits-1) also used in our Crafts shop

<img src="https://app.bitbybit.dev/assets/git-cover.png" alt="Picture showing bitbybit.dev platform">

Expand All @@ -21,7 +21,6 @@ This package is already used or will be used in these packages:
[@bitbybit-dev/manifold-worker](https://www.npmjs.com/package/@bitbybit-dev/manifold-worker)
[@bitbybit-dev/occt](https://www.npmjs.com/package/@bitbybit-dev/occt)
[@bitbybit-dev/occt-worker](https://www.npmjs.com/package/@bitbybit-dev/occt-worker)
[@bitbybit-dev/base](https://www.npmjs.com/package/@bitbybit-dev/base)

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.

Expand Down
1 change: 1 addition & 0 deletions packages/dev/base/lib/api/inputs/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ export * from "./point-inputs";
export * from "./text-inputs";
export * from "./vector-inputs";
export * from "./transforms-inputs";
export * from "./base-inputs";
1 change: 0 additions & 1 deletion packages/dev/base/lib/api/inputs/inputs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ export * from "./logic-inputs";
export * from "./math-inputs";
export * from "./point-inputs";
export * from "./text-inputs";
export * from "./base-inputs";
export * from "./text-inputs";
export * from "./vector-inputs";
export * from "./transforms-inputs";
2 changes: 1 addition & 1 deletion packages/dev/base/lib/api/services/color.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as Inputs from "../inputs/inputs";
import * as Inputs from "../inputs";
import { MathBitByBit } from "./math";

export class Color {
Expand Down
2 changes: 1 addition & 1 deletion packages/dev/base/lib/api/services/geometry-helper.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as Inputs from "../inputs/inputs";
import * as Inputs from "../inputs";

export class GeometryHelper {

Expand Down
2 changes: 1 addition & 1 deletion packages/dev/base/lib/api/services/lists.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Lists } from "./lists";
import * as Inputs from "../inputs/inputs";
import * as Inputs from "../inputs";

describe("Lists unit tests", () => {
let lists: Lists;
Expand Down
2 changes: 1 addition & 1 deletion packages/dev/base/lib/api/services/lists.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as Inputs from "../inputs/inputs";
import * as Inputs from "../inputs";

/**
* Contains various list methods.
Expand Down
2 changes: 1 addition & 1 deletion packages/dev/base/lib/api/services/logic.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Logic } from "./logic";
import * as Inputs from "../inputs/inputs";
import * as Inputs from "../inputs";

describe("Logic unit tests", () => {
let logic: Logic;
Expand Down
2 changes: 1 addition & 1 deletion packages/dev/base/lib/api/services/logic.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as Inputs from "../inputs/inputs";
import * as Inputs from "../inputs";

/**
* Contains various logic methods.
Expand Down
2 changes: 1 addition & 1 deletion packages/dev/base/lib/api/services/math.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { MathBitByBit } from "./math";
import * as Inputs from "../inputs/inputs";
import * as Inputs from "../inputs";

describe("Math unit tests", () => {
let math: MathBitByBit;
Expand Down
2 changes: 1 addition & 1 deletion packages/dev/base/lib/api/services/math.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as Inputs from "../inputs/inputs";
import * as Inputs from "../inputs";

/**
* Contains various math methods.
Expand Down
5 changes: 2 additions & 3 deletions packages/dev/base/lib/api/services/point.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { GeometryHelper } from "./geometry-helper";
import * as Inputs from "../inputs/inputs";
import { Base } from "../inputs/inputs";
import * as Inputs from "../inputs";
import { Transforms } from "./transforms";

/**
Expand Down Expand Up @@ -252,7 +251,7 @@ export class Point {
* @shortname average point
* @drawable true
*/
averagePoint(inputs: Inputs.Point.PointsDto): Base.Point3 {
averagePoint(inputs: Inputs.Point.PointsDto): Inputs.Base.Point3 {
const xVals = [];
const yVals = [];
const zVals = [];
Expand Down
2 changes: 1 addition & 1 deletion packages/dev/base/lib/api/services/text.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as Inputs from "../inputs/inputs";
import * as Inputs from "../inputs";

/**
* Contains various text methods.
Expand Down
2 changes: 1 addition & 1 deletion packages/dev/base/lib/api/services/transforms.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

import { Base } from "../inputs/base-inputs";
import * as Inputs from "../inputs/inputs";
import * as Inputs from "../inputs";
import { MathBitByBit } from "./math";
import { Vector } from "./vector";

Expand Down
2 changes: 1 addition & 1 deletion packages/dev/base/lib/api/services/vector.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as Inputs from "../inputs/inputs";
import * as Inputs from "../inputs";
import { GeometryHelper } from "./geometry-helper";
import { MathBitByBit } from "./math";
import { Vector } from "./vector";
Expand Down
2 changes: 1 addition & 1 deletion packages/dev/base/lib/api/services/vector.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

import * as Inputs from "../inputs/inputs";
import * as Inputs from "../inputs";
import { GeometryHelper } from "./geometry-helper";
import { MathBitByBit } from "./math";

Expand Down
4 changes: 2 additions & 2 deletions packages/dev/base/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/dev/base/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@bitbybit-dev/base",
"version": "0.19.4",
"version": "0.19.6",
"description": "Bit By Bit Developers Base CAD Library to Program Geometry",
"main": "index.js",
"repository": {
Expand Down
4 changes: 2 additions & 2 deletions packages/dev/core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

Visit [bitbybit.dev](https://bitbybit.dev) to use our full cloud platform.
Best way to support us - [Silver or Gold plan subscription](https://bitbybit.dev/auth/pick-plan)
Buy unique designs from our [Crafts shop](https://crafts.bitbybit.dev)
Check out [3D Bits app for Shopify](https://apps.shopify.com/3d-bits-1)
Buy unique products from our [Crafts shop](https://crafts.bitbybit.dev) all designed with Bitbybit algorithms
Check out [3D Bits app for Shopify](https://apps.shopify.com/3d-bits-1) also used in our Crafts shop

<img src="https://app.bitbybit.dev/assets/git-cover.png" alt="Picture showing bitbybit.dev platform">

Expand Down
3 changes: 2 additions & 1 deletion packages/dev/core/lib/api/inputs/inputs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ export * from "./verb-inputs";
export * from "@bitbybit-dev/jscad/lib/api/inputs/jscad-inputs";
export * from "@bitbybit-dev/manifold/lib/api/inputs/manifold-inputs";
export * from "@bitbybit-dev/occt/lib/api/inputs/occ-inputs";
export * from "@bitbybit-dev/occt/lib/api/inputs/base-inputs";
export * from "@bitbybit-dev/occt/lib/api/inputs/base-inputs";
export * from "@bitbybit-dev/base/lib/api/inputs/inputs";
Loading
Loading