Documentation / Node reference / geo nodes
geo/PolyFill
Closes the holes in a mesh by triangulating its open rims.
Topology
Finds every open (unshared) edge and fills the rims they form. PLANAR_CONTOURS projects each group of coplanar rims onto their shared plane and triangulates there, so nested contours become a region with a hole — the right mode for capping a cut. BOUNDARY_LOOPS fills each rim on its own in 3D by minimum area, which is what a hole in a CURVED surface needs (a gap left by decimation or a boolean), where projecting the rim to a plane folds it over itself. Neither mode adds points: the patch reuses the rim's own vertices, and it is wound to close the surface rather than double it.
Parameters
| Name | Type | What it does |
|---|---|---|
| mode | UInt8 PLANAR_CONTOURS · BOUNDARY_LOOPS | PLANAR_CONTOURS for flat caps, including nested contours (an annular cut). BOUNDARY_LOOPS for holes in a curved surface, where the rim is not planar. |
| fillRule | UInt8 | PLANAR_CONTOURS only: how overlapping contours in one plane combine — NON_ZERO fills everything enclosed, EVEN_ODD leaves an inner contour as a hole. |
| maximumHoleEdgeCount | UInt32 | BOUNDARY_LOOPS only: rims with more edges than this are left open. Use it to close the small gaps a scan leaves while keeping its genuine borders open. 0 = no limit. |
| allocator | UInt8 TEMP · POOL · FLAT_POOL | Which allocator backs the scratch buffers: a pool/flat-pool clears at end of cook, temp at end of frame. |
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.