@tscircuit/3d-viewer 0.0.581 → 0.0.582

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 +3 -2
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -32710,7 +32710,7 @@ import * as THREE20 from "three";
32710
32710
  // package.json
32711
32711
  var package_default = {
32712
32712
  name: "@tscircuit/3d-viewer",
32713
- version: "0.0.580",
32713
+ version: "0.0.581",
32714
32714
  main: "./dist/index.js",
32715
32715
  module: "./dist/index.js",
32716
32716
  type: "module",
@@ -32740,7 +32740,7 @@ var package_default = {
32740
32740
  "@jscad/regl-renderer": "^2.6.12",
32741
32741
  "@jscad/stl-serializer": "^2.1.20",
32742
32742
  "circuit-json": "^0.0.446",
32743
- "circuit-to-canvas": "^0.0.111",
32743
+ "circuit-to-canvas": "^0.0.118",
32744
32744
  "react-hot-toast": "^2.6.0",
32745
32745
  three: "^0.165.0",
32746
32746
  "three-stdlib": "^2.36.0",
@@ -35913,6 +35913,7 @@ function createTraceTextureForLayer({
35913
35913
  });
35914
35914
  drawer.drawElements(elementsToDraw, {
35915
35915
  layers: [pcbRenderLayer],
35916
+ clipContextElements: circuitJson,
35916
35917
  drawSoldermask: false,
35917
35918
  drawSoldermaskTop: false,
35918
35919
  drawSoldermaskBottom: false
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tscircuit/3d-viewer",
3
- "version": "0.0.581",
3
+ "version": "0.0.582",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.js",
6
6
  "type": "module",
@@ -30,7 +30,7 @@
30
30
  "@jscad/regl-renderer": "^2.6.12",
31
31
  "@jscad/stl-serializer": "^2.1.20",
32
32
  "circuit-json": "^0.0.446",
33
- "circuit-to-canvas": "^0.0.111",
33
+ "circuit-to-canvas": "^0.0.118",
34
34
  "react-hot-toast": "^2.6.0",
35
35
  "three": "^0.165.0",
36
36
  "three-stdlib": "^2.36.0",