Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions lib/utils/autorouting/CapacityMeshAutorouter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,12 +116,12 @@ export class TscircuitAutorouter implements GenericLocalAutorouter {
solverName = "AutoroutingPipelineSolver4"
} else if (autorouterVersion === "beta_pipeline5") {
solverName = "AutoroutingPipelineSolver5"
} else if (autorouterVersion === "beta_pipeline7") {
solverName = "AutoroutingPipelineSolver7_MultiGraph"
} else if (
autorouterVersion === "beta_pipeline7" ||
autorouterVersion === "beta_pipeline9" ||
autorouterVersion === "latest"
) {
solverName = "AutoroutingPipelineSolver7_MultiGraph"
} else if (autorouterVersion === "beta_pipeline9") {
solverName = "AutoroutingPipelineSolver9_PreloadedTraceGraph"
} else if (useLaserPrefabSolver) {
solverName = "AutoroutingPipelineSolver8"
Expand All @@ -130,7 +130,7 @@ export class TscircuitAutorouter implements GenericLocalAutorouter {
} else if (useAssignableSolver) {
solverName = "AssignableAutoroutingPipeline2"
} else {
solverName = "AutoroutingPipelineSolver7_MultiGraph"
solverName = "AutoroutingPipelineSolver9_PreloadedTraceGraph"
}
const SolverClass = SOLVERS[solverName]
const solverCacheProvider =
Expand Down
4 changes: 4 additions & 0 deletions lib/utils/autorouting/getPreservedRoutedSubcircuitTraces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@ const getSimpleRouteForPreservedTrace = (
* Converts PCB traces that already exist when autorouting starts into SRJ
* `traces`. This includes manual copper rendered in an earlier render phase
* and routed child-subcircuit copper.
* Footprint copper without a source trace is already represented as obstacles
* by getSimpleRouteJsonFromCircuitJson. It must not also become a preloaded
* route that the autorouter can reshape or validate against its own keepout.
*
* `connectsTo` is physical routing state, not electrical-net metadata. It must
* contain only the PCB points joined by this exact copper trace so the parent
Expand All @@ -102,6 +105,7 @@ export const getPreservedRoutedSubcircuitTraces = ({
.list()
.filter((trace) => {
if (!trace.subcircuit_id) return false
if (trace.pcb_component_id && !trace.source_trace_id) return false
return (
relevantSubcircuitIds === null ||
relevantSubcircuitIds.has(trace.subcircuit_id)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"@tsci/tscircuit.ti": "github:tscircuit/ti#57e314be4b2b06bc546d4def7453e619604d1157",
"@tscircuit/alphabet": "0.0.25",
"@tscircuit/bga-fanout-solver": "github:tscircuit/bga-fanout-solver#247c835cb8d69b65e53891dcf869731079415b39",
"@tscircuit/capacity-autorouter": "^0.0.866",
"@tscircuit/capacity-autorouter": "^0.0.869",
"@tscircuit/checks": "^0.0.180",
"@tscircuit/circuit-json-util": "^0.0.106",
"@tscircuit/common": "^0.0.20",
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading