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

Search the Forums
See All Topics

OCC mesh

OCC mesh
Jewel Pervez 2012/09/07 17:58

I am using both OCC and Netgen mesh for exporting meshed elements coordinates to GDML file regarding to tessellated shapes. The Tessellated shape in GDML is defined by facets and facets are defined by verities. According to GDML, vertices should be “Anti-clockwise/Counter-clockwise” order when looking outside the shape.

I observed that the triangle in Netgen mesh is followed the "counter-clockwise" direction. But the OCC mesh is followed the "clockwise" direction. Note that, I have checked very carefully in our exporting implementation. I assume that perhaps OCC mesh (“BRepMesh”) works as clockwise.

My questions are:
1. How to change the order in triangle (clockwise to counter-clockwise) after/before OCC mesh?
2. How to make point upward or downward in OCC?
3. How to check point direction in OCC for each surface/triangle?

I attached partial outputs both for OCC and Netgen mesh.

Thanks in advance.
Jewel Pervez 2012/09/07 18:01
I am using OpenCASCADE6.3.0. Thanks.
You have to be logged in to download the attached file
Latest news
  • Open CASCADE CAD Assistant for iOS platform is available!
  • Open CASCADE Technology 6.9.0 is available for download!
  • JT Assistant for Android

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