@tscircuit/core 0.0.1405 → 0.0.1407
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.js +15 -6
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -15395,11 +15395,11 @@ var TscircuitAutorouter = class {
|
|
|
15395
15395
|
solverName = "AutoroutingPipeline1_OriginalUnravel";
|
|
15396
15396
|
} else if (autorouterVersion2 === "v3") {
|
|
15397
15397
|
solverName = "AutoroutingPipelineSolver3_HgPortPointPathing";
|
|
15398
|
-
} else if (autorouterVersion2 === "v4"
|
|
15398
|
+
} else if (autorouterVersion2 === "v4") {
|
|
15399
15399
|
solverName = "AutoroutingPipelineSolver4";
|
|
15400
15400
|
} else if (autorouterVersion2 === "v5") {
|
|
15401
15401
|
solverName = "AutoroutingPipelineSolver5";
|
|
15402
|
-
} else if (autorouterVersion2 === "v6") {
|
|
15402
|
+
} else if (autorouterVersion2 === "v6" || autorouterVersion2 === "latest") {
|
|
15403
15403
|
solverName = "AutoroutingPipelineSolver7_MultiGraph";
|
|
15404
15404
|
} else if (useLaserPrefabSolver) {
|
|
15405
15405
|
solverName = "AutoroutingPipelineSolver8";
|
|
@@ -15408,7 +15408,7 @@ var TscircuitAutorouter = class {
|
|
|
15408
15408
|
} else if (useAssignableSolver) {
|
|
15409
15409
|
solverName = "AssignableAutoroutingPipeline2";
|
|
15410
15410
|
} else {
|
|
15411
|
-
solverName = "
|
|
15411
|
+
solverName = "AutoroutingPipelineSolver7_MultiGraph";
|
|
15412
15412
|
}
|
|
15413
15413
|
const SolverClass = SOLVERS[solverName];
|
|
15414
15414
|
this.solver = new SolverClass(input, {
|
|
@@ -19994,7 +19994,16 @@ function createSchematicTraceSolverInputProblem(group) {
|
|
|
19994
19994
|
pins.push({
|
|
19995
19995
|
pinId,
|
|
19996
19996
|
x: schematicPort.center.x,
|
|
19997
|
-
y: schematicPort.center.y
|
|
19997
|
+
y: schematicPort.center.y,
|
|
19998
|
+
// Pass the port's true facing direction (known from the schematic
|
|
19999
|
+
// symbol). The chip box handed to the solver is text-inclusive, so for
|
|
20000
|
+
// small parts with a large reference designator the pins sit inside the
|
|
20001
|
+
// box. The solver snaps such pins to the box edge along this facing
|
|
20002
|
+
// direction (rather than guessing from geometry, which would pick the
|
|
20003
|
+
// wrong edge for a resistor whose ref text widened the box).
|
|
20004
|
+
_facingDirection: convertFacingDirectionToElbowDirection(
|
|
20005
|
+
schematicPort.facing_direction ?? null
|
|
20006
|
+
)
|
|
19998
20007
|
});
|
|
19999
20008
|
}
|
|
20000
20009
|
let sectionId;
|
|
@@ -25329,7 +25338,7 @@ import { identity as identity5 } from "transformation-matrix";
|
|
|
25329
25338
|
var package_default = {
|
|
25330
25339
|
name: "@tscircuit/core",
|
|
25331
25340
|
type: "module",
|
|
25332
|
-
version: "0.0.
|
|
25341
|
+
version: "0.0.1406",
|
|
25333
25342
|
types: "dist/index.d.ts",
|
|
25334
25343
|
main: "dist/index.js",
|
|
25335
25344
|
module: "dist/index.js",
|
|
@@ -25380,7 +25389,7 @@ var package_default = {
|
|
|
25380
25389
|
"@tscircuit/ngspice-spice-engine": "^0.0.18",
|
|
25381
25390
|
"@tscircuit/props": "^0.0.567",
|
|
25382
25391
|
"@tscircuit/schematic-match-adapt": "^0.0.18",
|
|
25383
|
-
"@tscircuit/schematic-trace-solver": "^0.0.
|
|
25392
|
+
"@tscircuit/schematic-trace-solver": "^0.0.91",
|
|
25384
25393
|
"@tscircuit/solver-utils": "^0.0.16",
|
|
25385
25394
|
"@tscircuit/soup-util": "^0.0.41",
|
|
25386
25395
|
"@types/bun": "^1.2.16",
|
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.1407",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"module": "dist/index.js",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"@tscircuit/ngspice-spice-engine": "^0.0.18",
|
|
53
53
|
"@tscircuit/props": "^0.0.567",
|
|
54
54
|
"@tscircuit/schematic-match-adapt": "^0.0.18",
|
|
55
|
-
"@tscircuit/schematic-trace-solver": "^0.0.
|
|
55
|
+
"@tscircuit/schematic-trace-solver": "^0.0.91",
|
|
56
56
|
"@tscircuit/solver-utils": "^0.0.16",
|
|
57
57
|
"@tscircuit/soup-util": "^0.0.41",
|
|
58
58
|
"@types/bun": "^1.2.16",
|