Index: lihata_format/examples/example.buff =================================================================== --- lihata_format/examples/example.buff (nonexistent) +++ lihata_format/examples/example.buff (revision 4300) @@ -0,0 +1,78 @@ +ha:cschem-buffer-v1 { + ha:obj_indirect.1 { + li:objects { + ha:group.1 { + li:objects { + ha:group.8 { + li:objects { + ha:group.1 { + x=20000; y=0; + li:objects { + ha:line.1 { x1=0; y1=0; x2=-4000; y2=0; stroke=term-decor; } + ha:text.2 { x1=-3000; y1=0; dyntext=1; stroke=term-primary; text=%../a.display/name%; floater=1; } + } + ha:attrib { + name=2 + role=terminal + } + } + ha:group.2 { + mirx=1; + li:objects { + ha:line.1 { x1=0; y1=0; x2=-4000; y2=0; stroke=term-decor; } + ha:text.2 { x1=-3000; y1=0; dyntext=1; stroke=term-primary; text=%../a.display/name%; floater=1; } + } + ha:attrib { + name=1 + role=terminal + } + } + ha:text.3 { x1=12000; y1=2000; rot=90.000000; dyntext=1; stroke=sym-primary; text=%../A.value%; floater=1; } + ha:text.4 { x1=8000; y1=2000; rot=90.000000; dyntext=1; stroke=sym-primary; text=%../A.name%; floater=1; } + ha:polygon.5 { + li:outline { + ha:line { x1=4000; y1=2000; x2=4000; y2=-2000; } + ha:line { x1=4000; y1=-2000; x2=16000; y2=-2000; } + ha:line { x1=16000; y1=-2000; x2=16000; y2=2000; } + ha:line { x1=16000; y1=2000; x2=4000; y2=2000; } + } + stroke=sym-decor; + } + } + ha:attrib { + name=R?? + role=symbol + sym-copyright=(C) 2022 Tibor 'Igor2' Palinkas + sym-license-dist=GPLv2+ + sym-license-use=Public Domain + sym-source=sch-rnd default symbol lib + value=4k7 + } + } + } + ha:attrib { + ha:purpose = { value=symbol; prio=0; } + } + } + } + } + ha:obj_direct.2 { + li:objects { + ha:group_ref.1 { + x=10000; y=0; + ref=/1/1/8 + li:child_xform { + } + ha:attrib { + footprint=1206 + name=R2 + uid=xxxxx2 + value=2k + } + } + ha:line.2 { x1=0; y1=-4000; x2=-4000; y2=-4000; stroke=wire; } + ha:line.3 { x1=-4000; y1=-4000; x2=-4000; y2=0; stroke=wire; } + ha:arc.4 { cx=-8000; cy=4000; r=4000; sang=0.000000; dang=360.000000; stroke=sheet-decor; } + } + } +}