BHoM / Rhinoceros_Toolkit

Set of functionalities for communication with Rhinoceros
GNU Lesser General Public License v3.0
6 stars 2 forks source link

Rhinoceros_Engine: ToRhino() of CompositeGeometry returns a CompositeGeometry #203

Closed alelom closed 3 years ago

alelom commented 3 years ago

Description:

Strangely enough, ToRhino() of CompositeGeometry returns a CompositeGeometry: image

I say strangely because there is actually this code in the Rhinoceros_Engine: https://github.com/BHoM/Rhinoceros_Toolkit/blob/7569d637080b7215242050933c92527ce674a62a/Rhinoceros_Engine/Convert/ToRhino.cs#L606-L611

So I'm not sure what's going on.

Steps to reproduce:

See example below: image

Expected behaviour:

Should return the converted Rhinoceros objects, not BHoM geometry - especially not CompositeGeometry.

Test file(s):

See steps to reproduce.

alelom commented 3 years ago

Realised it is due to Goo casting.