diff --git a/src/faebryk/libs/kicad/fileformats.py b/src/faebryk/libs/kicad/fileformats.py index 130bcdaa..709754cb 100644 --- a/src/faebryk/libs/kicad/fileformats.py +++ b/src/faebryk/libs/kicad/fileformats.py @@ -949,6 +949,13 @@ class C_segment: class C_arc_segment(C_segment): mid: C_xy + @dataclass(kw_only=True) + class C_group: + name: Optional[str] = field(**sexp_field(positional=True), default=None) + uuid: UUID + locked: Optional[bool] = None + members: list[UUID] + version: int = field(**sexp_field(assert_value=20240108)) generator: str generator_version: str @@ -1146,6 +1153,9 @@ class C_arc_segment(C_segment): gr_texts: list[C_text] = field( **sexp_field(multidict=True), default_factory=list ) + groups: list[C_group] = field( + **sexp_field(multidict=True), default_factory=list + ) kicad_pcb: C_kicad_pcb