Kirra provides interactive mesh editing and automated mesh repair tools for loaded surfaces.
The Clean Mesh dialog showing diagnostics and repair tools for surface mesh quality.
The Mesh Edit tool allows direct manipulation of surface mesh geometry in the 3D view.
| Operation | Description |
|---|---|
| Select Triangles | Click or drag to select individual triangles via raycasting |
| Delete Triangles | Remove selected triangles from the surface |
| Move Vertices | Drag vertices to new positions |
| Split Triangles | Subdivide triangles at a point |
| Flip Edges | Swap the shared edge between adjacent triangles |
| Extrude Edges | Create new triangles by extruding boundary edges |
| Weld Vertices | Merge nearby vertices within tolerance |
The Clean Mesh tool provides automated diagnostics and one-click repair for common mesh quality issues.
Right-click a surface in the TreeView and select Clean Mesh.
The dialog displays real-time statistics before and after each operation:
| Diagnostic | Description |
|---|---|
| Open Edges | Boundary edges not shared by two triangles |
| Non-Manifold | Edges shared by more than two triangles |
| Degenerate Tris | Zero-area or near-zero-area triangles |
| Crossing Tris | Triangles that intersect other triangles in the same surface |
| Overlapping Tris | Near-duplicate triangles with opposing normals |
| Unwelded Verts | Vertices within snap tolerance that should be merged |
| Tool | Description |
|---|---|
| Edit Mesh | Opens the interactive Mesh Edit tool |
| Weld All | Merges all vertices within snap tolerance |
| Fix All | Runs the full repair pipeline (degenerate removal, weld, crossing cleanup, overlap removal) |
| Operation | Description |
|---|---|
| In | Set normals to point inward |
| Out | Set normals to point outward |
| Flip | Reverses winding order of all triangles |
| Align | Propagates consistent winding from a seed triangle across the mesh |
Normal controls are also available from the TreeView context menu (right-click a surface).
| Operation | Description |
|---|---|
| Remove Degenerate Triangles | Deletes zero-area and near-zero-area triangles |
| Remove Duplicate Triangles | Finds and removes triangles sharing the same vertices |
| Remove Self-Intersections | Detects and removes crossing triangles |
| Weld Vertices | Merges vertices within configurable tolerance |
| Remove Isolated Vertices | Cleans up orphaned vertices |
| Fix Winding Order | Ensures consistent triangle winding |
| Remove Sliver Triangles | Removes extremely thin triangles based on aspect ratio |