@tscircuit/core 0.0.1210 → 0.0.1211
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 +3 -1
- package/dist/index.js +3 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -103,6 +103,7 @@ interface SimpleRouteJson {
|
|
|
103
103
|
minViaPadDiameter?: number;
|
|
104
104
|
min_via_hole_diameter?: number;
|
|
105
105
|
min_via_pad_diameter?: number;
|
|
106
|
+
minTraceToPadEdgeClearance?: number;
|
|
106
107
|
obstacles: Obstacle[];
|
|
107
108
|
connections: Array<SimpleRouteConnection>;
|
|
108
109
|
bounds: {
|
|
@@ -152220,12 +152221,13 @@ declare const applyEditEvents: ({ circuitJson, editEvents, }: {
|
|
|
152220
152221
|
/**
|
|
152221
152222
|
* This function can only be called in the PcbTraceRender phase or later
|
|
152222
152223
|
*/
|
|
152223
|
-
declare const getSimpleRouteJsonFromCircuitJson: ({ db, circuitJson, subcircuit_id, minTraceWidth, nominalTraceWidth, subcircuitComponent, }: {
|
|
152224
|
+
declare const getSimpleRouteJsonFromCircuitJson: ({ db, circuitJson, subcircuit_id, minTraceWidth, minTraceToPadEdgeClearance, nominalTraceWidth, subcircuitComponent, }: {
|
|
152224
152225
|
db?: CircuitJsonUtilObjects;
|
|
152225
152226
|
circuitJson?: AnyCircuitElement[];
|
|
152226
152227
|
subcircuit_id?: string | null;
|
|
152227
152228
|
minTraceWidth?: number;
|
|
152228
152229
|
nominalTraceWidth?: number;
|
|
152230
|
+
minTraceToPadEdgeClearance?: number;
|
|
152229
152231
|
subcircuitComponent?: {
|
|
152230
152232
|
selectAll(selector: string): unknown[];
|
|
152231
152233
|
};
|
package/dist/index.js
CHANGED
|
@@ -13904,6 +13904,7 @@ var getSimpleRouteJsonFromCircuitJson = ({
|
|
|
13904
13904
|
circuitJson,
|
|
13905
13905
|
subcircuit_id,
|
|
13906
13906
|
minTraceWidth,
|
|
13907
|
+
minTraceToPadEdgeClearance,
|
|
13907
13908
|
nominalTraceWidth,
|
|
13908
13909
|
subcircuitComponent
|
|
13909
13910
|
}) => {
|
|
@@ -14258,6 +14259,7 @@ var getSimpleRouteJsonFromCircuitJson = ({
|
|
|
14258
14259
|
minViaPadDiameter: board?.min_via_pad_diameter,
|
|
14259
14260
|
min_via_hole_diameter: board?.min_via_hole_diameter,
|
|
14260
14261
|
min_via_pad_diameter: board?.min_via_pad_diameter,
|
|
14262
|
+
minTraceToPadEdgeClearance: minTraceToPadEdgeClearance ?? board?.min_trace_to_pad_edge_clearance,
|
|
14261
14263
|
nominalTraceWidth,
|
|
14262
14264
|
outline: board?.outline?.map((point6) => ({ ...point6 }))
|
|
14263
14265
|
},
|
|
@@ -20391,7 +20393,7 @@ import { identity as identity5 } from "transformation-matrix";
|
|
|
20391
20393
|
var package_default = {
|
|
20392
20394
|
name: "@tscircuit/core",
|
|
20393
20395
|
type: "module",
|
|
20394
|
-
version: "0.0.
|
|
20396
|
+
version: "0.0.1210",
|
|
20395
20397
|
types: "dist/index.d.ts",
|
|
20396
20398
|
main: "dist/index.js",
|
|
20397
20399
|
module: "dist/index.js",
|