Method: RADMesh::STL#write_off
- Defined in:
- lib/radmesh/stl.rb
#write_off(path) ⇒ STL
Save the contents of the instance to an OFF file
144 145 146 147 148 149 |
# File 'lib/radmesh/stl.rb', line 144 def write_off(path) generate_shared_vertices! unless @shared CADMesh.stl_write_off(@stl_ptr, path) error_control_proc(IOError, "Could not write to #{path}").call self end |