Method: RADMesh::STL#repair!
- Defined in:
- lib/radmesh/stl.rb
#repair!(opts = {}) ⇒ STL
Note:
There is also the same method without ! working as expected. It is not in this reference guide, because it is automatically generated.
Complex repair of the mesh.
Does various repairing procedures on the mesh depending on the options.
617 618 619 620 621 622 623 624 |
# File 'lib/radmesh/stl.rb', line 617 def repair!(opts = {}) opts = self.class.default_repair_opts.merge(opts) CADMesh.stl_repair(@stl_ptr, *self.class.opts_to_int_array(opts)) error_control_proc(RuntimeError, 'something went wrong during repair').call @exact = true if self.class.exact? opts self end |