Log inGet started
World

Builtin Library

Branchmain
Branchesmainpublish
Commite8beb5604c

README.md

geometry.trim

Drop every primitive that has no area: the triangles a pole or an apex leaves, whose corners stand at one place or on one line. What remains is a surface whose every side is shared by the faces that are really there.

Inputs

  • geometry (Geometry). The geometry trimmed.
  • least (Number, default 1e-9). The area a primitive has to exceed to stay.

Outputs

  • geometry (Geometry). The geometry without the primitives of no area.
local clean = g.geometry.trim({ geometry = g.mesh.sphere({}) })