/hildegard:hildegard-3dfrom hildegard
Guides 3D modeling in iterative rounds for Blender, OpenSCAD, or code-based assets. Checks watertightness, size, and silhouette each round for print, game, or render output.
Ships in hildegard. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
A 3D model made in one shot is slop: it reads from the front and collapses from the side, it has holes a slicer
chokes on, and it is the wrong size. Make it the way a sculptor does: big masses first, turned and checked from every
side, detail last. scripts/review_mesh.py does the turning and the measuring; you do the looking and the deciding.
hildegard-loop drives the same rounds with a script that refuses to skip a critique.
Build with scripts/mesh_kit.py or Blender, then measure and draw each round with scripts/review_mesh.py
(section 3). Both need Python with numpy and Pillow: install them once with python3 -m pip install pillow numpy av (av is for the media checker; the
mesher mesh_sdf also needs scikit-image). Without them, take the size from the exporter and look at renders.
If you have them, the hildegard skill (its sculpture and figure-anatomy references) gives the method and the
anatomy for any figure, face, hand or animal, and hildegard-craft the brief and the slop to avoid. Here,
references/slop.md is the slop catalogue.
If you read nothing else, do these steps.
brief.md: for, what, three specifics, the size in mm (or the triangle budget), the bed.spec.json and run python3 scripts/review_mesh.py spec.json.rounds.md: each answer with the view or check that shows it, and one change.Write the brief before any geometry: who it's for and where it goes, what it is, three specifics, constraints, and references (qualities, not names). Decide what the model is for, since that sets every target:
| For | Format | Units and up | Targets |
|---|---|---|---|
| A 3D print | STL (or GLB) | millimetres, Z up | watertight, one body (or parts on purpose), fits the bed, a base, few overhangs |
| Viewing, AR, the web | GLB | metres, Y up | silhouette from every side, a sensible triangle budget, PBR materials |
| A game | GLB | metres, Y up | a hard triangle budget, clean silhouette at small size, unit scale, UV/rig/LOD checks |
| A render or turntable | GLB or the Blender file | as authored | form and surface under raking light |
Then write the brief and targets into brief.md in your working folder, for example:
For: a 3D print for the end of a curtain rod, FDM, PLA
What: a standing heron, neck folded, on a round plinth that fits a 25 mm rod
Specifics: the S of the folded neck; one leg lifted; feather tracts as planes, not noise
Targets: print, size_mm 40 x 40 x 120, bed 220 x 220 x 250
Keep one entry per round in rounds.md: what you changed, what the checks said, your critique, the next change.
Pick the route that fits the subject and what this computer has. Keep the build in one script with named
parameters (build.py, model.scad), seeded, so each round is a small edit you can name, never a hand-patched mesh.
| Subject | Route | Notes |
|---|---|---|
| Organic: figures, animals, drapery, rocks | Signed-distance fields + smooth union, meshed with marching cubes | scripts/mesh_kit.py has the primitives, smin, and the mesher (needs scikit-image) |
| Organic, with Blender here | A Blender build script (below) | primitives, Subdivision, Remesh, Sculpt by script, Geometry Nodes; scripts/blender_kit.py exports GLB Y up and STL |
| Hard-surface, functional, printable parts | OpenSCAD (the hildegard-openscad skill); or build123d / CadQuery | exact dimensions, fillets, clearances, parts that fit |
| Booleans and extrusions in Python | trimesh + manifold3d | manifold3d keeps booleans watertight |
| Reliefs, coins, lithophanes | A heightmap image turned into a mesh | lithophanes 0.6 mm (light) to 3 mm (dark) thick |
| No shell here (a chatbot) | Write a blockout as OBJ text for the user to save, or run mesh_kit.py in the app's code tool | keep text models to a few thousand faces |
scripts/mesh_kit.py (read it from this skill's folder) is plain numpy: watertight
primitives (box, sphere, cylinder), transforms, signed-distance modeling, and writers for OBJ, STL and GLB, so a
model can be made and saved from any Python, including a chatbot's.
scripts/blender_kit.py is a
bpy kit: an empty scene in millimetres, primitives, Subdivision, voxel Remesh, exact Booleans, bevels, smooth
shading, simple PBR materials, export of named objects to GLB (Y up) and STL (Z up), and turntable(out, frames)
(Cycles on the CPU, an empty at the model's centre with the camera parented to it). Copy it beside build.py and
import it from the script's own folder, by its absolute path: Blender reads relative paths against its own folder.
import os, sys
sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
import blender_kit as bk
out, params = bk.args() # --out and --params, absolute
bk.clear_scene()
bk.units_mm()
body = bk.cylinder("body", radius=20, depth=45, location=(0, 0, 22.5))
r = params.get("head", 15)
head = bk.sphere("head", radius=r, location=(0, 0, 45 + 0.7 * r)) # sunk into the body, so the two join
figure = bk.join([body, head], "figure")
bk.remesh(figure, voxel=1.5) # one watertight surface
bk.subdivide(figure, levels=1)
bk.smooth(figure)
bk.material(figure, "clay", (0.8, 0.75, 0.7))
bk.export_glb(out, ["figure"]) # model.glb, what review_mesh.py checks
bk.export_stl(out, ["figure"])
The exports keep millimetres, as a print loop wants. glTF counts in metres, so for a GLB meant for viewing, AR, the
web or a game, export bk.export_glb(out, ["figure"], scale=0.001): it comes out in metres, Y up. The turntable is
for delivery: its defaults (96 Cycles frames at 512 px) take minutes, so run it on the finished model, never inside a
round.
Run the build with every path absolute; a failing build exits 1 with its line and error:
blender --background --factory-startup --python-exit-code 1 --python "$PWD/build.py" -- --out "$PWD/out".
Blockout. Primary masses only (spheres, capsules, boxes), at low resolution. Get proportion, gesture and the
silhouette right from all eight views. Export it (OpenSCAD: openscad -o heron.stl model.scad), then write a spec
and run the checker:
echo '{"path": "heron.stl", "sheet": "round-1.png", "print": true, "size_mm": [40, 40, 120]}' > spec.json
python3 scripts/review_mesh.py spec.json
(print and size_mm only for a print; "up": "y" for a GLB; bed_mm and max_triangles are optional.) It
prints the checks as JSON and writes the sheet to round-1.png: open that image and look at it.
Look at the sheet. Eight views at 45° steps, one above (or below, for a print, where the base is), and a row of
black silhouettes. Grey clay is the surface; magenta is a back face showing: a hole, or faces turned inside
out. Read the checks: watertight, manifold, winding, volume, bodies, debris, size, and for prints
units, bed, base, overhang, balance.
Critique honestly: answer every question, each with the view or check
that shows it (silhouette: no, back-left view reads as a blob; the neck and body merge). Name one change. The
questions: is the silhouette readable from every side, are the proportions right,
does the back match the front's quality, is the base real, does it read at the size it will be seen, and which
check failed. Write the answers in rounds.md.
Change that one thing in the script, rebuild, send the next round. Secondary forms (major muscle groups, fold forms, planes of the face) come only after the silhouette passes; tertiary detail (feathers, texture, inscriptions) last, and only where it will be seen.
Finish on the best round, which is not always the last: deliver that round's file with a note that says what it is and what still fails.
Six rounds is the default for a model. If a check still fails at the end, say so; never call a model printable when
watertight or bed fails.
balance).units warns, the model was made in metres or centimetres. Scale it, don't change the target.When building multi-part assemblies or game assets (Y-up metres), apply these geometric and export invariants before
shipping and check the exported GLB with python3 scripts/check_game_asset.py model.glb:
[sx, sy, sz] centered at [cx, cy, cz]
spans [cy - sy/2, cy + sy/2] on Y. To sit flush on floor y = 0, set cy = sy / 2. To stack part B (height hB)
flush on top of part A (top at topA), set cy_B = topA + hB / 2. Never confuse Blender's default size=2 cube
(half-extent 1.0) with a 1-unit box.endpoint_a and endpoint_b plus
thickness instead of guessing Euler rotations. Both endpoints must touch or enter their supporting parts.[1, 1, 1] before export (zero negative scale),
stay inside triangle and material/draw-call budgets (--max-triangles, --max-materials), pack TEXCOORD_0 UVs
strictly inside [0, 1], and for rigged meshes limit skinning to at most 4 non-negative weights per vertex summing
to 1.0.>= 0.85; collision proxies must have <= visual triangles. Re-import the exported GLB into a
blank scene (or run check_game_asset.py) before issuing a SHIP verdict.Exact JSON assembly spec shape (Y-up metres, clean unit scale):
{
"materials": ["wood"],
"parts": [
{
"name": "base",
"kind": "box",
"center": [0.0, 0.2, 0.0],
"size": [1.0, 0.4, 1.0],
"scale": [1.0, 1.0, 1.0],
"uv": true
},
{
"name": "brace",
"kind": "beam",
"endpoint_a": [-0.45, 0.9, 0.0],
"endpoint_b": [0.4, 0.1, 0.0],
"thickness": 0.1,
"scale": [1.0, 1.0, 1.0]
}
],
"weights": [0.6, 0.3, 0.1, 0.0]
}
Include "uv": true when UVs are required, and "weights" (4 non-negative floats summing to 1.0) when rigged.
Run python3 scripts/check_game_asset.py model.glb --max-triangles 25000 --max-materials 4 --contact-tol 0.02
(add --require-uv, --require-rig, --lods lod1.glb, --collider col.glb as needed).
debris and manifold catch them; union with manifold3d, or remesh.volume goes negative and the views go magenta.
mesh_kit.mesh_sdf orients them; anything else, flip the faces.size / 2 leaves gaps; exporting non-unit
scale breaks physics and normals. Run check_game_asset.py to catch both.The chosen round's file, the sheet, and the build script so the user can change it.
For viewing, offer a turntable (Blender: blender_kit.turntable(out), an empty at the model's centre, the camera parented to it, 360° over 96 frames) or a
<model-viewer> page pinned to an exact version. State plainly what was measured (the checks review_mesh.py ran) and
what wasn't (it hasn't been printed or held). No weapons or weapon parts, in any form.
size result is quoted, not
restated from memory.rounds.md.watertight, manifold or bed fails; never claim a render or a print that did
not happen.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub students-of-local/hildegard --plugin hildegard17 skills in this plugin
/hildegardUse for /hildegard, /art, /vus, /mus, /suno and any request to make, edit or write creative work; routes images, video, sound, music, 3D, games, web and every kind of writing./hildegard-artUse when making art, an image, illustration, key art, mood board or visual style with the user's image model; posters and covers with words go to hildegard-design./hildegard-blogUse when writing a blog post, newsletter, email, about page, bio or announcement in a person's own voice, learned from their samples and edits after a short interview.Other plugins' skills for the same job