Skip to content

Commit

Permalink
feat: trace_width new syntac
Browse files Browse the repository at this point in the history
  • Loading branch information
imrishabh18 committed Aug 15, 2024
1 parent 260c688 commit 55b98c1
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
16 changes: 8 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
"@semantic-release/release-notes-generator": "^10.0.3",
"@tscircuit/footprinter": "^0.0.44",
"@tscircuit/log-soup": "^1.0.2",
"@tscircuit/props": "^0.0.27",
"@tscircuit/soup": "^0.0.49",
"@tscircuit/props": "^0.0.31",
"@tscircuit/soup": "^0.0.50",
"@tscircuit/soup-util": "^0.0.13",
"@types/node": "^22.0.0",
"ava": "^4.3.3",
Expand Down
2 changes: 1 addition & 1 deletion src/lib/builder/trace-hint-builder/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ class TraceHintBuilderClass {
y: pcb_port.y + offset.y,
via: offset.via,
to_layer: offset.to_layer,
trace_width: offset.trace_width || this.props.traceWidth,
})
}
}
Expand All @@ -106,7 +107,6 @@ class TraceHintBuilderClass {
pcb_port_id: pcb_port.pcb_port_id,
pcb_component_id: pcb_port.pcb_component_id,
route,
trace_width: this.props.traceWidth,
}

return [trace_hint]
Expand Down

0 comments on commit 55b98c1

Please sign in to comment.