@tscircuit/core 0.0.916 → 0.0.917
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 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -13948,6 +13948,7 @@ var Group6 = class extends NormalComponent3 {
|
|
|
13948
13948
|
debug11(`[${this.getString()}] starting local autorouting`);
|
|
13949
13949
|
const autorouterConfig = this._getAutorouterConfig();
|
|
13950
13950
|
const isLaserPrefabPreset = this._isLaserPrefabAutorouter(autorouterConfig);
|
|
13951
|
+
const isSingleLayerBoard = this._getSubcircuitLayerCount() === 1;
|
|
13951
13952
|
const { simpleRouteJson } = getSimpleRouteJsonFromCircuitJson({
|
|
13952
13953
|
db,
|
|
13953
13954
|
minTraceWidth: this.props.autorouter?.minTraceWidth ?? 0.15,
|
|
@@ -13980,7 +13981,7 @@ var Group6 = class extends NormalComponent3 {
|
|
|
13980
13981
|
// Optional configuration parameters
|
|
13981
13982
|
capacityDepth: this.props.autorouter?.capacityDepth,
|
|
13982
13983
|
targetMinCapacity: this.props.autorouter?.targetMinCapacity,
|
|
13983
|
-
useAssignableViaSolver: isLaserPrefabPreset
|
|
13984
|
+
useAssignableViaSolver: isLaserPrefabPreset || isSingleLayerBoard
|
|
13984
13985
|
});
|
|
13985
13986
|
}
|
|
13986
13987
|
const routingPromise = new Promise(
|
|
@@ -19248,7 +19249,7 @@ import { identity as identity5 } from "transformation-matrix";
|
|
|
19248
19249
|
var package_default = {
|
|
19249
19250
|
name: "@tscircuit/core",
|
|
19250
19251
|
type: "module",
|
|
19251
|
-
version: "0.0.
|
|
19252
|
+
version: "0.0.916",
|
|
19252
19253
|
types: "dist/index.d.ts",
|
|
19253
19254
|
main: "dist/index.js",
|
|
19254
19255
|
module: "dist/index.js",
|