@tscircuit/core 0.0.2168 → 0.0.2169
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 +3 -3
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -24985,7 +24985,7 @@ function sourceSegmentClearsOtherObstacles(params) {
|
|
|
24985
24985
|
const { segment: segment2, sourceObstacle, obstacles, clearance } = params;
|
|
24986
24986
|
const requiredClearance = segment2.width / 2 + clearance;
|
|
24987
24987
|
return obstacles.every(
|
|
24988
|
-
(obstacle) => obstacle === sourceObstacle || distanceSegmentToObstacle(segment2, obstacle) >= requiredClearance - EPSILON5
|
|
24988
|
+
(obstacle) => obstacle === sourceObstacle || !obstacle.layers.includes(segment2.layer) || distanceSegmentToObstacle(segment2, obstacle) >= requiredClearance - EPSILON5
|
|
24989
24989
|
);
|
|
24990
24990
|
}
|
|
24991
24991
|
function getConnectionCandidates(params) {
|
|
@@ -119475,7 +119475,7 @@ var RoutingPhasePreparationError = class extends Error {
|
|
|
119475
119475
|
var package_default = {
|
|
119476
119476
|
name: "@tscircuit/core",
|
|
119477
119477
|
type: "module",
|
|
119478
|
-
version: "0.0.
|
|
119478
|
+
version: "0.0.2168",
|
|
119479
119479
|
types: "dist/index.d.ts",
|
|
119480
119480
|
main: "dist/index.js",
|
|
119481
119481
|
module: "dist/index.js",
|
|
@@ -119519,7 +119519,7 @@ var package_default = {
|
|
|
119519
119519
|
"@tscircuit/copper-pour-solver": "^0.0.67",
|
|
119520
119520
|
"@tscircuit/create-fdm-enclosure": "0.0.4",
|
|
119521
119521
|
"@tscircuit/dogbone-solver": "https://jscdn.tscircuit.com/@tscircuit/dogbone-solver/0.0.1.tgz",
|
|
119522
|
-
"@tscircuit/fanout-solver": "0.0.
|
|
119522
|
+
"@tscircuit/fanout-solver": "0.0.81",
|
|
119523
119523
|
"@tscircuit/flex-utils": "https://jscdn.tscircuit.com/@tscircuit/flex-utils/0.0.8.tgz",
|
|
119524
119524
|
"@tscircuit/footprinter": "^0.0.440",
|
|
119525
119525
|
"@tscircuit/image-utils": "^0.0.8",
|
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.2169",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"module": "dist/index.js",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"@tscircuit/copper-pour-solver": "^0.0.67",
|
|
46
46
|
"@tscircuit/create-fdm-enclosure": "0.0.4",
|
|
47
47
|
"@tscircuit/dogbone-solver": "https://jscdn.tscircuit.com/@tscircuit/dogbone-solver/0.0.1.tgz",
|
|
48
|
-
"@tscircuit/fanout-solver": "0.0.
|
|
48
|
+
"@tscircuit/fanout-solver": "0.0.81",
|
|
49
49
|
"@tscircuit/flex-utils": "https://jscdn.tscircuit.com/@tscircuit/flex-utils/0.0.8.tgz",
|
|
50
50
|
"@tscircuit/footprinter": "^0.0.440",
|
|
51
51
|
"@tscircuit/image-utils": "^0.0.8",
|