gerbonara/docs/object-api.rst
2022-02-01 22:08:54 +01:00

1.1 KiB

Graphic Objects

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

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

gerbonara.graphic_objects.GraphicObject

gerbonara.graphic_objects.Flash

gerbonara.graphic_objects.Line

gerbonara.graphic_objects.Arc

gerbonara.graphic_objects.Region