@tscircuit/core 0.0.1118 → 0.0.1119
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
|
@@ -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 } from '@tscircuit/capacity-autorouter';
|
|
15
|
+
import { AutoroutingPipelineSolver, AssignableAutoroutingPipeline2, AssignableAutoroutingPipeline3, AutoroutingPipeline1_OriginalUnravel, AutoroutingPipelineSolver3_HgPortPointPathing, AutoroutingPipelineSolver4 } from '@tscircuit/capacity-autorouter';
|
|
16
16
|
import { CopperPourPipelineSolver } from '@tscircuit/copper-pour-solver';
|
|
17
17
|
import { ConnectivityMap } from 'circuit-json-to-connectivity-map';
|
|
18
18
|
import { GraphicsObject } from 'graphics-debug';
|
|
@@ -24,6 +24,7 @@ declare const SOLVERS: {
|
|
|
24
24
|
AssignableAutoroutingPipeline3: typeof AssignableAutoroutingPipeline3;
|
|
25
25
|
AutoroutingPipeline1_OriginalUnravel: typeof AutoroutingPipeline1_OriginalUnravel;
|
|
26
26
|
AutoroutingPipelineSolver3_HgPortPointPathing: typeof AutoroutingPipelineSolver3_HgPortPointPathing;
|
|
27
|
+
AutoroutingPipelineSolver4: typeof AutoroutingPipelineSolver4;
|
|
27
28
|
CopperPourPipelineSolver: typeof CopperPourPipelineSolver;
|
|
28
29
|
};
|
|
29
30
|
type SolverName = keyof typeof SOLVERS;
|
|
@@ -2609,7 +2610,7 @@ declare class Board extends Group<typeof boardProps> implements BoardI, Subcircu
|
|
|
2609
2610
|
pcbRouteCache: zod.ZodOptional<zod.ZodType<_tscircuit_props.PcbRouteCache, zod.ZodTypeDef, _tscircuit_props.PcbRouteCache>>;
|
|
2610
2611
|
autorouter: zod.ZodOptional<zod.ZodType<_tscircuit_props.AutorouterProp, zod.ZodTypeDef, _tscircuit_props.AutorouterProp>>;
|
|
2611
2612
|
autorouterEffortLevel: zod.ZodOptional<zod.ZodEnum<["1x", "2x", "5x", "10x", "100x"]>>;
|
|
2612
|
-
autorouterVersion: zod.ZodOptional<zod.ZodEnum<["v1", "v2", "v3", "latest"]>>;
|
|
2613
|
+
autorouterVersion: zod.ZodOptional<zod.ZodEnum<["v1", "v2", "v3", "v4", "latest"]>>;
|
|
2613
2614
|
square: zod.ZodOptional<zod.ZodBoolean>;
|
|
2614
2615
|
emptyArea: zod.ZodOptional<zod.ZodString>;
|
|
2615
2616
|
filledArea: zod.ZodOptional<zod.ZodString>;
|
|
@@ -2953,7 +2954,7 @@ declare class Board extends Group<typeof boardProps> implements BoardI, Subcircu
|
|
|
2953
2954
|
pcbRouteCache?: _tscircuit_props.PcbRouteCache | undefined;
|
|
2954
2955
|
autorouter?: _tscircuit_props.AutorouterProp | undefined;
|
|
2955
2956
|
autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
|
|
2956
|
-
autorouterVersion?: "v1" | "v2" | "v3" | "latest" | undefined;
|
|
2957
|
+
autorouterVersion?: "v1" | "v2" | "v3" | "v4" | "latest" | undefined;
|
|
2957
2958
|
square?: boolean | undefined;
|
|
2958
2959
|
emptyArea?: string | undefined;
|
|
2959
2960
|
filledArea?: string | undefined;
|
|
@@ -3280,7 +3281,7 @@ declare class Board extends Group<typeof boardProps> implements BoardI, Subcircu
|
|
|
3280
3281
|
pcbRouteCache?: _tscircuit_props.PcbRouteCache | undefined;
|
|
3281
3282
|
autorouter?: _tscircuit_props.AutorouterProp | undefined;
|
|
3282
3283
|
autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
|
|
3283
|
-
autorouterVersion?: "v1" | "v2" | "v3" | "latest" | undefined;
|
|
3284
|
+
autorouterVersion?: "v1" | "v2" | "v3" | "v4" | "latest" | undefined;
|
|
3284
3285
|
square?: boolean | undefined;
|
|
3285
3286
|
emptyArea?: string | undefined;
|
|
3286
3287
|
filledArea?: string | undefined;
|
|
@@ -4119,7 +4120,7 @@ declare class MountedBoard extends Subcircuit implements BoardI {
|
|
|
4119
4120
|
pcbRouteCache: zod.ZodOptional<zod.ZodType<_tscircuit_props.PcbRouteCache, zod.ZodTypeDef, _tscircuit_props.PcbRouteCache>>;
|
|
4120
4121
|
autorouter: zod.ZodOptional<zod.ZodType<_tscircuit_props.AutorouterProp, zod.ZodTypeDef, _tscircuit_props.AutorouterProp>>;
|
|
4121
4122
|
autorouterEffortLevel: zod.ZodOptional<zod.ZodEnum<["1x", "2x", "5x", "10x", "100x"]>>;
|
|
4122
|
-
autorouterVersion: zod.ZodOptional<zod.ZodEnum<["v1", "v2", "v3", "latest"]>>;
|
|
4123
|
+
autorouterVersion: zod.ZodOptional<zod.ZodEnum<["v1", "v2", "v3", "v4", "latest"]>>;
|
|
4123
4124
|
square: zod.ZodOptional<zod.ZodBoolean>;
|
|
4124
4125
|
emptyArea: zod.ZodOptional<zod.ZodString>;
|
|
4125
4126
|
filledArea: zod.ZodOptional<zod.ZodString>;
|
|
@@ -4579,7 +4580,7 @@ declare class MountedBoard extends Subcircuit implements BoardI {
|
|
|
4579
4580
|
pcbRouteCache?: _tscircuit_props.PcbRouteCache | undefined;
|
|
4580
4581
|
autorouter?: _tscircuit_props.AutorouterProp | undefined;
|
|
4581
4582
|
autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
|
|
4582
|
-
autorouterVersion?: "v1" | "v2" | "v3" | "latest" | undefined;
|
|
4583
|
+
autorouterVersion?: "v1" | "v2" | "v3" | "v4" | "latest" | undefined;
|
|
4583
4584
|
square?: boolean | undefined;
|
|
4584
4585
|
emptyArea?: string | undefined;
|
|
4585
4586
|
filledArea?: string | undefined;
|
|
@@ -4929,7 +4930,7 @@ declare class MountedBoard extends Subcircuit implements BoardI {
|
|
|
4929
4930
|
pcbRouteCache?: _tscircuit_props.PcbRouteCache | undefined;
|
|
4930
4931
|
autorouter?: _tscircuit_props.AutorouterProp | undefined;
|
|
4931
4932
|
autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
|
|
4932
|
-
autorouterVersion?: "v1" | "v2" | "v3" | "latest" | undefined;
|
|
4933
|
+
autorouterVersion?: "v1" | "v2" | "v3" | "v4" | "latest" | undefined;
|
|
4933
4934
|
square?: boolean | undefined;
|
|
4934
4935
|
emptyArea?: string | undefined;
|
|
4935
4936
|
filledArea?: string | undefined;
|
package/dist/index.js
CHANGED
|
@@ -12237,7 +12237,8 @@ import {
|
|
|
12237
12237
|
AssignableAutoroutingPipeline2,
|
|
12238
12238
|
AutoroutingPipeline1_OriginalUnravel,
|
|
12239
12239
|
AssignableAutoroutingPipeline3,
|
|
12240
|
-
AutoroutingPipelineSolver3_HgPortPointPathing
|
|
12240
|
+
AutoroutingPipelineSolver3_HgPortPointPathing,
|
|
12241
|
+
AutoroutingPipelineSolver4
|
|
12241
12242
|
} from "@tscircuit/capacity-autorouter";
|
|
12242
12243
|
import { CopperPourPipelineSolver } from "@tscircuit/copper-pour-solver";
|
|
12243
12244
|
var SOLVERS = {
|
|
@@ -12247,6 +12248,7 @@ var SOLVERS = {
|
|
|
12247
12248
|
AssignableAutoroutingPipeline3,
|
|
12248
12249
|
AutoroutingPipeline1_OriginalUnravel,
|
|
12249
12250
|
AutoroutingPipelineSolver3_HgPortPointPathing,
|
|
12251
|
+
AutoroutingPipelineSolver4,
|
|
12250
12252
|
CopperPourPipelineSolver
|
|
12251
12253
|
};
|
|
12252
12254
|
|
|
@@ -12280,6 +12282,8 @@ var TscircuitAutorouter = class {
|
|
|
12280
12282
|
solverName = "AutoroutingPipeline1_OriginalUnravel";
|
|
12281
12283
|
} else if (autorouterVersion2 === "v3") {
|
|
12282
12284
|
solverName = "AutoroutingPipelineSolver3_HgPortPointPathing";
|
|
12285
|
+
} else if (autorouterVersion2 === "v4") {
|
|
12286
|
+
solverName = "AutoroutingPipelineSolver4";
|
|
12283
12287
|
} else if (useAutoJumperSolver) {
|
|
12284
12288
|
solverName = "AssignableAutoroutingPipeline3";
|
|
12285
12289
|
} else if (useAssignableSolver) {
|
|
@@ -18676,7 +18680,7 @@ import { identity as identity5 } from "transformation-matrix";
|
|
|
18676
18680
|
var package_default = {
|
|
18677
18681
|
name: "@tscircuit/core",
|
|
18678
18682
|
type: "module",
|
|
18679
|
-
version: "0.0.
|
|
18683
|
+
version: "0.0.1118",
|
|
18680
18684
|
types: "dist/index.d.ts",
|
|
18681
18685
|
main: "dist/index.js",
|
|
18682
18686
|
module: "dist/index.js",
|
|
@@ -18709,7 +18713,7 @@ var package_default = {
|
|
|
18709
18713
|
"@resvg/resvg-js": "^2.6.2",
|
|
18710
18714
|
"@tscircuit/alphabet": "0.0.18",
|
|
18711
18715
|
"@tscircuit/checks": "0.0.110",
|
|
18712
|
-
"@tscircuit/capacity-autorouter": "^0.0.
|
|
18716
|
+
"@tscircuit/capacity-autorouter": "^0.0.353",
|
|
18713
18717
|
"@tscircuit/circuit-json-util": "^0.0.90",
|
|
18714
18718
|
"@tscircuit/common": "^0.0.20",
|
|
18715
18719
|
"@tscircuit/copper-pour-solver": "^0.0.20",
|
|
@@ -18721,7 +18725,7 @@ var package_default = {
|
|
|
18721
18725
|
"@tscircuit/math-utils": "^0.0.36",
|
|
18722
18726
|
"@tscircuit/miniflex": "^0.0.4",
|
|
18723
18727
|
"@tscircuit/ngspice-spice-engine": "^0.0.8",
|
|
18724
|
-
"@tscircuit/props": "^0.0.
|
|
18728
|
+
"@tscircuit/props": "^0.0.498",
|
|
18725
18729
|
"@tscircuit/schematic-match-adapt": "^0.0.16",
|
|
18726
18730
|
"@tscircuit/schematic-trace-solver": "^v0.0.45",
|
|
18727
18731
|
"@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.1119",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"module": "dist/index.js",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"@resvg/resvg-js": "^2.6.2",
|
|
35
35
|
"@tscircuit/alphabet": "0.0.18",
|
|
36
36
|
"@tscircuit/checks": "0.0.110",
|
|
37
|
-
"@tscircuit/capacity-autorouter": "^0.0.
|
|
37
|
+
"@tscircuit/capacity-autorouter": "^0.0.353",
|
|
38
38
|
"@tscircuit/circuit-json-util": "^0.0.90",
|
|
39
39
|
"@tscircuit/common": "^0.0.20",
|
|
40
40
|
"@tscircuit/copper-pour-solver": "^0.0.20",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"@tscircuit/math-utils": "^0.0.36",
|
|
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.498",
|
|
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",
|