circuit-json-to-gltf 0.0.51 → 0.0.52

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.
Files changed (2) hide show
  1. package/dist/index.js +0 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -15198,10 +15198,6 @@ async function convertCircuitJsonTo3D(circuitJson, options = {}) {
15198
15198
  if (box.mesh && modelScaleFactor !== 1) {
15199
15199
  box.mesh = scaleMesh(box.mesh, modelScaleFactor);
15200
15200
  }
15201
- if (box.mesh && cad.position && usingObjFormat) {
15202
- const meshBottom = box.mesh.boundingBox.min.y;
15203
- box.center.y -= meshBottom;
15204
- }
15205
15201
  if (!box.mesh) {
15206
15202
  box.color = componentColor;
15207
15203
  }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "circuit-json-to-gltf",
3
3
  "main": "dist/index.js",
4
4
  "type": "module",
5
- "version": "0.0.51",
5
+ "version": "0.0.52",
6
6
  "scripts": {
7
7
  "test": "bun test tests/",
8
8
  "format": "biome format --write .",