orbingol / rw3dm

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

Add support for trimmed surfaces #4

Closed orbingol closed 5 years ago

orbingol commented 5 years ago

rw3dm should import and export trim curves that belong to the surfaces

orbingol commented 5 years ago

rw3dm v2.0 is restructured as 2 separate executable files on2json and json2on.

on2json fully supports exporting trimming curves for surfaces generated using Rhino's "Split` and "Trim" commands. I was able to test it with some simple geometries and it worked okay. Please open a new ticket if you are having problems with trim curves during 3dm to json conversion.

For some reason, I was unable to add trim curve support for json to 3dm conversion executable, json2on due to some method which cease to exist contrary to OpenNURBS documentation. As a result, json to 3dm export does not support trimming curves as of v2.0.0.

I will track the progress of adding trim curves support to json2on on a separate issue.