How yunsmn/meshforge works
MeshForge is a notebook-based pipeline that turns an uploaded DWG/DXF floor plan into one unified 3D mesh. Its four sequential phases render and segment the plan, create CAD-conditioned image variants, generate per-segment meshes, then place and stitch them using Phase 1 metadata. The README documents these responsibilities and handoffs; no source excerpts were available, so internal call details are not inferred. Google Drive persistence is included as a supporting capability, not a pipeline stage.
Main entry points: phase 1.ipynb Tiles and metadata · phase 2.ipynb ControlNet rendering · phase 3.ipynb Hunyuan3D inference · phase 4.ipynb Mesh-to-segment mapping
Components 17
Plan segmentation
- DXF overview render
Scripts/phase 1.ipynb - Density regions
Scripts/phase 1.ipynb - SAM segmentation
Scripts/phase 1.ipynb - Tiles and metadata
Scripts/phase 1.ipynb
CAD rendering
- Line-art control map
Scripts/phase 2.ipynb - ControlNet rendering
Scripts/phase 2.ipynb - Rendered variants
Scripts/phase 2.ipynb
Mesh generation
- Background removal
Scripts/phase 3.ipynb - Hunyuan3D inference
Scripts/phase 3.ipynb - Segment GLB meshes
Scripts/phase 3.ipynb
Mesh stitching
- Mesh-to-segment mapping
Scripts/phase 4.ipynb - Transform and align
Scripts/phase 4.ipynb - Weld and smooth
Scripts/phase 4.ipynb - Unified GLB mesh
Scripts/phase 4.ipynb
Other components
- Floor-plan user
- DWG/DXF plan
- Google Drive
Connections 18
- Floor-plan user → DWG/DXF plan: uploads
README.md - DWG/DXF plan → DXF overview render: renders
README.md - DXF overview render → Density regions: builds density map
README.md - Density regions → SAM segmentation: segments regions
README.md - SAM segmentation → Tiles and metadata: produces tiles and metadata
README.md - Tiles and metadata → Line-art control map: provides tiles
README.md - Line-art control map → ControlNet rendering: conditions rendering
README.md - ControlNet rendering → Rendered variants: generates variants
README.md - Rendered variants → Background removal: provides images
README.md - Background removal → Hunyuan3D inference: prepares images
README.md - Hunyuan3D inference → Segment GLB meshes: exports meshes
README.md - Segment GLB meshes → Mesh-to-segment mapping: loads meshes
README.md - Tiles and metadata → Mesh-to-segment mapping: supplies spatial metadata
README.md - Mesh-to-segment mapping → Transform and align: transforms and aligns
README.md - Transform and align → Weld and smooth: passes aligned meshes
README.md - Weld and smooth → Unified GLB mesh: exports
README.md - ControlNet rendering → Google Drive: backs up renders
README.md - Google Drive → Hunyuan3D inference: caches model weights
README.md