compas icon indicating copy to clipboard operation
compas copied to clipboard

Independent Rhino Obj -> Compas Obj converter based on rhino3dm

Open xarthurx opened this issue 2 months ago • 6 comments

Feature Request

As a [role], I want an independent converter so that I can convert Rhino Obj -> Compas Obj outside Rhino Env.

Details

image

Is your feature request related to a problem? Please describe. With the Hops plugin, users are able to send Rhino Object to a remote / local HTTP server and process all computation outside Rhino. (whether it is geometry related or not).

However, if main computation is conducted with compas, we need to convert Rhino Object to Compas Object now outside Rhino, whereas the conversion functions provided by compas_rhino has to be run inside a Rhino Environment.

Describe the solution you'd like While McNeel provides open-sourced rhino3dm for basic Rhino Obj processing, it is possible to conduct whole computation/conversion outside Rhino Environment, and only use Rhino as Input + Visualizer. It is possible to remove the dependency of Rhino module for compas_rhino.conversion, and allow users to convert objects in pure Cython environment.

Describe alternatives you've considered Additional python script to convert Rhino Obj inside GH before connecting to Hops. Though not ideal.

xarthurx avatar Apr 28 '24 18:04 xarthurx