Hi
I am using 64bit Windows 10 and have 8GB RAM.
I am using ONX_Model to write my plugin objects in 3dm file. The Write function returns false once the 3dm file reach ~2GB size. The error I am getting in the text log is this :
When I try to read the same incomplete 3dm file with ONX_Model::Read it fails. However if I open the 3dm file with Rhino it opens and gives me a message that some of the geometry is not readable, and upon choosing to skip the unreadable geometry the file is successfully opened in Rhino.
The question : is there limit on the size of 3dm archives that ONX_Model::Write can produce or that depends on the installed memory on the system.? Should I increase the memory in order to write files >2GB? And if there is such a limit why Rhino manages to open the 3dm file , while ONX_Model::Write fails.
Sorry for the delay. I’ve been out the past two week. There are no file size limitations in the current version of opennurbs. What version of opennurbs are you usng and are you using a 32-bit or 64-bit library?
Hi
I am using the openurbs that comes with the Rhino installation. When I start Rhino, with the program Process Explorer I can see that the loaded dll is opennurbsx64.dll. The dll is loaded from this path : C:\Program Files\Rhinoceros 5 (64-bit)\System.
Just to clarify, are you using the openNURBS, that comes with Rhino, from inside of a Rhino plug-in? Or are you trying to reference the DLL from an external application?
Here is my test command. It takes maybe 7 min to execute on my laptop. The surface I select is simple plane with dimensions 32x16, but I think any similar will do. Once the archive hits 2GB size the Write method returns false.