gerbonara/docs/object-api.rst
2022-02-02 10:58:20 +01:00

1 KiB

Graphic Objects

Graphic objects are the lego blocks a gerbonara .GerberFile or .ExcellonFile is built from. They are stored in the file's ~.GerberFile.objects attribute of a .GerberFile. You can directly manipulate that list from code.

There are four graphic object types: .Flash, ~.graphic_objects.Line, ~.graphic_objects.Arc, and ~.graphic_objects.Region . All of them are derived from ~.graphic_objects.GraphicObject.

gerbonara.graphic_objects.GraphicObject

gerbonara.graphic_objects.Flash

gerbonara.graphic_objects.Line

gerbonara.graphic_objects.Arc

gerbonara.graphic_objects.Region