Add IPC-D-356 Netlist Parsing
This commit is contained in:
parent
b3e816466c
commit
b3e0ceb5c3
6 changed files with 562 additions and 5 deletions
|
|
@ -47,14 +47,14 @@ ctx = GerberCairoContext()
|
|||
copper.render(ctx)
|
||||
|
||||
# Set opacity and color for soldermask layer
|
||||
ctx.alpha = 0.65
|
||||
ctx.alpha = 0.6
|
||||
ctx.color = (0.2, 0.2, 0.75)
|
||||
|
||||
# Draw the soldermask layer
|
||||
mask.render(ctx)
|
||||
|
||||
# Set opacity and color for silkscreen layer
|
||||
ctx.alpha = 0.9
|
||||
ctx.alpha = 0.85
|
||||
ctx.color = (1, 1, 1)
|
||||
|
||||
# Draw the silkscreen layer
|
||||
|
|
@ -65,4 +65,4 @@ ctx.alpha = 1.
|
|||
drill.render(ctx)
|
||||
|
||||
# Write output to png file
|
||||
ctx.dump(os.path.join(os.path.dirname(__file__), 'cairo_example.png'))
|
||||
ctx.dump(os.path.join(os.path.dirname(__file__), 'cairo_example.png'))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue