How to read glm format

Technical discussions
Post Reply
Giang_G_Chui
Posts: 2
Joined: Mon Jul 29, 2013 3:00 am

How to read glm format

Post by Giang_G_Chui »

Hi
How to write a kernelcad .glm file? I there help about the format? I see there is text inside
thank you
Giang

gerard12
Posts: 21
Joined: Fri Jul 26, 2013 8:34 am

Re: How to read glm format

Post by gerard12 »

Hi
The format is not open. It is binary. It contains basically all the program data like it is in the RAM. It was implemented mostly to fast save/load to exchange models between different KC-aware applications. Basically it is how the software thinks. To talk to other software there are the data exchange formats dxf, step etc.

I do not think there is much reason to read or write it directly. You can load it with KernelCAD and access all the data via interfaces, modify and save back

In case you need to wrap it in your own format you can use IModelEx.Load/SaveToMemory(). You can also do this the other way around: Change the default extension to your own, embed your data inside and encrypt the whole model (each step is optional). See more details at the bottom of http://www.dynoinsight.com/Help/Models.aspx and http://www.dynoinsight.com/Help/Models/ ... odels.aspx

Regards
Gerard

Giang_G_Chui
Posts: 2
Joined: Mon Jul 29, 2013 3:00 am

Re: How to read glm format

Post by Giang_G_Chui »

Thank you!

Post Reply