@tscircuit/core 0.0.851 → 0.0.853

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 +10 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -12814,6 +12814,12 @@ ${spiceString}`);
12814
12814
  group._markDirty("SimulationSpiceEngineRender");
12815
12815
  } catch (error) {
12816
12816
  debug10(`Simulation failed for engine ${engineName}: ${error}`);
12817
+ const simulationExperiment = root.db.simulation_experiment.list()[0];
12818
+ root.db.simulation_unknown_experiment_error.insert({
12819
+ simulation_experiment_id: simulationExperiment?.simulation_experiment_id,
12820
+ error_type: "simulation_unknown_experiment_error",
12821
+ message: error instanceof Error ? error.message : String(error)
12822
+ });
12817
12823
  }
12818
12824
  });
12819
12825
  }
@@ -16368,13 +16374,15 @@ var CopperPour = class extends PrimitiveComponent2 {
16368
16374
  });
16369
16375
  const solver = new CopperPourPipelineSolver(inputProblem);
16370
16376
  const { brep_shapes } = solver.getOutput();
16377
+ const coveredWithSolderMask = props.coveredWithSolderMask ?? false;
16371
16378
  for (const brep_shape of brep_shapes) {
16372
16379
  db.pcb_copper_pour.insert({
16373
16380
  shape: "brep",
16374
16381
  layer: props.layer,
16375
16382
  brep_shape,
16376
16383
  source_net_id: net.source_net_id,
16377
- subcircuit_id: subcircuit?.subcircuit_id ?? void 0
16384
+ subcircuit_id: subcircuit?.subcircuit_id ?? void 0,
16385
+ covered_with_solder_mask: coveredWithSolderMask
16378
16386
  });
16379
16387
  }
16380
16388
  });
@@ -17619,7 +17627,7 @@ import { identity as identity6 } from "transformation-matrix";
17619
17627
  var package_default = {
17620
17628
  name: "@tscircuit/core",
17621
17629
  type: "module",
17622
- version: "0.0.850",
17630
+ version: "0.0.852",
17623
17631
  types: "dist/index.d.ts",
17624
17632
  main: "dist/index.js",
17625
17633
  module: "dist/index.js",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tscircuit/core",
3
3
  "type": "module",
4
- "version": "0.0.851",
4
+ "version": "0.0.853",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",