Get Mesh
get_meshRetrieve points, polygons, and spline segments from editable Cinema 4D objects. Convert primitives to editable first; returns triangles and quads with optional normals and selections.
Instructions
Read points and polygons (or spline segments) from an editable PointObject / PolygonObject / SplineObject. Primitives (Cube, Sphere, …) must be converted first via modeling_command make_editable. Triangles are returned as [a,b,c] (c==d in C4D storage), quads as [a,b,c,d]. Point and polygon counts are capped to 50,000 by default to protect JSON payload size — override via max_points / max_polys.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| handle | Yes | Target object (must be editable). | |
| include | No | Optional extras. 'normals' adds phong-shaded vertex normals. 'selections' adds `point_selection` / `poly_selection` / `edge_selection` index lists. | |
| max_polys | No | Default 50000. | |
| max_points | No | Default 50000. |