Skip to content

Refactor meshplot / LLM experiment #144

@ashwinvis

Description

@ashwinvis

Initial implementation was done in #84

The following resulted in #145.

I should have done this in another branch. The prompts used for Claude Code Sonnet 4.5 (with "thinking" mode) were:

  • /init
  • (plan) The current branch contains a meshplot module, to plot mesh. Recommend alternate libraries to do the same.
  • (plan) I merged with main branch which introduces changes to the package. Uses src-layout and pyproject.toml. Update the current plan accordingly.
  • /plan open add some manual edits.
  • Implement Option B: with support for both Pyvista and Matplotlib backends. Use git commit after meaningful changes are made. NEVER use git push.
  • Separate pyvista and matplotlib backends into 2 different modules. Use typing.Protocol and runtime_checkable so that the functions match.
  • Move all newly created visualization modules under a subpackage pymech.viz (rate limited!)

Next steps, try to recreate this using an open source model.

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