Info commands¶
Geometry-information commands: metal area, segment listing, partial-inductance matrix dump.
These mirror cmd_metalarea_print (asitic_repl.c:0x0804ee74),
cmd_listsegs (case 210), and cmd_lrmat_dump (case 531). The
binary’s outputs are textual; we return Python objects and format
them as text in format_*() helpers.
- reasitic.info.metal_area(shape)[source]¶
Total xy-projected metal area of
shapein μm².Sum of absolute polygon areas (shoelace formula) across every polygon in the shape. Polygons with fewer than 3 vertices (e.g. a wire) are treated as zero-area.
- reasitic.info.list_segments(shape)[source]¶
Return one dict per segment with position, length, and width.
- reasitic.info.format_segments(shape)[source]¶
Render
list_segments()as the binary’s text format.