@tscircuit/3d-viewer 0.0.484 → 0.0.485

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 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -30825,7 +30825,7 @@ import * as THREE16 from "three";
30825
30825
  // package.json
30826
30826
  var package_default = {
30827
30827
  name: "@tscircuit/3d-viewer",
30828
- version: "0.0.483",
30828
+ version: "0.0.484",
30829
30829
  main: "./dist/index.js",
30830
30830
  module: "./dist/index.js",
30831
30831
  type: "module",
@@ -33335,7 +33335,7 @@ var BoardGeomBuilder = class {
33335
33335
  if (!this.boardGeom) return;
33336
33336
  const holeDepth = this.ctx.pcbThickness * 1.5;
33337
33337
  const copperInset = 0.02;
33338
- if (hole.hole_shape === "round" || hole.hole_shape === "circle") {
33338
+ if (hole.hole_shape === "circle") {
33339
33339
  const cyGeom = (0, import_primitives7.cylinder)({
33340
33340
  center: [hole.x, hole.y, 0],
33341
33341
  radius: hole.hole_diameter / 2 + M,
@@ -36289,7 +36289,7 @@ function createPlatedHoleDrill({
36289
36289
 
36290
36290
  // src/utils/manifold/process-non-plated-holes.ts
36291
36291
  function isCircleHole(hole) {
36292
- return (hole.shape === "circle" || hole.hole_shape === "circle") && typeof hole.hole_diameter === "number";
36292
+ return hole.hole_shape === "circle" && typeof hole.hole_diameter === "number";
36293
36293
  }
36294
36294
  function isPillHole(hole) {
36295
36295
  return (hole.shape === "pill" || hole.hole_shape === "pill") && typeof hole.hole_width === "number" && typeof hole.hole_height === "number";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tscircuit/3d-viewer",
3
- "version": "0.0.484",
3
+ "version": "0.0.485",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.js",
6
6
  "type": "module",