# &#x20;Cull Degenerate Mesh Faces

## <img src="/files/HheNAm3JejpSdxSQHaLb" alt="" data-size="line"> Cull Degenerate Mesh Faces <a href="#profiles" id="profiles"></a>

The **CullDegenerateMeshFaces** command removes degenerated mesh faces and edges. Degenerated faces are those with zero area, and degenerated edges have a length of zero. This command is essential for cleaning up meshes by eliminating unnecessary or problematic elements that could cause issues in modeling or 3D printing.

<figure><img src="/files/6knXtqdaqblQfgAcbjZf" alt=""><figcaption><p>A mesh edge is degenerated.</p></figcaption></figure>

<figure><img src="/files/LXHoErf2zMAURyglQybb" alt=""><figcaption><p>A mesh face is degenerated.</p></figcaption></figure>

***

**Steps to Use**

1. Select the mesh that you wish to clean up.
2. Run the **CullDegenerateMeshFaces** command to remove the degenerated faces and edges.

***

**What Gets Removed**

* **Degenerated mesh faces**: Faces with an area of zero (i.e., collapsed to a point).
* **Degenerated mesh edges**: Edges with a length of zero.
* **Orphaned vertices**: If any vertices are left unattached after removal, they will also be deleted.

***

**Applications**

* **Mesh Repair**: Clean up meshes that contain degenerated elements, ensuring the model is better structured for further operations.
* **STL/SLA Printing**: Useful for preparing meshes for 3D printing by removing problematic elements that could cause slow printing or errors during the process.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.rhinoartisan.com/commands/mesh/mesh-repair/cull-degenerate-mesh-faces.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
