Title: Replace blender based space boundary generation with IFC based by CyrilWaechter · Pull Request #9221 · IfcOpenShell/IfcOpenShell · GitHub
Open Graph Title: Replace blender based space boundary generation with IFC based by CyrilWaechter · Pull Request #9221 · IfcOpenShell/IfcOpenShell
X Title: Replace blender based space boundary generation with IFC based by CyrilWaechter · Pull Request #9221 · IfcOpenShell/IfcOpenShell
Description: Replace the Blender-based space boundary generation in bonsai with an IFC-based implementation in ifcopenshell.util.boundary, and fix a series of bugs found while validating it against the reference boundary test models. What changed Extract boundary generation to ifcopenshell.util.boundary (auto_generate_boundaries) and have the Blender add-on call it. dissolve_faces in ifcopenshell.util.shape: reconstruct polygonal faces from triangulated meshes, with merge_coplanar support to rejoin split planar faces (e.g. an L-shaped top face). Fix the axis/ref_direction swap in connection geometry for the new generation path. Deduplicate opening boundaries so a space only gets one boundary per opening pair. Fix space boundary generation regressions found against the IfcRelSpaceBoundary_TestFiles reference models (ExternalEarth, SmallHouse, Triangle, OverSplitted). Keep shaft holes in generated ceiling boundaries and avoid spurious wall-cap boundaries at the shaft base, matching the reference output. Optimize coplanar face reconstruction (vectorized prefilter, precomputed normals) and add regression tests. Stack This PR is stacked on #9005 (auto-space-height) and depends on it. Testing test/util/test_boundary.py and test/util/test_shape.py pass. New regression tests cover ExternalEarth, SmallHouse, Triangle, and OverSplitted models. AI disclosure The commits in this PR were generated with the assistance of an AI coding tool.
Open Graph Description: Replace the Blender-based space boundary generation in bonsai with an IFC-based implementation in ifcopenshell.util.boundary, and fix a series of bugs found while validating it against the referenc...
X Description: Replace the Blender-based space boundary generation in bonsai with an IFC-based implementation in ifcopenshell.util.boundary, and fix a series of bugs found while validating it against the referenc...
Opengraph URL: https://github.com/IfcOpenShell/IfcOpenShell/pull/9221
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:2f5cfb55-94a8-a22d-9fd0-c0305c7d08fe |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E94C:D7685:4690A4:5E4634:6B04F4B2 |
| html-safe-nonce | 3842ef773e5dc91c89bff89990fea95b1f43a284d6d78ea87898fa932ddec2ab |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOTRDOkQ3Njg1OjQ2OTBBNDo1RTQ2MzQ6NkIwNEY0QjIiLCJ2aXNpdG9yX2lkIjoiNTUyMzM2MjczNzk4MTU1MTc5NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | d96d6b4fb38257edf8b824f8ea9f1bd6c3e51f60d25aa596d58597196f06238e |
| hovercard-subject-tag | pull_request:4185003560 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/IfcOpenShell/IfcOpenShell/pull/9221/files |
| twitter:image | https://avatars.githubusercontent.com/u/9622862?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/9622862?s=400&v=4 |
| og:image:alt | Replace the Blender-based space boundary generation in bonsai with an IFC-based implementation in ifcopenshell.util.boundary, and fix a series of bugs found while validating it against the referenc... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 2c3971d6ab4be607cf9a26ac26ef0a7bfce380ec2ba14642e64028ad07a492b9 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/IfcOpenShell/IfcOpenShell git https://github.com/IfcOpenShell/IfcOpenShell.git |
| octolytics-dimension-user_id | 13692563 |
| octolytics-dimension-user_login | IfcOpenShell |
| octolytics-dimension-repository_id | 40473201 |
| octolytics-dimension-repository_nwo | IfcOpenShell/IfcOpenShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 40473201 |
| octolytics-dimension-repository_network_root_nwo | IfcOpenShell/IfcOpenShell |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | b3f1d45dee14b3f87c64e9017a9c08d011561786 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | no-cache |
Viewport: width=device-width