Designing Handicraft CAD Systems
YAML--- name: designing-handicraft-cad-systems description: Guides the design of computational systems that translate hand-crafted domains (plush toys, covers, bead art, stencils) into solvable geometric/graph constraint problems, separating user creative input from system-solved physical constraints. Use when building CAD/CG tools for non-experts to design 3D physical objects (textiles, foldable surfaces, wire-based crafts, connected-cutout art) where real-world fabrication constraints must be simulated and solved automatically. ---
When a user wants to design a physical craft object computationally, identify the fabrication constraint that makes free-form design hard, then build a system where:
- User draws/manipulates only the design intent (a 2D outline, a 3D shape edit, a gesture)
- System internally simulates the physical transformation (stuffing, folding, wire path, cutout stability)
- System outputs the fabricatable pattern (sewing pattern, flattened cover, wire recipe, cutting path) that satisfies the constraint by construction
Example mapping:
Domain -> Hard constraint -> Internal representation -> Algorithm
Stuffed toy -> shape after stuffing -> mesh vertices/normals -> iterative inflation simulation
Object cover -> must wrap & be removable -> convex hull + developable map -> angle-based flattening, normal-cone test
Bead sculpture -> all edges equal length -> graph (nodes=beads, links=wire)-> Eulerian/semi-Eulerian path, Hamiltonian path
Stencil art -> must stay one connected piece -> raster + vector dual rep -> island detection, auto-bridging
Progress:
- Step 1: Identify the real-world physical constraint that makes naive design fail (ask: "what happens when a novice just draws this by hand?")
- Step 2: Choose the right geometric/mathematical abstraction (mesh simulation, developable surfaces, graph theory, raster/vector duality)
- Step 3: Decide the minimal user input (a stroke, a drag, a gesture) that expresses intent without requiring domain expertise
- Step 4: Build the background solver that runs continuously/iteratively as the user edits, so the displayed pattern always satisfies the constraint
- Step 5: Add a validity/termination test specific to the domain (e.g., normal-direction check for "can it be removed?", edge-degree parity check for "can it be drawn in one stroke?")
- Step 6: Minimize instability/difficulty during physical fabrication, not just correctness of the final digital model (e.g., minimize unstable bead states mid-assembly, not just total edge count)
- Step 7: Validate with real users (workshops, children, non-experts) building the physical object end-to-end
- Step 8: Generalize the tool to adjacent object classes (bear pattern -> rabbit ears; camera cover -> baby clothes neck opening)
Example 1: Stuffed toy pattern generation Input: User draws a freeform 2D outline silhouette (e.g., a rabbit with long ears) representing the desired 3D stuffed shape. Output: System runs continuous mesh-inflation simulation (vertices pushed outward along normals, à la stuffing physics) and back-computes a 2D sewing pattern that, when sewn and stuffed, matches the target 3D silhouette — avoiding the "ears come out too long and thin" failure of naive pattern reuse.
Example 2: Camera cover (wrap + extraction constraint) Input: 3D CAD model of a camera. Output: Convex hull computed as cover shape; surface flattened via a no-shrink developable mapping (edges only allowed to stretch, never compress, colored red/blue/green by strain); opening simulated via normal-vector test (all normals within 90° of "inward" = object can be extracted) before cutting fabric.
Example 3: 3D bead sculpture (equal-edge-length constraint) Input: User picks a base polyhedron (regular/semi-regular) and edits via gestures — sweep a face to extrude a vertex, click an edge to split it, merge vertices to delete edges. Output: System maintains "all edges = one bead length" automatically; converts final polyhedron into a bead/wire graph; solves for an Eulerian (or semi-Eulerian) circuit via Hamiltonian-path-based ordering of faces to minimize the number of mid-assembly unstable (floppy) beads; outputs a buildable 3D-consistent (not flattened 2D recipe) assembly order.
Example 4: Stencil design (single connected sheet constraint) Input: User freehand draws shapes in "pen" or "fill" mode, layering and reordering them. Output: System represents strokes as vector (for easy move/copy/reorder) but checks connectivity internally via raster boolean masks; automatically detects "islands" (disconnected black regions) and inserts/removes bridge connectors so the cut stencil is always physically one connected piece.
- Separate design space from solution space. The user only touches the design space (a silhouette, a polyhedron edit, a stroke); the solver owns the constraint-satisfying representation.
- Simulate continuously, not just at the end. Run the physics/graph solver live as the user edits so what they see is always fabricable ("もぞもぞ動く" pattern update during drawing).
- Use a three-layer model for complex crafts: design model (what user manipulates) → structural/internal model (richer graph/mesh used only for simulation) → output/artifact model (what gets physically built). The bead system's design mesh → bead/wire graph → physical bead sequence is the template.
- Borrow the right classical theory for the constraint: Eulerian graphs for "one continuous wire/stroke," developable surfaces / Gaussian curvature for "no-stretch wrapping," Hamiltonian paths for "visit every face/region once," convex hulls for "minimal wrapping shape."
- Optimize for physical build experience, not just digital correctness. A mathematically valid solution (any Eulerian circuit) may be terrible to physically assemble (constant floppy/unstable intermediate states) — add a secondary objective to minimize real-world fabrication pain.
- Validate with real non-expert users (children, workshop participants) end-to-end, including whether they can pause and resume construction (traceability between digital model and physical progress matters as much as the algorithm).
- Look for research problems in your own hobbies. Domain expertise + a personally-felt difficulty ("I can never finish this bead pattern," "I can't sew without the ears being too long") is a strong source of well-posed constraint problems.
- Prefer dual representations when one format alone can't give both ease-of-editing and ease-of-constraint-checking (vector for editing, raster/boolean for connectivity checking, as in the stencil tool).
- Don't let the user manually solve the physical constraint (e.g., manually guessing a swollen pattern shape) — that defeats the purpose; the system must solve it invisibly.
- Don't flatten/develop 3D surfaces with a generic method (e.g., plain angle-based flattening) without checking for shrinking edges — shrinkage silently breaks the "must fully wrap" guarantee; bias the solver to only allow stretch, never compression, when the constraint is "must cover."
- Don't stop at "a solution exists" for graph-based crafts (Eulerian path) — the first found solution is often the worst for physical assembly; always search for one minimizing real-world instability/difficulty.
- Don't ignore ergonomic/physical knowledge that isn't obvious from geometry alone (e.g., baby's head being larger than neck) — bake domain-specific extraction/wearability tests into the simulation rather than assuming the user will catch it.
- Don't force a single data representation when the task has conflicting needs (easy manipulation vs. easy constraint-checking) — use dual representations (vector + raster) rather than compromising on one.
- Don't treat the research as finished at "paper + working demo" — real workshops with actual target users (children, novices) surface usability failures (e.g., losing track of progress) that pure simulation testing misses.