Hacker News new | ask | show | jobs
by sgenoud 1216 days ago
I will have a look if OpenCascade has a more recent API which saves in the up to date standard. How do you check that a file follows the latest standard?
1 comments

Look at the header of the saved file, the FILE_SCHEMA element will state which application protocol the file conforms to. In the example I just saved:

  FILE_SCHEMA(('AUTOMOTIVE_DESIGN { 1 0 10303 214 1 1 1 1 }'));
vs (random file created by Catia v5.6):

  FILE_SCHEMA(('AP242_MANAGED_MODEL_BASED_3D_ENGINEERING_MIM_LF  {1 0 10303 442 1 1 4}'));
There seems to be AP242 support in OpenCascade.