KigumiKigumi is a VS Code extension that renders kumiki frames. PrerequisitesTo use Kigumi, you need:
Kigumi does NOT require pre-installed packages. It handles dependency setup in a project-local virtual environment automatically. InitializationKigumi is built around the VSCode workspace (i.e. a folder) where all your kimuki project files live. To initialize a project, Open a folder in VScode that will be your workspace. Then open the Kigumi sidebar and hit the initialize project button. This will generate several files in your workspace including an example frame, agent instructions, and a project settings file. The sidebar will also check for any Kimuki updates and you can optionally choose to update to the latest version. The sidebar contains a project file explorer. Click on a frame to open it in the Kigumi viewer. You can also use the "Kigumi: Open Current File in Viewer" command from the command palette to quickly open the current file. To open the command pallete press "cmd/ctrl + shift + p". The sidebar also contains a pattern book explorer which provides various examples of things you can do with kumiki. You can also choose to view or clone the source of any pattern you like here. UsageOnce you open a project, it will create a new tab where you can view the frame. The viewer is pretty intuitive, and you can scroll down to see more options and features. Right now the viewer has mainly view-only features that you can play around. Write operations happen on the frame python file itself. In the future, there will be more interactive features in the viewer such as assembly, drawing generation, and measuring. DetailsRuntime Contract for Kimuki filesWhen Kigumi imports a Python module, it uses reflection to resolve what to render in this order:
If no supported entry point exists, the viewer returns an error. Project DiscoveryKigumi resolves project roots the same way for both "Render Kigumi" and "Initialize Current Project":
This lets you open a single Python file and still bootstrap a runnable Kigumi project without manual setup first. First Run: Automatic Python Environment SetupOn first render in a project, Kumiki bootstraps a project-local environment automatically:
On later runs, Kigumi reuses the configured interpreter from Note: If neither Pattern BrowsingKumiki scans three sources:
|