Evaluating Mesh Flattening Tools
Match the task to a category, then pick the top repo:
| Goal | Recommended repo | Stack |
|---|---|---|
| Flatten woven garment with fabric physics | CorentinDumery/garment-flattening or nicopietroni/parafashion | C++, libigl |
| Reconstruct sewing pattern from 3D scan/point cloud | maria-korosteleva/Garment-Pattern-Estimation (NeuralTailor) | Python, PyTorch |
| Generate patterns from text/image via diffusion | Style3D/garmagenet-impl, Shenfu-Research/GarmentDiffusion | Python, diffusion transformers |
| Turn a sculpted mesh into a printable plush pattern | Blender "Seams to Sewing Pattern" add-on | Blender Python API |
| Transfer textures between two meshes with matching topology | caretdashcaret/Patternfy | Python |
| General-purpose low-distortion UV cutting (non-garment) | liminchen/OptCuts | C++, libigl, Eigen |
| Simplify high-poly mesh while preserving UV seams | songrun/SeamAwareDecimater | C++ |
| General mesh processing / manual UV work | cnr-isti-vclab/meshlab | C++ |
- Clarify the domain — ask/determine: garment vs. plush/craft vs. rigid/papercraft vs. generic UV unwrapping. This single distinction eliminates most irrelevant repos.
- Clarify desired automation level:
- Interactive/manual (artist marks seams) → Blender add-ons, MeshLab.
- Algorithmic/optimization-based (no ML, deterministic) → OptCuts, garment-flattening, SeamAwareDecimater.
- Learned/generative (needs trained model or training data) → NeuralTailor, GarmageNet, GarmentDiffusion.
- Check input format compatibility — point cloud, textured OBJ, Blender mesh, SMPL body model, or text/image prompt. Reject repos whose expected input doesn't match what the user has.
- Check physical constraints needed — if fabric anisotropy, grain lines, darts, or seam allowances matter, prefer garment-focused codebases over generic parameterization (OptCuts ignores material physics).
- Check maturity/output usability — does it export directly to a usable format (SVG, DXF) or only to an internal mesh representation requiring further tooling?
- Present a short comparison table (repo, input→output, stack, license/activity if known) rather than prose dump.
- Ask one narrowing question if the goal is ambiguous: object type + preferred workflow (plugin vs. library vs. research code).
Example 1: Input: "I have a sculpted toy mesh in Blender and want a printable fabric pattern." Output: Recommend the Blender "Seams to Sewing Pattern Remastered" add-on (interactive seam marking → flattened UV islands → scale-accurate SVG export). Mention Patternfy only if the real goal is texture transfer between two topologically matching OBJs, not pattern generation.
Example 2:
Input: "I need to generate a sewing pattern from a 3D body scan point cloud using deep learning."
Output: Recommend NeuralTailor (Garment-Pattern-Estimation) — PyTorch, point cloud → structured 2D panels + stitch graph. Mention GarmentDiffusion/GarmageNet as alternatives if text/image-conditioned generation is desired instead of pure point-cloud reconstruction.
Example 3: Input: "I just need a solid algorithm to cut any closed mesh into low-distortion 2D patches, no fabric physics needed." Output: Recommend OptCuts (C++/libigl/Eigen) — jointly optimizes seam placement and flattening to bound area/angle distortion. Note SeamAwareDecimater as a complementary pre/post-processing step if the mesh also needs polygon reduction while preserving those seams.
- Separate "geometry-only" parameterization tools (OptCuts, MeshTailor) from "physics-aware" garment tools (garment-flattening, Parafashion) — conflating them leads to wrong recommendations for fabric work.
- Prefer giving one strong default recommendation per use case over listing every option; reserve the full comparison table for when the user's needs span multiple categories.
- Note the output format explicitly (SVG, OBJ, JSON sewing pattern, stitch graph) since downstream usability often matters more than algorithm sophistication.
- Flag whether a repo is a trained-model release (needs pretrained weights or training data) vs. a pure algorithm — this affects setup time significantly.
- When citing research codebases, name the paper/venue (e.g., SIGGRAPH 2022, IJCAI 2025) so the user can verify currency and peer review.
- Don't recommend generic UV-unwrapping tools (OptCuts, MeshLab) for garment work that needs anisotropic fabric behavior, darts, or grain alignment — results will not be sewable.
- Don't recommend ML/diffusion-based repos (GarmageNet, GarmentDiffusion, NeuralTailor) to users who just want a quick deterministic flatten — setup/training overhead is disproportionate.
- Don't conflate "pattern generation" (creating sewing panels) with "texture transfer" (Patternfy) — they solve different problems despite surface similarity.
- Don't present an exhaustive repo dump without first asking/inferring object type and workflow preference — it overwhelms rather than guides.