mcneel / rhino3dm

Libraries based on OpenNURBS with a RhinoCommon style
MIT License
573 stars 135 forks source link

Any method taking const std::vector<ON_3dPoint>& points does not work on js #620

Closed fraguada closed 2 weeks ago

fraguada commented 1 month ago

Many methods on PointClouds take const std::vector& points which throws an error on js. These work fine in python.

fraguada commented 1 month ago

We could use emscripten::val for this purpose where we need to pass arrays of any kind of object.