Hi
How to write a kernelcad .glm file? I there help about the format? I see there is text inside
thank you
Giang
How to read glm format
Re: How to read glm format
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
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