Loading unconventional surfaces data

Hello everybody,

I have surface that I want to load as face to OCC. I do not need any meshing or gridding algorithm but I have the points and faces information (triangulated or in hexahedral format). I want to load to OCC as is. Is that possible or OCC just can support the well known formats.

Thanks for any help or effort to help,
Marei

geometric's picture

since there were no answer I will suppose this is impossible in OCC so is it possible to convert from VRML to BREP formats because VRML is not readable through OCC. I hope there were a way to load without files and files conversion but seems this is the only way. Any help please?

Thanks,
Marei

P G's picture

Hello

There is a class to read STL format ( vertices/faces)

class Reader from StlAPI

---Purpose: Reading from stereolithography format.
hope this helps
- PG

geometric's picture

Thanks PG for your response.
I could not find this class in documentation. Would you please let me know where can I find this class?

Thanks very much,
Marei

geometric's picture

Sorry, I have found it now. Thanks for your help. I am looking at it now.

Thanks vey much PG for your help,
Marei

geometric's picture

In future we hope to see OCC contain a class that can read to BRep shapes vertices/faces in fly without file conversion to enable real time manipulation to open the environment for any customized file format. I think this is very very very essential class in 3D modeling.

Thanks by the way for the Open OCC environment.