@tscircuit/core 0.0.1261 → 0.0.1262

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.d.ts CHANGED
@@ -12,7 +12,7 @@ import { symbols, SchSymbol, BaseSymbolName } from 'schematic-symbols';
12
12
  import { CircuitJsonUtilObjects } from '@tscircuit/circuit-json-util';
13
13
  import { Matrix } from 'transformation-matrix';
14
14
  import { PackSolver2 } from 'calculate-packing';
15
- import { AutoroutingPipelineSolver, AssignableAutoroutingPipeline2, AssignableAutoroutingPipeline3, AutoroutingPipeline1_OriginalUnravel, AutoroutingPipelineSolver3_HgPortPointPathing, AutoroutingPipelineSolver5, SimplifiedPcbTrace as SimplifiedPcbTrace$1, SimpleRouteJson as SimpleRouteJson$1 } from '@tscircuit/capacity-autorouter';
15
+ import { AutoroutingPipelineSolver, AssignableAutoroutingPipeline2, AssignableAutoroutingPipeline3, AutoroutingPipeline1_OriginalUnravel, AutoroutingPipelineSolver3_HgPortPointPathing, AutoroutingPipelineSolver5, AutoroutingPipelineSolver8, SimplifiedPcbTrace as SimplifiedPcbTrace$1, SimpleRouteJson as SimpleRouteJson$1 } from '@tscircuit/capacity-autorouter';
16
16
  import { CopperPourPipelineSolver } from '@tscircuit/copper-pour-solver';
17
17
  import { Bounds } from '@tscircuit/math-utils';
18
18
  import { ConnectivityMap } from 'circuit-json-to-connectivity-map';
@@ -27,6 +27,7 @@ declare const SOLVERS: {
27
27
  AutoroutingPipelineSolver3_HgPortPointPathing: typeof AutoroutingPipelineSolver3_HgPortPointPathing;
28
28
  AutoroutingPipelineSolver4: typeof AutoroutingPipelineSolver;
29
29
  AutoroutingPipelineSolver5: typeof AutoroutingPipelineSolver5;
30
+ AutoroutingPipelineSolver8: typeof AutoroutingPipelineSolver8;
30
31
  CopperPourPipelineSolver: typeof CopperPourPipelineSolver;
31
32
  };
32
33
  type SolverName = keyof typeof SOLVERS;
package/dist/index.js CHANGED
@@ -13657,7 +13657,8 @@ import {
13657
13657
  AssignableAutoroutingPipeline3,
13658
13658
  AutoroutingPipelineSolver3_HgPortPointPathing,
13659
13659
  AutoroutingPipelineSolver4,
13660
- AutoroutingPipelineSolver5
13660
+ AutoroutingPipelineSolver5,
13661
+ AutoroutingPipelineSolver8
13661
13662
  } from "@tscircuit/capacity-autorouter";
13662
13663
  import { CopperPourPipelineSolver } from "@tscircuit/copper-pour-solver";
13663
13664
  var SOLVERS = {
@@ -13669,6 +13670,7 @@ var SOLVERS = {
13669
13670
  AutoroutingPipelineSolver3_HgPortPointPathing,
13670
13671
  AutoroutingPipelineSolver4,
13671
13672
  AutoroutingPipelineSolver5,
13673
+ AutoroutingPipelineSolver8,
13672
13674
  CopperPourPipelineSolver
13673
13675
  };
13674
13676
 
@@ -13694,6 +13696,7 @@ var TscircuitAutorouter = class {
13694
13696
  useAssignableSolver = false,
13695
13697
  useAutoJumperSolver = false,
13696
13698
  autorouterVersion: autorouterVersion2,
13699
+ useLaserPrefabSolver = false,
13697
13700
  effort,
13698
13701
  onSolverStarted
13699
13702
  } = options;
@@ -13706,6 +13709,8 @@ var TscircuitAutorouter = class {
13706
13709
  solverName = "AutoroutingPipelineSolver4";
13707
13710
  } else if (autorouterVersion2 === "v5") {
13708
13711
  solverName = "AutoroutingPipelineSolver5";
13712
+ } else if (useLaserPrefabSolver) {
13713
+ solverName = "AutoroutingPipelineSolver8";
13709
13714
  } else if (useAutoJumperSolver) {
13710
13715
  solverName = "AssignableAutoroutingPipeline3";
13711
13716
  } else if (useAssignableSolver) {
@@ -20170,6 +20175,7 @@ var Group5 = class extends NormalComponent3 {
20170
20175
  targetMinCapacity: phaseAutorouterConfig.targetMinCapacity,
20171
20176
  useAssignableSolver: phaseIsLaserPrefabPreset || isSingleLayerBoard,
20172
20177
  useAutoJumperSolver: phaseIsAutoJumperPreset,
20178
+ useLaserPrefabSolver: phaseIsLaserPrefabPreset,
20173
20179
  autorouterVersion: autorouterVersion2,
20174
20180
  effort,
20175
20181
  onSolverStarted: ({ solverName, solverParams }) => this.root?.emit("solver:started", {
@@ -21502,7 +21508,7 @@ import { identity as identity5 } from "transformation-matrix";
21502
21508
  var package_default = {
21503
21509
  name: "@tscircuit/core",
21504
21510
  type: "module",
21505
- version: "0.0.1258",
21511
+ version: "0.0.1261",
21506
21512
  types: "dist/index.d.ts",
21507
21513
  main: "dist/index.js",
21508
21514
  module: "dist/index.js",
@@ -21534,7 +21540,7 @@ var package_default = {
21534
21540
  "@biomejs/biome": "^1.8.3",
21535
21541
  "@resvg/resvg-js": "^2.6.2",
21536
21542
  "@tscircuit/alphabet": "0.0.25",
21537
- "@tscircuit/capacity-autorouter": "^0.0.523",
21543
+ "@tscircuit/capacity-autorouter": "^0.0.529",
21538
21544
  "@tscircuit/checks": "0.0.130",
21539
21545
  "@tscircuit/circuit-json-util": "^0.0.94",
21540
21546
  "@tscircuit/common": "^0.0.20",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tscircuit/core",
3
3
  "type": "module",
4
- "version": "0.0.1261",
4
+ "version": "0.0.1262",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",
@@ -33,7 +33,7 @@
33
33
  "@biomejs/biome": "^1.8.3",
34
34
  "@resvg/resvg-js": "^2.6.2",
35
35
  "@tscircuit/alphabet": "0.0.25",
36
- "@tscircuit/capacity-autorouter": "^0.0.523",
36
+ "@tscircuit/capacity-autorouter": "^0.0.529",
37
37
  "@tscircuit/checks": "0.0.130",
38
38
  "@tscircuit/circuit-json-util": "^0.0.94",
39
39
  "@tscircuit/common": "^0.0.20",