skidl.tools.kicad6.gen_svg module

Functions for generating SVG.

skidl.tools.kicad6.gen_svg.gen_svg_comp(part, symtx, net_stubs=None)[source]

Generate SVG for this component.

Parameters:
  • part – Part object for which an SVG symbol will be created.

  • net_stubs – List of Net objects whose names will be connected to part symbol pins as connection stubs.

  • symtx – String such as “HR” that indicates symbol mirroring/rotation.

Returns: SVG for the part symbol.