@tscircuit/core 0.0.1101 → 0.0.1102
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 +8 -7
- package/dist/index.js +8 -4
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ import { symbols, SchSymbol, BaseSymbolName } from 'schematic-symbols';
|
|
|
11
11
|
import { CircuitJsonUtilObjects } from '@tscircuit/circuit-json-util';
|
|
12
12
|
import { Matrix } from 'transformation-matrix';
|
|
13
13
|
import { PackSolver2 } from 'calculate-packing';
|
|
14
|
-
import { AutoroutingPipelineSolver, AssignableAutoroutingPipeline2, AssignableAutoroutingPipeline3, AutoroutingPipeline1_OriginalUnravel } from '@tscircuit/capacity-autorouter';
|
|
14
|
+
import { AutoroutingPipelineSolver, AssignableAutoroutingPipeline2, AssignableAutoroutingPipeline3, AutoroutingPipeline1_OriginalUnravel, AutoroutingPipelineSolver3_HgPortPointPathing } from '@tscircuit/capacity-autorouter';
|
|
15
15
|
import { CopperPourPipelineSolver } from '@tscircuit/copper-pour-solver';
|
|
16
16
|
import { ConnectivityMap } from 'circuit-json-to-connectivity-map';
|
|
17
17
|
import { GraphicsObject } from 'graphics-debug';
|
|
@@ -22,6 +22,7 @@ declare const SOLVERS: {
|
|
|
22
22
|
AssignableAutoroutingPipeline2: typeof AssignableAutoroutingPipeline2;
|
|
23
23
|
AssignableAutoroutingPipeline3: typeof AssignableAutoroutingPipeline3;
|
|
24
24
|
AutoroutingPipeline1_OriginalUnravel: typeof AutoroutingPipeline1_OriginalUnravel;
|
|
25
|
+
AutoroutingPipelineSolver3_HgPortPointPathing: typeof AutoroutingPipelineSolver3_HgPortPointPathing;
|
|
25
26
|
CopperPourPipelineSolver: typeof CopperPourPipelineSolver;
|
|
26
27
|
};
|
|
27
28
|
type SolverName = keyof typeof SOLVERS;
|
|
@@ -2590,7 +2591,7 @@ declare class Board extends Group<typeof boardProps> implements BoardI, Subcircu
|
|
|
2590
2591
|
pcbRouteCache: zod.ZodOptional<zod.ZodType<_tscircuit_props.PcbRouteCache, zod.ZodTypeDef, _tscircuit_props.PcbRouteCache>>;
|
|
2591
2592
|
autorouter: zod.ZodOptional<zod.ZodType<_tscircuit_props.AutorouterProp, zod.ZodTypeDef, _tscircuit_props.AutorouterProp>>;
|
|
2592
2593
|
autorouterEffortLevel: zod.ZodOptional<zod.ZodEnum<["1x", "2x", "5x", "10x", "100x"]>>;
|
|
2593
|
-
autorouterVersion: zod.ZodOptional<zod.ZodEnum<["v1", "v2", "latest"]>>;
|
|
2594
|
+
autorouterVersion: zod.ZodOptional<zod.ZodEnum<["v1", "v2", "v3", "latest"]>>;
|
|
2594
2595
|
square: zod.ZodOptional<zod.ZodBoolean>;
|
|
2595
2596
|
emptyArea: zod.ZodOptional<zod.ZodString>;
|
|
2596
2597
|
filledArea: zod.ZodOptional<zod.ZodString>;
|
|
@@ -2934,7 +2935,7 @@ declare class Board extends Group<typeof boardProps> implements BoardI, Subcircu
|
|
|
2934
2935
|
pcbRouteCache?: _tscircuit_props.PcbRouteCache | undefined;
|
|
2935
2936
|
autorouter?: _tscircuit_props.AutorouterProp | undefined;
|
|
2936
2937
|
autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
|
|
2937
|
-
autorouterVersion?: "v1" | "v2" | "latest" | undefined;
|
|
2938
|
+
autorouterVersion?: "v1" | "v2" | "v3" | "latest" | undefined;
|
|
2938
2939
|
square?: boolean | undefined;
|
|
2939
2940
|
emptyArea?: string | undefined;
|
|
2940
2941
|
filledArea?: string | undefined;
|
|
@@ -3261,7 +3262,7 @@ declare class Board extends Group<typeof boardProps> implements BoardI, Subcircu
|
|
|
3261
3262
|
pcbRouteCache?: _tscircuit_props.PcbRouteCache | undefined;
|
|
3262
3263
|
autorouter?: _tscircuit_props.AutorouterProp | undefined;
|
|
3263
3264
|
autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
|
|
3264
|
-
autorouterVersion?: "v1" | "v2" | "latest" | undefined;
|
|
3265
|
+
autorouterVersion?: "v1" | "v2" | "v3" | "latest" | undefined;
|
|
3265
3266
|
square?: boolean | undefined;
|
|
3266
3267
|
emptyArea?: string | undefined;
|
|
3267
3268
|
filledArea?: string | undefined;
|
|
@@ -4100,7 +4101,7 @@ declare class MountedBoard extends Subcircuit implements BoardI {
|
|
|
4100
4101
|
pcbRouteCache: zod.ZodOptional<zod.ZodType<_tscircuit_props.PcbRouteCache, zod.ZodTypeDef, _tscircuit_props.PcbRouteCache>>;
|
|
4101
4102
|
autorouter: zod.ZodOptional<zod.ZodType<_tscircuit_props.AutorouterProp, zod.ZodTypeDef, _tscircuit_props.AutorouterProp>>;
|
|
4102
4103
|
autorouterEffortLevel: zod.ZodOptional<zod.ZodEnum<["1x", "2x", "5x", "10x", "100x"]>>;
|
|
4103
|
-
autorouterVersion: zod.ZodOptional<zod.ZodEnum<["v1", "v2", "latest"]>>;
|
|
4104
|
+
autorouterVersion: zod.ZodOptional<zod.ZodEnum<["v1", "v2", "v3", "latest"]>>;
|
|
4104
4105
|
square: zod.ZodOptional<zod.ZodBoolean>;
|
|
4105
4106
|
emptyArea: zod.ZodOptional<zod.ZodString>;
|
|
4106
4107
|
filledArea: zod.ZodOptional<zod.ZodString>;
|
|
@@ -4560,7 +4561,7 @@ declare class MountedBoard extends Subcircuit implements BoardI {
|
|
|
4560
4561
|
pcbRouteCache?: _tscircuit_props.PcbRouteCache | undefined;
|
|
4561
4562
|
autorouter?: _tscircuit_props.AutorouterProp | undefined;
|
|
4562
4563
|
autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
|
|
4563
|
-
autorouterVersion?: "v1" | "v2" | "latest" | undefined;
|
|
4564
|
+
autorouterVersion?: "v1" | "v2" | "v3" | "latest" | undefined;
|
|
4564
4565
|
square?: boolean | undefined;
|
|
4565
4566
|
emptyArea?: string | undefined;
|
|
4566
4567
|
filledArea?: string | undefined;
|
|
@@ -4910,7 +4911,7 @@ declare class MountedBoard extends Subcircuit implements BoardI {
|
|
|
4910
4911
|
pcbRouteCache?: _tscircuit_props.PcbRouteCache | undefined;
|
|
4911
4912
|
autorouter?: _tscircuit_props.AutorouterProp | undefined;
|
|
4912
4913
|
autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
|
|
4913
|
-
autorouterVersion?: "v1" | "v2" | "latest" | undefined;
|
|
4914
|
+
autorouterVersion?: "v1" | "v2" | "v3" | "latest" | undefined;
|
|
4914
4915
|
square?: boolean | undefined;
|
|
4915
4916
|
emptyArea?: string | undefined;
|
|
4916
4917
|
filledArea?: string | undefined;
|
package/dist/index.js
CHANGED
|
@@ -11824,7 +11824,8 @@ import {
|
|
|
11824
11824
|
AutoroutingPipelineSolver,
|
|
11825
11825
|
AssignableAutoroutingPipeline2,
|
|
11826
11826
|
AutoroutingPipeline1_OriginalUnravel,
|
|
11827
|
-
AssignableAutoroutingPipeline3
|
|
11827
|
+
AssignableAutoroutingPipeline3,
|
|
11828
|
+
AutoroutingPipelineSolver3_HgPortPointPathing
|
|
11828
11829
|
} from "@tscircuit/capacity-autorouter";
|
|
11829
11830
|
import { CopperPourPipelineSolver } from "@tscircuit/copper-pour-solver";
|
|
11830
11831
|
var SOLVERS = {
|
|
@@ -11833,6 +11834,7 @@ var SOLVERS = {
|
|
|
11833
11834
|
AssignableAutoroutingPipeline2,
|
|
11834
11835
|
AssignableAutoroutingPipeline3,
|
|
11835
11836
|
AutoroutingPipeline1_OriginalUnravel,
|
|
11837
|
+
AutoroutingPipelineSolver3_HgPortPointPathing,
|
|
11836
11838
|
CopperPourPipelineSolver
|
|
11837
11839
|
};
|
|
11838
11840
|
|
|
@@ -11864,6 +11866,8 @@ var TscircuitAutorouter = class {
|
|
|
11864
11866
|
let solverName;
|
|
11865
11867
|
if (autorouterVersion2 === "v1") {
|
|
11866
11868
|
solverName = "AutoroutingPipeline1_OriginalUnravel";
|
|
11869
|
+
} else if (autorouterVersion2 === "v3") {
|
|
11870
|
+
solverName = "AutoroutingPipelineSolver3_HgPortPointPathing";
|
|
11867
11871
|
} else if (useAutoJumperSolver) {
|
|
11868
11872
|
solverName = "AssignableAutoroutingPipeline3";
|
|
11869
11873
|
} else if (useAssignableSolver) {
|
|
@@ -18260,7 +18264,7 @@ import { identity as identity5 } from "transformation-matrix";
|
|
|
18260
18264
|
var package_default = {
|
|
18261
18265
|
name: "@tscircuit/core",
|
|
18262
18266
|
type: "module",
|
|
18263
|
-
version: "0.0.
|
|
18267
|
+
version: "0.0.1101",
|
|
18264
18268
|
types: "dist/index.d.ts",
|
|
18265
18269
|
main: "dist/index.js",
|
|
18266
18270
|
module: "dist/index.js",
|
|
@@ -18292,7 +18296,7 @@ var package_default = {
|
|
|
18292
18296
|
"@biomejs/biome": "^1.8.3",
|
|
18293
18297
|
"@resvg/resvg-js": "^2.6.2",
|
|
18294
18298
|
"@tscircuit/alphabet": "0.0.18",
|
|
18295
|
-
"@tscircuit/capacity-autorouter": "^0.0.
|
|
18299
|
+
"@tscircuit/capacity-autorouter": "^0.0.326",
|
|
18296
18300
|
"@tscircuit/checks": "0.0.107",
|
|
18297
18301
|
"@tscircuit/circuit-json-util": "^0.0.82",
|
|
18298
18302
|
"@tscircuit/common": "^0.0.20",
|
|
@@ -18305,7 +18309,7 @@ var package_default = {
|
|
|
18305
18309
|
"@tscircuit/math-utils": "^0.0.29",
|
|
18306
18310
|
"@tscircuit/miniflex": "^0.0.4",
|
|
18307
18311
|
"@tscircuit/ngspice-spice-engine": "^0.0.8",
|
|
18308
|
-
"@tscircuit/props": "^0.0.
|
|
18312
|
+
"@tscircuit/props": "^0.0.495",
|
|
18309
18313
|
"@tscircuit/schematic-match-adapt": "^0.0.16",
|
|
18310
18314
|
"@tscircuit/schematic-trace-solver": "^v0.0.45",
|
|
18311
18315
|
"@tscircuit/solver-utils": "^0.0.3",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tscircuit/core",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.1102",
|
|
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.18",
|
|
36
|
-
"@tscircuit/capacity-autorouter": "^0.0.
|
|
36
|
+
"@tscircuit/capacity-autorouter": "^0.0.326",
|
|
37
37
|
"@tscircuit/checks": "0.0.107",
|
|
38
38
|
"@tscircuit/circuit-json-util": "^0.0.82",
|
|
39
39
|
"@tscircuit/common": "^0.0.20",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"@tscircuit/math-utils": "^0.0.29",
|
|
47
47
|
"@tscircuit/miniflex": "^0.0.4",
|
|
48
48
|
"@tscircuit/ngspice-spice-engine": "^0.0.8",
|
|
49
|
-
"@tscircuit/props": "^0.0.
|
|
49
|
+
"@tscircuit/props": "^0.0.495",
|
|
50
50
|
"@tscircuit/schematic-match-adapt": "^0.0.16",
|
|
51
51
|
"@tscircuit/schematic-trace-solver": "^v0.0.45",
|
|
52
52
|
"@tscircuit/solver-utils": "^0.0.3",
|