BHoM / XML_Toolkit

GNU Lesser General Public License v3.0
9 stars 2 forks source link

Unable to generate gbXML possible bug? #522

Closed michaldengusiak closed 3 years ago

michaldengusiak commented 3 years ago

Hey...after some break decided to rebuild all BHoM and test gbXML.... unfortunately no luck... I have this simple model image that I am unable to export to gbXML image

however, I checked polyline as per message and all are closed

image

there must be sth not right... Can you let me know what I am doing wrong and assist with this :)?

gbXML_example.zip

michaelhoehn commented 3 years ago

Hey @michaldengusiak I had a look at the script and think I was able to identify the problem. You are experiencing the error based on the creation of the panel geometry. I think there's a topological dissociation occurring between the panels and their respective edges i.e. the combined panels are confused between their geometric and spatial connectivity properties. I've restructured your original objects and was able to successfully push the XML and preview in AragogXML Viewer using the following changes.

image

I'm not sure how you originally generated the panels, but if you're working in Rhino/GH might I suggest the following method? image

I was unable to identify any particular bug in the code itself. So if you're happy with this explanation, please close the issue.

michaldengusiak commented 3 years ago

@michaelhoehn thanks for your reply, after rebuild it works. I will review panel set up..