kopia lustrzana https://gitlab.com/gerbolyze/gerbonara
38 wiersze
1.2 KiB
ReStructuredText
38 wiersze
1.2 KiB
ReStructuredText
:mod:`rs274x` --- RS-274X file handling
|
|
==============================================
|
|
|
|
.. module:: rs274x
|
|
:synopsis: Functions and classes for handling RS-274X files
|
|
.. sectionauthor:: Hamilton Kibbe <ham@hamiltonkib.be>
|
|
|
|
|
|
The RS-274X (Gerber) format is the most common format for exporting PCB
|
|
artwork. The Specification is published by Ucamco and is available
|
|
`here <http://www.ucamco.com/files/downloads/file/81/the_gerber_file_format_specification.pdf>`_.
|
|
The :mod:`rs274x` submodule implements classes to read and write
|
|
RS-274X files without having to know the precise details of the format.
|
|
|
|
The :mod:`rs274x` submodule's :func:`read` function serves as a
|
|
simple interface for parsing gerber files. The :class:`GerberFile` class
|
|
stores all the information contained in a gerber file allowing the file to be
|
|
analyzed, modified, and updated. The :class:`GerberParser` class is used in
|
|
the background for parsing RS-274X files.
|
|
|
|
.. _gerber-contents:
|
|
|
|
Functions
|
|
---------
|
|
The :mod:`rs274x` module defines the following functions:
|
|
|
|
.. autofunction:: gerber.rs274x.read
|
|
|
|
Classes
|
|
-------
|
|
The :mod:`rs274x` module defines the following classes:
|
|
|
|
.. autoclass:: gerber.rs274x.GerberFile
|
|
:members:
|
|
|
|
.. autoclass:: gerber.rs274x.GerberParser
|
|
:members:
|