Method: RADMesh::STL#remove_unconnected_facets!

Defined in:
lib/radmesh/stl.rb

#remove_unconnected_facets!STL

Note:

There is also the same method without ! working as expected. It is not in this reference guide, because it is automatically generated.

Removes facets that have 0 neighbors.

You should probably call #check_facets_nearby! before to get better results.

Returns:

  • (STL)

    returns itself


231
232
233
234
# File 'lib/radmesh/stl.rb', line 231

def remove_unconnected_facets!
  CADMesh.stl_remove_unconnected_facets(@stl_ptr)
  self
end