orbingol / rw3dm

Rhino/OpenNURBS importer and exporter for NURBS-Python (geomdl)
MIT License
34 stars 11 forks source link

[ERROR] Geometry data was NOT extracted successfully #18

Open otmanazziz opened 2 years ago

otmanazziz commented 2 years ago

Hi everyone!

I just followed instructions from README.md file on Compiling RW3DM part, that is clone project, update submodules, create and run CMake command into build directory, run make install command (I have both executables on2json and json2on into install directory).

But when I'm using the command ./on2json test.3dm, I have the followed answer:


ON2JSON: Geometry Extractor for Rhino/OpenNURBS (RW3DM v2.1.4) OpenNURBS version: 7.0.20071.14390

[ERROR] Geometry data was NOT extracted successfully


I am using Ubuntu 20.04 and I didn't found any similar problem on the web.

Thank you.

orbingol commented 2 years ago

I'd say that on2json compiled just fine but test.3dm does not contain supported geometry elements. Additionally, on2json will try to extract the surfaces by default. You might need to add additional parameters to extract curves.

Ref: https://github.com/orbingol/rw3dm#available-arguments