Skip to content

Commit

Permalink
v0.15.13, update to latest threejs in example
Browse files Browse the repository at this point in the history
  • Loading branch information
matas-bitbybit-dev committed Jun 28, 2024
1 parent e22eb0f commit a77a262
Show file tree
Hide file tree
Showing 15 changed files with 888 additions and 343 deletions.
174 changes: 87 additions & 87 deletions angular/laptop-holder/package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion angular/laptop-holder/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"private": true,
"dependencies": {
"@bitbybit-dev/core": "0.15.9",
"@bitbybit-dev/core": "0.15.13",
"@angular/animations": "13.3.0",
"@angular/common": "13.3.0",
"@angular/compiler": "13.3.0",
Expand Down
14 changes: 7 additions & 7 deletions node/basic/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 node/basic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"license": "MIT",
"type": "module",
"dependencies": {
"@bitbybit-dev/occt": "0.15.9"
"@bitbybit-dev/occt": "0.15.13"
},
"devDependencies": {
"concurrently": "^7.6.0",
Expand Down
14 changes: 7 additions & 7 deletions node/express-app/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 node/express-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"dependencies": {
"dotenv": "^16.0.3",
"express": "^4.18.2",
"@bitbybit-dev/occt": "0.15.9",
"@bitbybit-dev/occt": "0.15.13",
"@babylonjs/core": "7.2.1"
},
"type":"module",
Expand Down
114 changes: 57 additions & 57 deletions react/bitbybit-threejs/package-lock.json

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

6 changes: 3 additions & 3 deletions react/bitbybit-threejs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
"private": true,
"homepage": "https://app-store.bitbybit.dev/bitbybit-threejs",
"dependencies": {
"@bitbybit-dev/occt-worker": "0.15.9",
"three": "0.157.0",
"@bitbybit-dev/occt-worker": "0.15.13",
"three": "0.165.0",
"@testing-library/jest-dom": "5.16.5",
"@testing-library/react": "14.0.0",
"@testing-library/user-event": "14.4.3",
"@types/jest": "29.5.1",
"@types/node": "20.2.5",
"@types/react": "18.2.7",
"@types/three": "0.152.1",
"@types/three": "0.165.0",
"@types/react-dom": "18.2.4",
"react": "18.2.0",
"react-dom": "18.2.0",
Expand Down
2 changes: 1 addition & 1 deletion react/bitbybit-threejs/src/visualize.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { BitByBitOCCT } from '@bitbybit-dev/occt-worker';
import { BufferAttribute, BufferGeometry, Group, Mesh, MeshNormalMaterial, Scene } from 'three';

async function visualize(bitbybitOcct: BitByBitOCCT, shape: Inputs.OCCT.TopoDSShapePointer, precision: number) {
const geometries: THREE.BufferGeometry[] = []
const geometries: BufferGeometry[] = []
const res: Inputs.OCCT.DecomposedMeshDto = await bitbybitOcct.occt.shapeToMesh({ shape, adjustYtoZ: false, precision });
let meshData = res.faceList.map(face => {
return {
Expand Down
Loading

0 comments on commit a77a262

Please sign in to comment.