@tscircuit/core 0.0.1206 → 0.0.1208
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 +7 -7
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -13903,7 +13903,7 @@ var getSimpleRouteJsonFromCircuitJson = ({
|
|
|
13903
13903
|
db,
|
|
13904
13904
|
circuitJson,
|
|
13905
13905
|
subcircuit_id,
|
|
13906
|
-
minTraceWidth
|
|
13906
|
+
minTraceWidth,
|
|
13907
13907
|
nominalTraceWidth,
|
|
13908
13908
|
subcircuitComponent
|
|
13909
13909
|
}) => {
|
|
@@ -14252,7 +14252,7 @@ var getSimpleRouteJsonFromCircuitJson = ({
|
|
|
14252
14252
|
// TODO add traces so that we don't run into things routed by another
|
|
14253
14253
|
// subcircuit
|
|
14254
14254
|
layerCount: board?.num_layers ?? 2,
|
|
14255
|
-
minTraceWidth,
|
|
14255
|
+
minTraceWidth: minTraceWidth ?? board?.min_trace_width ?? 0.1,
|
|
14256
14256
|
minViaDiameter: board?.min_via_pad_diameter,
|
|
14257
14257
|
minViaHoleDiameter: board?.min_via_hole_diameter,
|
|
14258
14258
|
minViaPadDiameter: board?.min_via_pad_diameter,
|
|
@@ -18948,7 +18948,7 @@ var Group6 = class extends NormalComponent3 {
|
|
|
18948
18948
|
body: JSON.stringify({
|
|
18949
18949
|
input_simple_route_json: getSimpleRouteJsonFromCircuitJson({
|
|
18950
18950
|
db,
|
|
18951
|
-
minTraceWidth:
|
|
18951
|
+
minTraceWidth: Number(props.minTraceWidth ?? 0.15),
|
|
18952
18952
|
nominalTraceWidth: this.props.nominalTraceWidth,
|
|
18953
18953
|
subcircuit_id: this.subcircuit_id,
|
|
18954
18954
|
subcircuitComponent: this
|
|
@@ -19054,8 +19054,8 @@ var Group6 = class extends NormalComponent3 {
|
|
|
19054
19054
|
const isSingleLayerBoard = this._getSubcircuitLayerCount() === 1;
|
|
19055
19055
|
const { simpleRouteJson: baseSimpleRouteJson } = getSimpleRouteJsonFromCircuitJson({
|
|
19056
19056
|
db,
|
|
19057
|
-
minTraceWidth:
|
|
19058
|
-
nominalTraceWidth:
|
|
19057
|
+
minTraceWidth: Number(props.minTraceWidth ?? 0.15),
|
|
19058
|
+
nominalTraceWidth: Number(props.nominalTraceWidth),
|
|
19059
19059
|
subcircuit_id: this.subcircuit_id,
|
|
19060
19060
|
subcircuitComponent: this
|
|
19061
19061
|
});
|
|
@@ -20378,7 +20378,7 @@ import { identity as identity5 } from "transformation-matrix";
|
|
|
20378
20378
|
var package_default = {
|
|
20379
20379
|
name: "@tscircuit/core",
|
|
20380
20380
|
type: "module",
|
|
20381
|
-
version: "0.0.
|
|
20381
|
+
version: "0.0.1207",
|
|
20382
20382
|
types: "dist/index.d.ts",
|
|
20383
20383
|
main: "dist/index.js",
|
|
20384
20384
|
module: "dist/index.js",
|
|
@@ -20410,7 +20410,7 @@ var package_default = {
|
|
|
20410
20410
|
"@biomejs/biome": "^1.8.3",
|
|
20411
20411
|
"@resvg/resvg-js": "^2.6.2",
|
|
20412
20412
|
"@tscircuit/alphabet": "0.0.25",
|
|
20413
|
-
"@tscircuit/capacity-autorouter": "^0.0.
|
|
20413
|
+
"@tscircuit/capacity-autorouter": "^0.0.480",
|
|
20414
20414
|
"@tscircuit/checks": "0.0.125",
|
|
20415
20415
|
"@tscircuit/circuit-json-util": "^0.0.94",
|
|
20416
20416
|
"@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.
|
|
4
|
+
"version": "0.0.1208",
|
|
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.
|
|
36
|
+
"@tscircuit/capacity-autorouter": "^0.0.480",
|
|
37
37
|
"@tscircuit/checks": "0.0.125",
|
|
38
38
|
"@tscircuit/circuit-json-util": "^0.0.94",
|
|
39
39
|
"@tscircuit/common": "^0.0.20",
|