Open CASCADE, the 3D modelling kernel
3D modeling & numerical simulation

Search the Forums
See All Topics
 

Is it possible to export a MeshVS_Mesh to STL

Is it possible to export a MeshVS_Mesh to STL
Timo 2012/10/09 14:43
For importing STL files, we use the code mentioned at the end of http://www.opencascade.org/org/forum/thread_9793/?forum=3 .

It creates a MeshVS_Mesh from the STL file.
MeshVS_Mesh is a subclass of AIS_InteractiveObject and therefore can be transformed via its SetTransformation method.

Is it possible to export such a transformed MeshVS_Mesh to STL?

RWStl::WriteAscii (const Handle< StlMesh_Mesh > &aMesh, const OSD_Path &aPath );
can be used to write StlMesh_Mesh objects.
Is it possible to get an StlMesh_Mesh from a MeshVS_Mesh?

Regards
 
 
Latest news
  • New features to enhance the development process
  • Open CASCADE Technology 6.7.1 is available for download!
  • Open CASCADE Technology 6.7.0 is available for download!

  • © OPEN CASCADE 2000 - 2014  |  Search  |  Contacts   |  Site map