-
Notifications
You must be signed in to change notification settings - Fork 92
fix(schematic): Omit VCC and GND from net connections to render as net labels instead #1662
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
seveibar
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not the correct fix, lots of regressions from the snapshots
| // Estimate net label width using same heuristic as computeSchematicNetLabelCenter | ||
| // Default font_size is 0.18 and charWidth = 0.1 * (font_size / 0.18) | ||
| const fontSize = 0.18 | ||
| const charWidth = 0.1 * (fontSize / 0.18) | ||
| const netLabelWidth = Number( | ||
| (String(userNetId).length * charWidth).toFixed(2), | ||
| ) | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reformat it. try to run bun run format
|
This PR has been automatically marked as stale because it has had no recent activity. It will be closed if no further activity occurs. |

close: tscircuit/schematic-trace-solver#79
/claim tscircuit/schematic-trace-solver#79
Modifications to the createSchematicTraceSolverInputProblem function now selectively filter VCC and GND sourceNet entries, preventing their inclusion in the netConnections array passed to the solver. This code change alters the trace solver's input problem, effectively disabling autorouting for global power and ground nets