Skip to content

Commit

Permalink
Merge pull request #44 from tscircuit/fix/plated_hole
Browse files Browse the repository at this point in the history
fix: silkscreen as top most layer
  • Loading branch information
imrishabh18 authored Sep 2, 2024
2 parents aaef413 + 6cf15cd commit 229ae78
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/lib/circuit-to-pcb-svg.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,12 +143,6 @@ function circuitJsonToPcbSvg(soup: AnySoupElement[]): string {
attributes: { id: "other-elements" },
children: otherElements,
},
{
name: "g",
type: "element",
attributes: { id: "silkscreen" },
children: silkscreenElements,
},
{
name: "g",
type: "element",
Expand All @@ -161,6 +155,12 @@ function circuitJsonToPcbSvg(soup: AnySoupElement[]): string {
attributes: { id: "holes" },
children: holeElements,
},
{
name: "g",
type: "element",
attributes: { id: "silkscreen" },
children: silkscreenElements,
},
].filter((child) => child !== null),
}

Expand Down

0 comments on commit 229ae78

Please sign in to comment.