Closed alelom closed 4 years ago
As mentioned also in https://github.com/BHoM/Speckle_Toolkit/issues/60 we decided to go for option 2.
In the long term, this strategy should ideally be replaced by a SpeckleCoreGeometryBHoM
project in the Speckle Repo, which should take care of the Geometry conversions from BHoM to SpeckleObjects.
Description:
Context: get a visualisable representation of Surfaces and Nurbs in SpeckleViewer.
Unlike Meshes, Lines and Points, for which we already are the converts, other types (like Breps) are not so simple to convert.
It would be an easy job if we could reference SpeckleCoreGeometryRhino, because that project contains all the converts from Rhino classes to Speckle classes. However, the only nuget package for SpeckleCoreGeometry seems only to include the SpeckleCoreGeometryClasses, which are the base geometry types (SpeckleLine, SpecklePoint etc). We could solve this by
If we clarify the strategy for this one, we might as well just pass through rhino for all our geometry types, then use the speckle converter for them. This could be quite advantageous for us, because we could maintain less convert methods (the BHGeom to Rhino and vice-versa are needed anyway).