@tscircuit/3d-viewer 0.0.484 → 0.0.486

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 +5 -5
  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.485",
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,13 +36289,13 @@ 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
- return (hole.shape === "pill" || hole.hole_shape === "pill") && typeof hole.hole_width === "number" && typeof hole.hole_height === "number";
36295
+ return hole.hole_shape === "pill" && typeof hole.hole_width === "number" && typeof hole.hole_height === "number";
36296
36296
  }
36297
36297
  function isRotatedPillHole(hole) {
36298
- return (hole.shape === "rotated_pill" || hole.hole_shape === "rotated_pill") && typeof hole.hole_width === "number" && typeof hole.hole_height === "number" && typeof hole.ccw_rotation === "number";
36298
+ return hole.hole_shape === "rotated_pill" && typeof hole.hole_width === "number" && typeof hole.hole_height === "number" && typeof hole.ccw_rotation === "number";
36299
36299
  }
36300
36300
  function processNonPlatedHolesForManifold(Manifold, circuitJson, pcbThickness, manifoldInstancesForCleanup) {
36301
36301
  const nonPlatedHoleBoardDrills = [];
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.486",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.js",
6
6
  "type": "module",