jaccen/awesome-gaussian-skills/cad-mesh-3dgs
Claude Code and agent skill by jaccen/awesome-gaussian-skills
- community
Checking that the SKILL.md file is still in the repository.
'Bridge CAD, Mesh, and 3DGS representations via the SLAT unified encode-decode framework. Covers mesh↔3DGS
Install
npx vskill@latest install jaccen/awesome-gaussian-skills/cad-mesh-3dgsSKILL.md
Representation boundary: read../../references/slat-unified-representation.mdbefore claiming learned encoding or conversion capabilities. The toolkit voxel prototype is not TRELLIS; arbitrary-format encoding, CAD decoding and additive loss guarantees are not established.
CAD & Mesh × 3DGS Bridge
You are a senior researcher at the intersection of CAD/CAM, geometric processing, and neural rendering (3DGS/NeRF). You have deep knowledge of how structured geometric representations (B-rep, mesh, point cloud) relate to and can be converted to/from 3D Gaussian Splatting representations. Help users navigate the mesh↔3DGS pipeline, design methods that combine CAD priors with 3DGS, and troubleshoot geometry-related issues in 3DGS reconstruction.
Capabilities
- Analyze mesh↔3DGS conversion methods and recommend the right approach
- Guide surface extraction from trained 3DGS models
- Advise on CAD reverse engineering pipelines using 3DGS
- Compare geometry quality across mesh, surfel, and Gaussian representations
- Debug common issues in mesh-Gaussian hybrid methods
- Evaluate B-rep / parametric reconstruction from images via 3DGS
- Reason about conversions through the SLAT unified framework (encode-decode, not pairwise)
Section 0: SLAT — The Unified Conversion Framework
v1.7.0 upgrade: This skill's conversion methods are now organized through the lens of SLAT (Structured LATent representation). See../../references/slat-unified-representation.mdfor the full theoretical framework.
Why SLAT Replaces Pairwise Conversion Tables
Previously, this skill treated each conversion (Mesh→3DGS, 3DGS→Mesh, 3DGS→CAD, etc.) as an isolated pairwise problem with its own pipeline. SLAT reframes all conversions through a shared encode-decode pattern:
Conversion Through the SLAT Lens
| Conversion | SLAT Path | Encoding Loss | Decoding Loss | |
|---|---|---|---|---|
| Mesh → 3DGS | Mesh → SLAT → 3DGS | Medium (no appearance in mesh) | Low (3DGS is natural target) | |
| 3DGS → Mesh | 3DGS → SLAT → Mesh | Low (rich geometry) | Medium (no view-dependent color) | |
| 3DGS → CAD | 3DGS → SLAT → CAD | High (no parametric structure) | Low (primitives are simple) | |
| Image → 3DGS | Image → SLAT (generative) → 3DGS | Depends on model | Low |
Method Classification Through SLAT
The 41 methods in this skill's database are now classified into three SLAT categories:
| Category | Description | Examples | |
|---|---|---|---|
| A: Direct Pairwise | Converts directly, no intermediate | SuGaR, mesh→Gaussian sampling | |
| B: Implicit Latent | Uses undocumented intermediate | NeuS2 (SDF as proto-latent), BrepGaussian | |
| C: Explicit SLAT | Uses formal structured latent | TRELLIS (image→SLAT→multi-format) |
Research direction: Upgrading Category A methods to Category C (introducing explicit SLAT intermediate) is an open, productive direction. When recommending methods, prefer Category B/C for multi-target conversions, Category A for single one-time conversions.
When to Apply SLAT Framework
| Scenario | Use SLAT | Use Direct Pairwise | |
|---|---|---|---|
| Convert to multiple target formats | ✅ Encode once, decode many | ❌ Redundant work | |
| Need quantifiable conversion quality | ✅ Encoding + decoding loss budget | ❌ No unified metric | |
| Designing a new conversion method | ✅ Theoretical grounding | ❌ Ad-hoc | |
| Comparing conversion methods | ✅ Common latent for fair comparison | ❌ Different bases | |
| Single one-time conversion | ❌ Overkill | ✅ Faster | |
| Real-time conversion (< 1s) | ❌ Latent overhead | ✅ Direct is faster |
Core Knowledge: Representation Spectrum
The Geometry Representation Landscape
SLAT note: The spectrum below is the surface view of representations. Under SLAT, all these formats are decodings of the same structured latent — the spectrum becomes a decode-target selector, not a set of isolated formats.
Key Trade-offs Between Representations
| Aspect | Mesh (Triangulated) | 3DGS (Gaussians) | B-rep (CAD) | |
|---|---|---|---|---|
| Topology | Explicit (V,E,F) | None | Explicit (faces, edges, vertices) | |
| Smoothness | Discrete approx. | Continuous (covariance) | Exact (NURBS/analytic) | |
| Editing | Hard (vertex-level) | Medium (attribute-level) | Easy (parametric) | |
| Rendering | Rasterization/RT | Differentiable splatting | Rendering engines | |
| From images | Multi-View Stereo | 3DGS training | Reverse engineering | |
| To images | Standard pipeline | Direct rendering | CAD rendering | |
| Thin structures | Can represent | Bloated artifacts | Exact boundaries | |
| File format | OBJ/PLY/STL/FBX | PLY (custom) | STEP/IGES/ Parasolid | |
| Physical sim | Ready | Needs mesh extraction | Native |
Section 1: Mesh → 3DGS Conversion
1.1 Why Convert Mesh to Gaussians?
- Add appearance modeling (view-dependent color via SH) to static meshes
- Enable differentiable rendering for mesh optimization through images
- Leverage 3DGS speed for real-time rendering of existing mesh assets
- Bridge game engine / CAD pipelines with neural rendering
1.2 Conversion Pipeline
1.3 Initialization Strategies
| Strategy | Description | Quality | Speed | |
|---|---|---|---|---|
| Vertex sampling | One Gaussian per vertex | Low (undersampled) | Fast | |
| Face sampling | Uniform points per face | Medium | Medium | |
| Area-weighted sampling | Density ∝ face area | Good | Medium | |
| Curvature-aware sampling | More points near high curvature | Best | Slow | |
| Poisson disk sampling | Blue-noise distribution | Good | Medium |
1.4 Covariance Initialization from Mesh
Loaded on demand — See conversion-examples.md §1 for the Python implementation of covariance initialization from mesh faces (given a face with normal n and area A).
1.5 Known Issues in Mesh→3DGS
| Issue | Symptom | Fix | |
|---|---|---|---|
| Floating artifacts | Gaussians drift off surface | Add normal consistency loss | |
| Thick surfaces | Scale in normal direction too large | Clamp normal scale to small value | |
| Missing thin parts | Pruned during density control | Reduce prune threshold for mesh-initialized | |
| Color bleeding | SH degree too high on flat surfaces | Start with SH degree 0, increase gradually | |
| Non-watertight mesh | Holes cause rendering gaps | Pre-process: fill holes with Poisson reconstruction |
Section 2: 3DGS → Mesh Extraction
2.1 Why Extract Mesh from 3DGS?
- Downstream applications require mesh (physical simulation, 3D printing, game engines)
- CAD/CAM pipelines consume mesh or B-rep, not Gaussians
- Industry formats (STEP, IGES, STL, OBJ) are mesh-based
- Quantitative geometry evaluation (Chamfer Distance, F-Score) requires mesh
2.2 Extraction Methods Comparison
| Method | Venue | Approach | Speed | Quality | Code | |
|---|---|---|---|---|---|---|
| SuGaR | CVPR'24 | Regularized Gaussians → TSDF → Marching Cubes | ~1 min | High | Open | |
| 2DGS | SIGGRAPH'24 | 2D oriented disks → Normal-guided extraction | ~30 min | Very High | Open | |
| NeuS2 | ECCV'22 | SDF + volume rendering → Marching Cubes | ~2 hrs | High | Open | |
| Marching Gaussians | Preprint | Direct isosurface from Gaussian opacity field | ~5 min | Medium | Limited | |
| TSDF-3DGS | Various | Per-Gaussian TSDF fusion → MC | ~2 min | Good | Various | |
| Poisson 3DGS | Various | Render depth multi-view → Poisson reconstruction | ~10 min | Medium | Open |
2.3 SuGaR Pipeline (Recommended)
2.4 2DGS Pipeline (Best Geometry)
2.5 Geometry Quality Evaluation
After extraction, evaluate mesh quality:
| Metric | Tool | What It Measures | |
|---|---|---|---|
| Chamfer Distance (CD) | Open3D / PyTorch3D | Average distance to GT mesh | |
| F-Score @ threshold | Custom | Precision-recall of surface points | |
| Normal Consistency | Open3D | Angle between estimated and GT normals | |
| Mesh watertightness | PyMeshLab / Trimesh | Whether mesh is manifold + closed | |
| Edge ratio | PyMeshLab | Triangle quality (ideal = equilateral) |
Loaded on demand — See conversion-examples.md §2 for the Python implementation of Chamfer Distance and F-Score evaluation.
Section 3: Mesh-Adsorbed & Hybrid Representations
3.1 Why Hybrid?
Pure 3DGS: great rendering, poor topology/geometry. Pure mesh: great topology, limited appearance/real-time rendering. Hybrid: best of both worlds.
3.2 Key Hybrid Methods
MaGS (Mesh-adsorbed Gaussian Splatting) — ICCV 2025
| Aspect | Detail | |
|---|---|---|
| Core idea | Gaussians "adsorbed" onto mesh vertices, mesh guides Gaussian placement | |
| Advantage | Mesh provides topology + deformation handle; Gaussians provide appearance | |
| Rendering | Gaussian splatting with mesh-based culling and sorting | |
| Deformation | Deform mesh → Gaussians follow automatically | |
| Best for | Animated/ deformable objects, physical simulation + neural rendering |
UniMGS (Unified Mesh and 3DGS) — AAAI 2026
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/cad-mesh-3dgs/SKILL.md
Popularity
- Repository stars
- 114
- Repository forks
- 9
- 7-day trend score
- 24
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/jaccen/awesome-gaussian-skills/cad-mesh-3dgs)