@tscircuit/core 0.0.754 → 0.0.756
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 +4 -0
- package/dist/index.js +14 -6
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -8761,9 +8761,9 @@ var getSimpleRouteJsonFromCircuitJson = ({
|
|
|
8761
8761
|
x: o.center.x + o.width / 2,
|
|
8762
8762
|
y: o.center.y + o.height / 2
|
|
8763
8763
|
}
|
|
8764
|
-
]);
|
|
8764
|
+
]).concat(board?.outline ?? []);
|
|
8765
8765
|
let bounds;
|
|
8766
|
-
if (board) {
|
|
8766
|
+
if (board && !board.outline) {
|
|
8767
8767
|
bounds = {
|
|
8768
8768
|
minX: board.center.x - board.width / 2,
|
|
8769
8769
|
maxX: board.center.x + board.width / 2,
|
|
@@ -8965,7 +8965,8 @@ var getSimpleRouteJsonFromCircuitJson = ({
|
|
|
8965
8965
|
// TODO add traces so that we don't run into things routed by another
|
|
8966
8966
|
// subcircuit
|
|
8967
8967
|
layerCount: board?.num_layers ?? 2,
|
|
8968
|
-
minTraceWidth
|
|
8968
|
+
minTraceWidth,
|
|
8969
|
+
outline: board?.outline?.map((point) => ({ ...point }))
|
|
8969
8970
|
},
|
|
8970
8971
|
connMap
|
|
8971
8972
|
};
|
|
@@ -12143,6 +12144,13 @@ var Group6 = class extends NormalComponent3 {
|
|
|
12143
12144
|
minTraceWidth: this.props.autorouter?.minTraceWidth ?? 0.15,
|
|
12144
12145
|
subcircuit_id: this.subcircuit_id
|
|
12145
12146
|
});
|
|
12147
|
+
if (debug10.enabled) {
|
|
12148
|
+
;
|
|
12149
|
+
global.debugOutputArray?.push({
|
|
12150
|
+
name: `simpleroutejson-${this.props.name}.json`,
|
|
12151
|
+
obj: simpleRouteJson
|
|
12152
|
+
});
|
|
12153
|
+
}
|
|
12146
12154
|
if (debug10.enabled) {
|
|
12147
12155
|
const graphicsObject = convertSrjToGraphicsObject(
|
|
12148
12156
|
simpleRouteJson
|
|
@@ -15783,7 +15791,7 @@ import { identity as identity6 } from "transformation-matrix";
|
|
|
15783
15791
|
var package_default = {
|
|
15784
15792
|
name: "@tscircuit/core",
|
|
15785
15793
|
type: "module",
|
|
15786
|
-
version: "0.0.
|
|
15794
|
+
version: "0.0.755",
|
|
15787
15795
|
types: "dist/index.d.ts",
|
|
15788
15796
|
main: "dist/index.js",
|
|
15789
15797
|
module: "dist/index.js",
|
|
@@ -15812,7 +15820,7 @@ var package_default = {
|
|
|
15812
15820
|
},
|
|
15813
15821
|
devDependencies: {
|
|
15814
15822
|
"@biomejs/biome": "^1.8.3",
|
|
15815
|
-
"@tscircuit/capacity-autorouter": "^0.0.
|
|
15823
|
+
"@tscircuit/capacity-autorouter": "^0.0.123",
|
|
15816
15824
|
"@tscircuit/checks": "^0.0.75",
|
|
15817
15825
|
"@tscircuit/circuit-json-util": "^0.0.67",
|
|
15818
15826
|
"@tscircuit/footprinter": "^0.0.236",
|
|
@@ -15879,7 +15887,7 @@ var package_default = {
|
|
|
15879
15887
|
dependencies: {
|
|
15880
15888
|
"@flatten-js/core": "^1.6.2",
|
|
15881
15889
|
"@lume/kiwi": "^0.4.3",
|
|
15882
|
-
"calculate-packing": "0.0.
|
|
15890
|
+
"calculate-packing": "0.0.41",
|
|
15883
15891
|
"css-select": "5.1.0",
|
|
15884
15892
|
"format-si-unit": "^0.0.3",
|
|
15885
15893
|
nanoid: "^5.0.7",
|
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.756",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"module": "dist/index.js",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@biomejs/biome": "^1.8.3",
|
|
33
|
-
"@tscircuit/capacity-autorouter": "^0.0.
|
|
33
|
+
"@tscircuit/capacity-autorouter": "^0.0.123",
|
|
34
34
|
"@tscircuit/checks": "^0.0.75",
|
|
35
35
|
"@tscircuit/circuit-json-util": "^0.0.67",
|
|
36
36
|
"@tscircuit/footprinter": "^0.0.236",
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
"dependencies": {
|
|
98
98
|
"@flatten-js/core": "^1.6.2",
|
|
99
99
|
"@lume/kiwi": "^0.4.3",
|
|
100
|
-
"calculate-packing": "0.0.
|
|
100
|
+
"calculate-packing": "0.0.41",
|
|
101
101
|
"css-select": "5.1.0",
|
|
102
102
|
"format-si-unit": "^0.0.3",
|
|
103
103
|
"nanoid": "^5.0.7",
|