Dear All,
Recently I encountered one task that I need to convert TGeometry to step or any other CAD format.
I noticed that in geom/geocad, root do provide tools like TGeoCad , but has been deleted in recent released versions.
Is there any suggestions that I can get a compiled version of root contains TGeoToStep.h.
I tried to compile root-6.14.06 with geocad, it ends up endless of errors related with current installed opencascade in centos7.
ROOT Version: Not Provided Platform: Not Provided Compiler: Not Provided
Dear Mr.Gheata
Thank you for suggestion. This version you mentioned is really not easy to get.
I got the version from its website donot contains 6.14.
Do you have any suggestions of versions? Like 6.9.1 ?
Thank you
Dear Mr.Gheata:
I have successfully installed the occt and compiled.
However, I am now trying to convert the TGeometry to step file. I can find the tutorial that convert TGeoManager to step files, not TGeometry.
Do you have any tutorial for this process ?
Like convert TGeometry to TGeoManager, then TGeoManager to step?
How can I get TGeoManager from TGeometry?
The TGeometry looks below.
Hi, there is no TGeometry to TGeo converter unfortunately, but you can try a manual conversion to create a flat TGeo hierarchy of volumes if there are not too many shape types involved. Otherwise you can try to modify the geometry creation code directly, which would be even better.