Log inGet started
Package

geometry.nodebox

Newest version

This package holds more than this page lists. See all of its files in its world.

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({}) })