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.
- package/dist/index.js +0 -4
- 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
|
}
|