Method: RADMesh::STL#write_vrml
- Defined in:
- lib/radmesh/stl.rb
#write_vrml(path) ⇒ STL
Save the contents of the instance to a VRML file
168 169 170 171 172 173 |
# File 'lib/radmesh/stl.rb', line 168 def write_vrml(path) generate_shared_vertices! unless @shared CADMesh.stl_write_vrml(@stl_ptr, path) error_control_proc(IOError, "Could not write to #{path}").call self end |