Fix out-of-date documentation
This commit is contained in:
parent
da6d8349fa
commit
379cf273cb
4 changed files with 6 additions and 5 deletions
|
|
@ -71,7 +71,7 @@ Then, you are ready to read and write gerber files:
|
|||
|
||||
from gerbonara import LayerStack
|
||||
|
||||
stack = LayerStack.from_directory('output/gerber')
|
||||
stack = LayerStack.open('output/gerber')
|
||||
w, h = stack.outline.size('mm')
|
||||
print(f'Board size is {w:.1f} mm x {h:.1f} mm')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue