It is well known that there are only 5 regular polyhedrons.
But it's not that simple to create them as 3D computational model. You have to deal with a bit complicated angles to create one.
Once I've tried a similar a few years ago as follow with AC. But it can't cover all 5 types at once.
So I tried to develop an advanced method with Dynamo.
|semi-regular polyhedron Soccer-ball|
1st ApproachI just tried with folding method which is just like paper work.
Folding(rotation) angles can be found depend on number of vertexes of side polygons as below.
This method can create most of regular polyhedrons easily except Icosahedron which has 20 faces.
The other way is cutting a sphere by planes which are aligned at each faces of a polyhedron.
In this concept, the locations and angles of planes which cut a sphere can be found from the formulas at folding method.
And I developed a custom node which can create dual-polyhedrons from given polyhedron.
You can create a polyhedron which has a lot of faces by using this node repeatedly.
One more additional dyf creates a polyhedron with all triangle faces from given regular or semi-regular polyhedron.
Now, you can easily create any regular or semi-regular polyhedrons in Revit.
You can build your own code or just use mine.