samuelduchesne / pyumi

open and edit UMI projects with Python
4 stars 4 forks source link

Phantom umi building creation #135

Open zberzolla opened 2 years ago

zberzolla commented 2 years ago

Using pyumi 0.5.0 and rhino 7.15.0, we get extra umibuildings created (with the same IDs/attributes) if there is a small edge in the file. This causes an UMI energy error because there are multiple buildings with the same IDs. For example, ID 23784 on the southeast corner has a small edge (if you zoom really far in). This used to not be an issue but seems to come up now that we've upgraded to a newer rhino version. image

Braga_Baseline.zip .

samuelduchesne commented 2 years ago

Interesting. Have you tried placing breakpoints where the buildings are created?

samuelduchesne commented 2 years ago

Maybe here: https://github.com/samuelduchesne/pyumi/blob/969392f2b95ef8441bd3fe66f5cded6ea75634f0/pyumi/umi_project.py#L517-L524

zberzolla commented 2 years ago

We need to just flag this issue and tell users to fix it