Builtin Library
README.md
group.remove
Drop a group from the geometry: its 0/1 column and the detail record that marks it as a group go together, so group.list reports what the geometry carries. A name that is not a group of class is refused.
Inputs
geometry(Geometry). The geometry the group is dropped from. A copy without it comes out.name(String, default ""). The group to drop.class(String, default "point", one of "edge", "point", "primitive", "vertex"). The element class the group lives on.
Outputs
geometry(Geometry). The input without the group.
local tops = g.group.by_normal({ geometry = g.mesh.box({}), name = "top", class = "primitive", angle = 10 })
local bare = g.group.remove({ geometry = tops, name = "top", class = "primitive" })