Skip to content

Commit

Permalink
Merge pull request #46 from zeevj/fix_solid_region_crash
Browse files Browse the repository at this point in the history
Adding missing layer 11 as 'Edge.Cuts' to fix the crash and add the solid region cut to pcbnew
  • Loading branch information
urish committed Dec 28, 2020
2 parents 84a9d4c + 735b2ec commit b5f06e6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/board.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ function getLayerName(id: string, conversionState: IConversionState) {
7: 'F.Mask',
8: 'B.Mask',
10: 'Edge.Cuts',
11: 'Edge.Cuts',
12: 'Cmts.User',
13: 'F.Fab',
14: 'B.Fab',
Expand Down Expand Up @@ -615,6 +616,7 @@ function convertSolidRegion(args: string[], conversionState: IConversionState) {
];

case 'solid':
case 'npth':
return [
'gr_poly',
// Unfortunately, KiCad does not support net for gr_poly
Expand Down

0 comments on commit b5f06e6

Please sign in to comment.