Skip to content

Add sketch visualization overlays for region diagnostics #13602

Description

@ksbharaj

The static sketch PNG renderer currently shows solver freedom only. Region debugging needs two optional overlays: named seed segments and the boundary returned by a successful region() call.\n\nProposed scope:\n- preserve the existing render_sketch_png behavior by default\n- accept sketch-local segment names and render them in a distinct highlight color\n- accept a top-level resolved region name and render its engine-resolved boundary in a second color\n- expose the options through the zoo-kcl Python binding\n- return explicit errors for unknown segments, unknown regions, or a region from another sketch\n\nThis is the low-level rendering primitive. MCP can separately inspect region(segments = [...]) source and pass the names into this API.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions