We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a89463 commit cc986c2Copy full SHA for cc986c2
react/bitbybit-threejs/src/visualize.ts
@@ -4,7 +4,7 @@ import { BufferAttribute, BufferGeometry, Group, Mesh, MeshNormalMaterial, Scene
4
5
async function visualize(bitbybitOcct: BitByBitOCCT, shape: Inputs.OCCT.TopoDSShapePointer, precision: number) {
6
const geometries: THREE.BufferGeometry[] = []
7
- const res = await bitbybitOcct.occt.shapeToMesh({ shape, adjustYtoZ: false, precision });
+ const res: Inputs.OCCT.DecomposedMeshDto = await bitbybitOcct.occt.shapeToMesh({ shape, adjustYtoZ: false, precision });
8
let meshData = res.faceList.map(face => {
9
return {
10
positions: face.vertex_coord,
0 commit comments