← ClaudeAtlas

wireframe-to-3dlisted

Convert 2D orthographic wireframe PNG drawings to 3D Blender models exported as glTF/GLB. Use this skill whenever the user provides wireframe images (technical drawings, line drawings, orthographic views, side/front/back panels) and wants to generate a 3D model, mesh, or .glb file. Triggers on phrases like "convert this wireframe to 3D", "make a 3D model from these drawings", "build a model from this wireframe", "generate GLB from these views", or any image-to-3D-mesh request involving line drawings. Make sure to use this skill even if the user does not explicitly say "wireframe" — also covers "orthographic views", "technical drawings", "line drawings of objects", "front and side views". Requires the Blender MCP addon to be running (port 9876) and Python with opencv-python, numpy, scipy installed.
MAX-786/claude-3d-harness · ★ 6 · AI & Automation · score 74
Install: claude install-skill MAX-786/claude-3d-harness
# Wireframe-to-3D Conversion Convert 2D orthographic wireframe images to parametric 3D Blender models, exported as glTF 2.0 binary (`.glb`). ## Overview The skill drives a four-stage pipeline: 1. **Analyze** wireframe images locally with `scripts/wireframe_analyzer.py` (OpenCV → Bezier control points in JSON). 2. **Generate** Blender Python code that recreates the contours as parametric Bezier curves. 3. **Execute** code in Blender via `mcp__blender__execute_blender_code`, converting curves to meshes with PBR materials. 4. **Export** as optimized GLB (≤ 15 MB), validating size and topology. You (Claude) are the orchestrator. The `scripts/` directory contains the only standalone code (`wireframe_analyzer.py`); everything else is patterns you emit and run via MCP. ## Prerequisites — check first Before any wireframe work, verify the environment: 1. **Blender MCP is reachable**. Call `mcp__blender__get_scene_info`. If it errors with "Could not connect to Blender", stop and tell the user: > "Blender's MCP addon isn't running. Start Blender, enable the BlenderMCP addon (port 9876), then re-run." 2. **Python deps for the analyzer**. Run: ``` python3 -c "import cv2, numpy, scipy" 2>&1 ``` If it errors, install nothing into the system Python. Run the analyzer as `uv run --with opencv-python --with numpy --with scipy --with Pillow python <script> ...`, which resolves the packages in a throwaway environment. 3. **Image input**. Confirm the user provided at least