Get Mesh
get_meshExtract polygon and point data from editable Cinema 4D objects. Returns triangles, quads, and optional vertex normals or 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. |