generative modeling for Rhino
I want to transfer data form another 3d app to grashopper.
the other app is polygon-based and can work with polys, that have more then 5 vertices.
grashopper seems to have problems, when it comes to polys with more than 5 vertices.
i tried different methods in python. just look at the attatched files.
there is a gh file and several dmp files. they must be saved in the same folder because of relative path-references. the dmp files contain all the witten out data in a binary-format.
would be very very nice if someone knows a solution!
faces with more than four sides are usually called n-gons. If you were able to create a 5-sided mesh face in Rhino, there would be a good chance that you could do that in Python, too. But Rhino does not allow that at present. It might be added in the future due to user requests. Requests are welcome on the Rhino newsgroup: news://news.rhino3d.com/rhino
Right now, you can create Patches (trimmed surfaces, if there are only a few). Another workaround, maybe more suitable for many faces, could be to import all faces as polylines?
I hope this helps, at least a little.
thank you for your answer!!!
i did it by polylines and i had to see, that in the case of the soccerball they re not all planar.
it´s always the others fault: the other 3d app created the hexagons of the soccerball out of triangles by strange subdivisions and other magically processions.
so: my soccerball was no good example!
but: polys with more than four vertices are on top of my wishlist.
do you think there is a way to make those hexagon planar?
On the other hand, maybe you could have a look at these two tutorials (for different kinds of balls)