Closed alelom closed 3 years ago
Strangely enough, ToRhino() of CompositeGeometry returns a CompositeGeometry:
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.
See example below:
Should return the converted Rhinoceros objects, not BHoM geometry - especially not CompositeGeometry.
See steps to reproduce.
Realised it is due to Goo casting.
Description:
Strangely enough, ToRhino() of CompositeGeometry returns a CompositeGeometry:![image](https://user-images.githubusercontent.com/6352844/108382222-7bf2ac80-7200-11eb-8324-9d550e46b1d4.png)
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](https://user-images.githubusercontent.com/6352844/108381825-1b636f80-7200-11eb-957f-d3e5852b039e.png)
Expected behaviour:
Should return the converted Rhinoceros objects, not BHoM geometry - especially not CompositeGeometry.
Test file(s):
See steps to reproduce.