@tscircuit/core 0.0.1205 → 0.0.1207
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 -5
- 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,
|
|
@@ -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.1206",
|
|
20382
20382
|
types: "dist/index.d.ts",
|
|
20383
20383
|
main: "dist/index.js",
|
|
20384
20384
|
module: "dist/index.js",
|
|
@@ -20414,7 +20414,7 @@ var package_default = {
|
|
|
20414
20414
|
"@tscircuit/checks": "0.0.125",
|
|
20415
20415
|
"@tscircuit/circuit-json-util": "^0.0.94",
|
|
20416
20416
|
"@tscircuit/common": "^0.0.20",
|
|
20417
|
-
"@tscircuit/copper-pour-solver": "^0.0.
|
|
20417
|
+
"@tscircuit/copper-pour-solver": "^0.0.29",
|
|
20418
20418
|
"@tscircuit/footprinter": "^0.0.351",
|
|
20419
20419
|
"@tscircuit/infer-cable-insertion-point": "^0.0.2",
|
|
20420
20420
|
"@tscircuit/infgrid-ijump-astar": "^0.0.35",
|
|
@@ -23896,7 +23896,8 @@ var Via = class extends PrimitiveComponent2 {
|
|
|
23896
23896
|
import { copperPourProps } from "@tscircuit/props";
|
|
23897
23897
|
import {
|
|
23898
23898
|
CopperPourPipelineSolver as CopperPourPipelineSolver2,
|
|
23899
|
-
convertCircuitJsonToInputProblem
|
|
23899
|
+
convertCircuitJsonToInputProblem,
|
|
23900
|
+
initializeManifoldGeometry
|
|
23900
23901
|
} from "@tscircuit/copper-pour-solver";
|
|
23901
23902
|
import { getFullConnectivityMapFromCircuitJson as getFullConnectivityMapFromCircuitJson4 } from "circuit-json-to-connectivity-map";
|
|
23902
23903
|
|
|
@@ -24067,6 +24068,7 @@ var CopperPour = class extends PrimitiveComponent2 {
|
|
|
24067
24068
|
cutout_margin: props.cutoutMargin ?? clearance,
|
|
24068
24069
|
outline: props.outline
|
|
24069
24070
|
});
|
|
24071
|
+
await initializeManifoldGeometry();
|
|
24070
24072
|
const solver = new CopperPourPipelineSolver2(inputProblem);
|
|
24071
24073
|
this.root.emit("solver:started", {
|
|
24072
24074
|
solverName: "CopperPourPipelineSolver",
|
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.1207",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"module": "dist/index.js",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"@tscircuit/checks": "0.0.125",
|
|
38
38
|
"@tscircuit/circuit-json-util": "^0.0.94",
|
|
39
39
|
"@tscircuit/common": "^0.0.20",
|
|
40
|
-
"@tscircuit/copper-pour-solver": "^0.0.
|
|
40
|
+
"@tscircuit/copper-pour-solver": "^0.0.29",
|
|
41
41
|
"@tscircuit/footprinter": "^0.0.351",
|
|
42
42
|
"@tscircuit/infer-cable-insertion-point": "^0.0.2",
|
|
43
43
|
"@tscircuit/infgrid-ijump-astar": "^0.0.35",
|