Skip to content

Commit

Permalink
Merge pull request #26 from tscircuit/scalefac
Browse files Browse the repository at this point in the history
adjust scale factor for converting dsn session to circuit json
  • Loading branch information
seveibar authored Nov 20, 2024
2 parents caa52ca + dbe3592 commit 19bd512
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export function convertDsnSessionToCircuitJson(
dsnInput: DsnPcb,
dsnSession: DsnSession,
): AnyCircuitElement[] {
const transformUmToMm = scale(1 / 1000)
const transformUmToMm = scale(1 / 10000)

if (debug.enabled) {
Bun.write("dsn-session.json", JSON.stringify(dsnSession, null, 2))
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 19bd512

Please sign in to comment.