algorithmic-patterns
L-systems, cellular automata, agent-based modeling, swarm intelligence, reaction-diffusion, growth algorithms, packing…
Mesh data structures, mesh operations, mesh analysis, mesh repair, UV mapping and unfolding, quad meshing, mesh-to-NURBS conversion, and mesh quality assessment for AEC computational design
$ npx -y skills add Abhinavbwj/Claude-skills-for-Computational-Designers --skill mesh-processing --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/mesh-processingContext preview
The summary Claude sees to decide when to auto-load this skill.
Mesh data structures, mesh operations, mesh analysis, mesh repair, UV mapping and unfolding, quad meshing, mesh-to-NURBS conversion, and mesh quality assessment for AEC computational design
title: Mesh Processing description: Mesh data structures, mesh operations, mesh analysis, mesh repair, UV mapping and unfolding, quad meshing, mesh-to-NURBS conversion, and mesh quality assessment for AEC computational design version: 1.0.0 tags: [mesh, subdivision, remeshing, repair, UV-mapping, unfolding, quad-mesh, mesh-analysis, half-edge, topology] auto_activate: true user_invocable: true invocation: /mesh-processing
This skill provides comprehensive guidance on mesh processing for architecture, engineering, and construction. Meshes are the workhorse representation for simulation (FEA, CFD, acoustics), fabrication (3D printing, CNC), visualization (rendering, VR/AR), and increasingly for design geometry itself. This reference covers data structures, operations, analysis, repair, UV mapping, quad meshing, and reverse engineering.
---
Meshes represent 3D geometry as collections of vertices, edges, and faces. In AEC:
| Dimension | Mesh | NURBS | |---|---|---| | Representation | Discrete vertices + faces | Continuous parametric surface | | Precision | Approximate (chord tolerance) | Mathematically exact | | Topology | Arbitrary (any connectivity) | Rectangular patch structure | | Boolean operations | Robust (with good libraries) | Fragile (trimmed surface issues) | | Simulation compatibility | Direct (FEA/CFD mesh = geometry mesh) | Requires meshing step | | File size (complex forms) | Smaller (for tessellated freeform) | Larger (many control points) | | Editing | Vertex-level sculpting, subdivision | Control point manipulation, continuity | | Rendering | Direct (GPU operates on triangles) | Requires tessellation | | Fabrication (3D print) | Direct (STL is triangulated mesh) | Requires tessellation | | Industry standard | Visualization, gaming, scanning | CAD, BIM, manufacturing |
**When to use meshes in AEC**:
**When to use NURBS**:
[Input Geometry]
|
v
[Mesh Generation] -- from NURBS, from point cloud, from implicit, from scratch
|
v
[Mesh Repair] -- fix non-manifold, fill holes, remove degenerates, orient normals
|
v
[Mesh Operations] -- subdivide, remesh, decimate, smooth, boolean, offset
|
v
[Mesh Analysis] -- curvature, thickness, quality metrics, topology check
|
v
[Mesh Optimization] -- improve quality for target application (FEA, printing, rendering)
|
v
[Output]
|-- Simulation mesh (FEA/CFD solver format)
|-- Fabrication mesh (STL/3MF for 3D printing, unfolded for sheet fabrication)
|-- Visualization mesh (glTF/FBX for rendering, LOD variants)
|-- Reverse-engineered NURBS (mesh-to-NURBS conversion for CAD)---
The simplest representation. Two arrays:
**Memory**: 3 floats per vertex (12 bytes as float32, 24 bytes as float64) + 3 or 4 ints per face (12 or 16 bytes as int32).
**Advantages**: Simple, compact, easy to serialize (STL, OBJ, PLY formats use this structure). Direct GPU upload.
**Limitations**: No explicit edge representation. Adjacency queries are O(F) where F = number of faces. Finding neighboring faces of a face requires scanning all faces. Finding all faces incident on a vertex requires scanning all faces.
**Use**: File I/O, GPU rendering, simple geometry storage. Not suitable for topological operations.
The standard data structure for mesh processing algorithms. Each undirected edge is represented as two directed half-edges pointing in opposite directions.
**Components**:
L-systems, cellular automata, agent-based modeling, swarm intelligence, reaction-diffusion, growth algorithms, packing…
Revit API fundamentals, Dynamo for Revit, pyRevit framework, IFC schema and openBIM, model checking, automated documentation,…
Python calculators for geometry analysis, structural checking, solar calculations, panel optimization, mesh analysis, material…
Auto-activating foundation layer providing computational design paradigms, key pioneers, tools landscape, core concepts, and…
NURBS curves and surfaces, mesh geometry, boolean operations, subdivision surfaces, tessellation methods, surface analysis, and…
GIS integration, sensor data, occupancy analytics, space syntax analysis, urban data analytics, climate data processing, and API…