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
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.2",
"version": "0.19.3",
"description": "Monorepo for browser CAD which holds bitbybit.dev npm packages",
"main": "index.js",
"scripts": {
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.2/textures/skybox/default_skybox/skybox", this.context.scene);
texture = new BABYLON.CubeTexture("https://cdn.jsdelivr.net/gh/bitbybit-dev/bitbybit-assets@0.19.3/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.2/textures/skybox/grey_gradient/skybox", this.context.scene);
texture = new BABYLON.CubeTexture("https://cdn.jsdelivr.net/gh/bitbybit-dev/bitbybit-assets@0.19.3/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.2/textures/skybox/clear_sky/environment.env",
texture = BABYLON.CubeTexture.CreateFromPrefilteredData("https://cdn.jsdelivr.net/gh/bitbybit-dev/bitbybit-assets@0.19.3/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.2/textures/skybox/city/environmentSpecular.env",
texture = BABYLON.CubeTexture.CreateFromPrefilteredData("https://cdn.jsdelivr.net/gh/bitbybit-dev/bitbybit-assets@0.19.3/textures/skybox/city/environmentSpecular.env",
this.context.scene, false, false);
}

Expand Down
2 changes: 2 additions & 0 deletions packages/dev/babylonjs/lib/api/bitbybit/draw.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ export class Draw extends DrawCore {
* @group draw async
* @shortname draw async void
* @disposableOutput true
* @drawable true
*/
async drawAnyAsyncNoReturn(inputs: Inputs.Draw.DrawAny): Promise<void> {
this.drawAnyAsync(inputs);
Expand All @@ -60,6 +61,7 @@ export class Draw extends DrawCore {
* @returns BabylonJS Mesh Promise
* @group draw async
* @shortname draw async
* @drawable true
* @disposableOutput true
*/
async drawAnyAsync(inputs: Inputs.Draw.DrawAny): Promise<BABYLON.Mesh> {
Expand Down
4 changes: 3 additions & 1 deletion packages/dev/babylonjs/lib/api/draw-helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -362,11 +362,13 @@ export class DrawHelper extends DrawHelperCore {
},
{
width,
materialType: BABYLON.GreasedLineMeshMaterialType.MATERIAL_TYPE_PBR,
color,

createAndAssignMaterial: true,
},
this.context.scene
);
(result.material as BABYLON.PBRMaterial).albedoColor = color;
result.material.alpha = visibility;
return result as BABYLON.GreasedLineMesh;
}
Expand Down
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.2",
"version": "0.19.3",
"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.45.0",
"@babylonjs/gui": "7.45.0",
"@babylonjs/loaders": "7.45.0",
"@babylonjs/materials": "7.45.0",
"@babylonjs/serializers": "7.45.0",
"@babylonjs/core": "7.47.2",
"@babylonjs/gui": "7.47.2",
"@babylonjs/loaders": "7.47.2",
"@babylonjs/materials": "7.47.2",
"@babylonjs/serializers": "7.47.2",
"@babylonjs/havok": "1.3.10",
"@bitbybit-dev/core": "0.19.2",
"@bitbybit-dev/core": "0.19.3",
"earcut": "2.2.3"
},
"devDependencies": {
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.2",
"version": "0.19.3",
"description": "Bit By Bit Developers Base CAD Library to Program Geometry",
"main": "index.js",
"repository": {
Expand Down
112 changes: 56 additions & 56 deletions packages/dev/core/package-lock.json

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

10 changes: 5 additions & 5 deletions packages/dev/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@bitbybit-dev/core",
"version": "0.19.2",
"version": "0.19.3",
"description": "Bit By Bit Developers Core CAD API to Program Geometry",
"main": "index.js",
"repository": {
Expand Down Expand Up @@ -54,10 +54,10 @@
"types": "./index.d.ts",
"type": "module",
"dependencies": {
"@bitbybit-dev/base": "0.19.2",
"@bitbybit-dev/occt-worker": "0.19.2",
"@bitbybit-dev/manifold-worker": "0.19.2",
"@bitbybit-dev/jscad-worker": "0.19.2",
"@bitbybit-dev/base": "0.19.3",
"@bitbybit-dev/occt-worker": "0.19.3",
"@bitbybit-dev/manifold-worker": "0.19.3",
"@bitbybit-dev/jscad-worker": "0.19.3",
"jsonpath-plus": "10.1.0",
"verb-nurbs-web": "2.1.3",
"rxjs": "7.5.5"
Expand Down
34 changes: 17 additions & 17 deletions packages/dev/jscad-worker/package-lock.json

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

Loading