BHoM / Speckle_Toolkit

GNU Lesser General Public License v3.0
10 stars 2 forks source link

Move Convert methods back in Engine #89

Open alelom opened 4 years ago

alelom commented 4 years ago

Broken rules:

_Tl;dr: it can be useful to have Convert methods in the UI for the Engine in the SpeckleToolkit, so they should be moved back in the Engine project.

Full description:

All Convert methods were moved in the Adapter project as a result of the latest compliance measures, intended to avoid exposing normally unneeded converts in the UI.

However, Speckle is as always a bit particular, and there are fringe cases where you might want to do the convert for certain objects in the UI, while explicitly avoiding the converts for others. For example, this allows to use the standard Speckle "Sender" component to upload native Rhino geometries together with BHoMObjects by separating them and avoiding having them to pass through a conversion phase all together. Complicated, but can be an extremely useful workaround in fringe situations.

Suggestions to restore compliance:

As above