Method: RADMesh::STL#fix_normal_values!

Defined in:
lib/radmesh/stl.rb

#fix_normal_values!STL

Note:

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

Checks and fixes if necessary the normal vectors of every facet.

The normal vector will point outward for a counterclockwise facet. The length of the normal vector will be 1.

Returns:

  • (STL)

    returns itself



289
290
291
292
# File 'lib/radmesh/stl.rb', line 289

def fix_normal_values!
  CADMesh.stl_fix_normal_values(@stl_ptr)
  self
end