Method: RADMesh::STL#reverse_all_facets!

Defined in:
lib/radmesh/stl.rb

#reverse_all_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.

Reverses the directions of all of the facets and normals.

If #fix_normal_directions! ended up making all of the facets facing inwards instead of outwards, then this method can be used to reverse all of the facets

Returns:

  • (STL)

    returns itself


302
303
304
305
# File 'lib/radmesh/stl.rb', line 302

def reverse_all_facets!
  CADMesh.stl_reverse_all_facets(@stl_ptr)
  self
end