Modeling a dome or other curved surface

I have a question about how to model a dome or curved surface. I know this has been discussed in a number of questions, but I cannot find a solution yet. So here it is.

This is the example of the building that I want to model:

I managed to export the IDF, and when I import it again to Honeybee, this is what I got, see below. Note the small triangles.

The problem is that these triangles are too many, and make it impossible to run such a simple geometry. I tried to run it outside Honeybee, it runs for 12 hours and keeps on running.

Further more, upon closer look, I found that the imported model has a hole on the top of the dome, and the connection between the dome and the flat roof also has holes.

My question is: how can we control the size of the triangle?

I think the better workflow would be:

  1. Convert the dome or curved surfaces to triangle elements.
  2. And then split with other planar surfaces, so that there is not hole in the process of splitting.

Any help would be greatly appreciated. Thanks.

This is the GH file for the test model I run:

dome_test.gh (527.3 KB)

@erydjunaedy I finished similar building as yours. Please refer to my answer.

@minggangyin Thank you for your solution. I just want to document the complete solution, for future reference to whomever might need this.

Solution 1: using Lunchbox plugin.

Solution 2: using UV Divide

I only managed to divide the curved surface into points. How to convert the points into planar surfaces?

I attached the test file below. Thanks.

ball_test.gh (454.4 KB)