vibe-sketcherDocumentation

vibesketcher.render.periodic_tex

Editable TikZ from the periodic renderer’s own bounded SVG vocabulary.

This is not an SVG importer. Only periodic_figure_svg() supplies input; unknown primitives/attributes fail closed so a new overlay cannot disappear silently. Geometry and painter order therefore stay shared with SVG/PDF/PNG. TikZ baseline anchors and path actions follow the PGF/TikZ manual, sections 15 and 17 (https://tikz.dev/tikz-actions, https://tikz.dev/tikz-shapes). No external converter or TeX process runs during export.

Functions

periodic_svg_to_tex(svg)

Convert only the generated periodic SVG vocabulary, refusing unknown features.

vibesketcher.render.periodic_tex.periodic_svg_to_tex(svg)[source]

Convert only the generated periodic SVG vocabulary, refusing unknown features.

Parameters:

svg (bytes)

Return type:

bytes