Documentation / Node reference / geo nodes

geo/M2DTriangulate

Turns a 2D shape into geometry you can render.

Manifold Operations

A cross section is not renderable on its own: it is an outline plus a rule about what is inside it. This node makes the geometry, as the outline drawn as segments, as the filled area meshed into triangles, or as both.

It is the way out of the M2D family, the way geo/M3DTriangulate is the way out of the 3D one. Everything upstream of it works on shapes; everything downstream works on points and triangles, so geo/AttributeCreate, geo/Transform and the materials all apply from here.

Both outputs come out as their own objects, so switching both on gives two per input shape: the filled mesh and its outline. The fill gets vertex normals computed for it, so it lights correctly rather than rendering black.

Parameters

Name Type What it does
triangle Bool Output the FILLED area, meshed into triangles, with normals computed so it lights correctly.
segment Bool Output the OUTLINE, as a closed loop of segments per contour. This is the one that is on by default, since it is what shows the shape.

See also

This page is generated from the engine, so it describes the release you can download. The same text is in the editor's Help panel next to the node itself.