A small collection of Inkscape extensions for generating stylized scientific figures directly inside Inkscape — clustered point distributions, neural network schematics, 2D molecular graphs, and ray-traced 3D molecular images.
All plugins appear under Extensions → Generate after deployment.
| Plugin | What it does | Deps |
|---|---|---|
make_clustered_points |
Rectangle filled with Gaussian-clustered points using the Nord palette | inkex only |
make_neural_network |
Stylized neural-network schematic from a comma-separated layer topology | inkex only |
make_mol_graph |
2D molecular graph from SMILES with pastel CPK colors and gray bonds | rdkit |
make_3d_molecular_structure |
Ray-traced 3D ball-and-stick rendering with optional conformer ensembles | rdkit + pymol-open-source |
The two molecular plugins call out to a shared pixi environment
(shared_env/) for RDKit and PyMOL, since Inkscape's bundled Python cannot install
those packages directly. The other two plugins have no external dependencies.
You'll need pixi installed (one-line install:
curl -fsSL https://pixi.sh/install.sh | bash).
Then from the repo root:
./deploy.shThe script prompts for your Inkscape User Extensions path. To find it:
Inkscape → Edit → Preferences → System → User extensions
Copy that path and paste it into the prompt. The script will:
- Build the shared pixi environment (
pixi installinshared_env/) — this pulls down RDKit and PyMOL on the first run and may take a few minutes. - Copy every plugin's
.pyand.inxfiles to your extensions folder. - Copy the shared
.pixi/directory alongside them so the molecular plugins can find their Python interpreter.
Restart Inkscape and the new menu items will be available under Extensions → Generate.
Run ./deploy.sh again. The script overwrites the deployed files in place; the
shared .pixi/ is reused unless you've changed shared_env/pixi.toml.
inkscape_plugins/
├── deploy.sh Interactive deploy script
├── shared_env/pixi.toml Shared rdkit + pymol-open-source environment
├── make_clustered_points/ Plugin (.py + .inx + README)
├── make_neural_network/ Plugin (.py + .inx + README)
├── make_mol_graph/ Plugin (.py + .inx + README)
├── make_3d_molecular_structure/ Plugin (.py + .inx + README)
└── README.md This file