contour-to-mesh skillA
contour-to-mesh is agent-read markdown (skill) from max-786/claude-3d-harness: Build Blender mesh surfaces directly from extracted 2D contours/masks instead of approximate primitives. Use for 1:1 mascot/logo reconstruction, exact leaf/petal silhouettes, filled wireframe shapes, shallow bas-relief forms, or when the model outline must match a front template before adding depth..
Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.
What the file says
# Contour to Mesh Use this when a reference silhouette is the contract. The mesh starts as a filled 2D contour in front-view X/Z, then gets shallow Y depth/crown after validation. ## Workflow 1. Extract or select a clean contour/mask for one structural part. 2. Generate a triangulated mesh recipe with `scripts/mask_to_mesh_recipe.py`. 3. Run the generated Blender Python to create a named `GEO_*` mesh. 4. Assign front-projected UVs immediately. 5. Add depth only as a modifier or vertex displacement that preserves X/Z boundary positions. 6. Validate the front render against the source mask. ## Hard rules - Do not use radial duplication unless the manifest says the source is symmetric. - Do not use a generic ellipse if a contour exists. - Boundary vertices must keep source X/Z coordinates. - Depth deformation may move Y and inner vertices, but must not alter front silhouette. - One structural source part should become one named structural mesh. ## Blender pattern Generated mesh coordinates should map image `x` to Blender `X` and image `y` to Blender `Z` with vertical flip. Use `Y` only for thickness/depth. ## Front-plane rotation rule …
Read the whole file at its exact version.
How to install
mdr add max-786/claude-3d-harness/contour-to-mesh@git:20260921.d4bf893mdr add max-786/claude-3d-harness/contour-to-mesh@sha256:3d5648094c36866dPin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.
[](https://markdownregistry.com/a/art_dakpkgg5t5riqrt6)
1 badge views in 30 days
Versions
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (4662 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
max-786/claude-3d-harness · 6 stars · license MIT · pushed 2026-09-21 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_dakpkgg5t5riqrt6 GET https://markdownregistry.com/api/v1/resolve?ref=max-786/claude-3d-harness/contour-to-mesh GET https://markdownregistry.com/api/v1/blob/3d5648094c36866d53528377438fa7dcc37558fc0c8c5ce4528677da8b2a7b03
Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.