circuit-json-to-gltf 0.0.26 → 0.0.27
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 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -14592,7 +14592,6 @@ async function convertSvgToCanvasBrowser(svgString, resolution, backgroundColor)
|
|
|
14592
14592
|
});
|
|
14593
14593
|
}
|
|
14594
14594
|
async function renderBoardTextures(circuitJson, resolution = 1024) {
|
|
14595
|
-
console.log("Generating PCB texture...");
|
|
14596
14595
|
const [top, bottom] = await Promise.all([
|
|
14597
14596
|
renderBoardLayer(circuitJson, {
|
|
14598
14597
|
layer: "top",
|
|
@@ -14607,10 +14606,6 @@ async function renderBoardTextures(circuitJson, resolution = 1024) {
|
|
|
14607
14606
|
// Darker green for bottom layer
|
|
14608
14607
|
})
|
|
14609
14608
|
]);
|
|
14610
|
-
console.log("PCB texture generated:", {
|
|
14611
|
-
topLength: top.length,
|
|
14612
|
-
bottomLength: bottom.length
|
|
14613
|
-
});
|
|
14614
14609
|
return { top, bottom };
|
|
14615
14610
|
}
|
|
14616
14611
|
|