When reading a 3DM file using OpenNURBS and exporting the contents to a human readable text file, what is the expected size of the text file?
For example, suppose that the 3DM file is 14MB. Should the output text file via OpenNURBS be similar in size or a fraction of the size? When I used OpenNURBS on a sample 14MB 3DM file, the exported text file was just 80KB.
I’m curious as to whether writing the text file (80KB) back to 3DM using OpenNURBS will generate the exact same 3DM file in the same size (14MB). Any insights would be appreciated. Thank you.
Hello Dale, thanks for the response. Is there a feature in OpenNURBS that allows it to read the 3DM file and then output all the contents into text that is readable by humans?
Hi Dale, I would like to have the ability to manually view & edit the contents of the 3DM file in plain text without using Rhino or any other software. My understanding is that OpenNURBS can read from and write to 3DM files and must store the contents somewhere. Surely, there must be some way to view the contents and then save it to a text file?
I was informed by someone that I can use the “ON_Object::Dump” method to get the text description of each object. Will this method dump all details of each and every object into text such that the text would describe the model in its entirety?