Non rectangular shaped buildings with PUMA

525
1
12-14-2023 07:31 AM
FranciscoContreras
New Contributor

I´ve been using the Puma nodes in Grasshopper to generate buildings and streets, but i noticed that by default when you select a non rectangular face it divide it in triangles before the building extrusion, generating unrealistic diagonals.

Is there a way of solving this or is a Puma limitation.

I can code in C# so a solution that involves programming is an option.Puma_Diagonal_Problem.PNG

Tags (2)
0 Kudos
1 Reply
SimonHaegler
Esri Contributor

Hi Francisco,

from your screenshot, I think Puma tries to construct a building on each triangle passed in from Rhino. In version 1.1 we added some tools to control how the Rhino geometry is passed to Puma.

You basically have three options:

  1. Treat the input shape as "multi-polygon" and use the CGA cleanupGeometry operation to remove internal edges in the rules.
  2. Use the Rhino commands AddNgonsToMesh and DeleteMeshNgons to control how polygons are grouped together into Ngons within the mesh.
  3. Use the "Ngon" plugin for detailed control of the conversion.

In options 2 and 3, Puma will recognize the Ngons created by above methods in the input meshes and use them to create the actual input polygon faces for the model generation.

Please see the first link to the Puma manual for details.

Hope this helps & kind regards,
Simon

0 Kudos