BHoM / Rhinoceros_Toolkit

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

Rhinoceros_Toolkit: Cone convert to Rhino creates a single surface instead of solid #121

Open pawelbaran opened 4 years ago

pawelbaran commented 4 years ago

Description:

BH.Engine.Rhinoceros.Convert.ToRhino(BH.oM.Geometry.Cone cone) creates only the top surface of the cone without its base, differently from correspondent ToBHoM method.

Test file:

Test file is uploaded to SharePoint.

epignatelli commented 4 years ago

Hi @pawelbaran , I think @al-fisher made this deliberately this way. Is there any problem with it?

pawelbaran commented 4 years ago

Hi, I've added a test file that explains the issue. In general, if you start from a closed Brep representing a cone with capped base, after calling ToBHoM() and then ToRhino(), you end up with an untrimmed surface (an uncapped cone).