> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ntop.com/llms.txt
> Use this file to discover all available pages before exploring further.

# CAD Body from Quad Mesh

<CardGroup cols={2}>
  <Card title="Mesh, 1.1.0" href="#mesh-110" />

  <Card title="Mesh, 1.2.0" href="#mesh-120" />

  <Card title="Mesh, Integer" href="#mesh-integer" />
</CardGroup>

***

## About this Block

**What it does:** The CAD Body from Mesh block converts a quad surface mesh into a CAD Body. This block is useful for exporting parts made in nTop back to other CAD software, as a Parasolid (X\_T,X\_B) or STEP file (.STEP), using the Export Part block.

**Common uses:**

* Converts quad mesh to a CAD Body

**Tips:**

* The input mesh must be a quad mesh, created by the Quadrangulate Mesh or Remesh Surface block with a Quad Shape input.
* The CAD Body is defined by a boundary representation (BREP), which is the standard geometric representation for most CAD software. BREP bodies are defined by a connection of surface elements, such as faces, edges, and vertices that separate the inside and outside of the body. The CAD Body from Mesh block converts the quad mesh into a series of surfaces.
* This article has information on quad mesh ([https://support.ntopology.com/hc/articles/7206137654931](https://support.ntopology.com/hc/articles/7206137654931))
* For an overview of lattice exportation: ([https://support.ntopology.com/hc/articles/360048784874](https://support.ntopology.com/hc/articles/360048784874))

***

<h2 id="mesh-110">
  Mesh, 1.1.0
</h2>

Creates a CAD Body from a quad Mesh.

### Inputs

| Name | Type | Description |
| - | - | - |
| Mesh | [Mesh](../../../../block-documentation/types/mesh) | Mesh to convert to a CAD body. |

### Outputs

| Type |
| - |
| [CAD Body](../../../../block-documentation/types/cad-body) |

***

<h2 id="mesh-120">
  Mesh, 1.2.0
</h2>

Creates a CAD Body from a quad Mesh.

### Inputs

| Name | Type | Description |
| - | - | - |
| Mesh | [Mesh](../../../../block-documentation/types/mesh) | Mesh to convert to a CAD body. |

### Outputs

| Type |
| - |
| [CAD Body](../../../../block-documentation/types/cad-body) |

***

<h2 id="mesh-integer">
  Mesh, Integer
</h2>

Create a CAD body from a quad mesh.This block will approximate the limit of a Catmull-Clark subdivision surface as a collection of bicubic B-spline patches.  When a quad-dominant mesh is given as input, up to two levels of global Catmull-Clark refinement will be performed to create a quad mesh that can be represented by bicubic patches.

### Inputs

| Name | Type | Description |
| - | - | - |
| Mesh | [Mesh](../../../../block-documentation/types/mesh) | Mesh to convert to a CAD body. |
| Refinement level | [Integer](../../../../block-documentation/types/integer) | The maximum level of adaptive refinement to allow \[0, 9]. Higher values improve the precision in regions where patches only approximate the limit of the Catmull-Clark surface.  Such regions occur around the one ring of an extraordinary vertex and along edges that are tagged as semi-sharp. |

### Outputs

| Type |
| - |
| [CAD Body](../../../../block-documentation/types/cad-body) |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.