Title: Bonsai: Reassigning an IfcSlab to a different building storey somehow moves an IfcWall to the model origin after reopening · Issue #9114 · IfcOpenShell/IfcOpenShell · GitHub
Open Graph Title: Bonsai: Reassigning an IfcSlab to a different building storey somehow moves an IfcWall to the model origin after reopening · Issue #9114 · IfcOpenShell/IfcOpenShell
X Title: Bonsai: Reassigning an IfcSlab to a different building storey somehow moves an IfcWall to the model origin after reopening · Issue #9114 · IfcOpenShell/IfcOpenShell
Description: Bug Description Tried on latest BonsaiPR build-0.8.6-alpha2607300842 and Bonsai Daily 0.8.6-alpha260726 Testmodel attached here Bug description When an IfcSlab is reassigned to the same building storey as an existing IfcWall, the wall is...
Open Graph Description: Bug Description Tried on latest BonsaiPR build-0.8.6-alpha2607300842 and Bonsai Daily 0.8.6-alpha260726 Testmodel attached here Bug description When an IfcSlab is reassigned to the same building st...
X Description: Bug Description Tried on latest BonsaiPR build-0.8.6-alpha2607300842 and Bonsai Daily 0.8.6-alpha260726 Testmodel attached here Bug description When an IfcSlab is reassigned to the same building st...
Opengraph URL: https://github.com/IfcOpenShell/IfcOpenShell/issues/9114
X: @github
Domain: github.com
IPv4 address: 140.82.113.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Bonsai: Reassigning an IfcSlab to a different building storey somehow moves an IfcWall to the model origin after reopening","articleBody":"### Bug Description\n\nTried on latest BonsaiPR build-0.8.6-alpha2607300842 and Bonsai Daily 0.8.6-alpha260726\n\n[Testmodel attached here](https://github.com/user-attachments/files/30537926/Testmodel.ifc.txt)\n\n## Bug description\n\nWhen an `IfcSlab` is reassigned to the same building storey as an existing `IfcWall`, the wall is unexpectedly moved to the model origin after saving and reopening the IFC model.\n\nThe affected wall is physically positioned on the slab in the model.\n\nTested with:\n\n* BonsaiPR build `0.8.6-alpha2607300842`\n* Bonsai Daily `0.8.6-alpha260726`\n\n## Steps to reproduce\n\n1. Open the attached test model in Bonsai.\n2. Select the slab with GlobalId = \"2u7J9aghLADuS2QWOI$VtF\".\n3. Assign the slab to the building storey `B - 06 vijfde verdieping`.\n4. Save the IFC model.\n5. Close and reopen the model.\n6. Check the position of the wall with GlobalId = \"0ycMsZ$B91i90MOpMl3JVf\".\n\nThe affected wall is assigned to `B - 05 vierde verdieping` before the slab is reassigned. Geometrically, the wall is positioned below the selected slab.\n\n## Expected result\n\nThe selected `IfcSlab` should be reassigned to `B - 06 vijfde verdieping` while retaining its global position.\n\nThe `IfcWall` should remain assigned to `B - 05 vierde verdieping` (which is the case) and should also retain its original global position below the slab.\n\n## Actual result\n\nThe `IfcSlab` is correctly assigned to `B - 06 vijfde verdieping`.\n\nHowever, after saving, closing, and reopening the model, the `IfcWall` with GlobalId `0ycMsZ$B91i90MOpMl3JVf` is moved to the model origin.\n\nThe issue only becomes visible after reopening the saved model.\n\n\u003cimg width=\"1951\" height=\"608\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/bec25cde-19f5-4915-9048-a3c586c37ce7\" />\n\n\u003cimg width=\"1473\" height=\"825\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/78578a5a-e3df-4d2b-8112-7e24b41a0a1a\" />\n\n### Attachments\n\n_No response_\n\n### Debug and Error Output\n\n```true\n\n```","author":{"url":"https://github.com/PahlawanJoey","@type":"Person","name":"PahlawanJoey"},"datePublished":"2026-07-30T08:26:12Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/9114"}
| 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 | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:4123d73d-267e-9bca-9ee5-7c5f08b2880e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 865C:346A76:B07C1:EC439:6B04C800 |
| html-safe-nonce | ff19885004a217ea163a3fe6f01c99858c79b864211e0f6d00716424e614a08f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NjVDOjM0NkE3NjpCMDdDMTpFQzQzOTo2QjA0QzgwMCIsInZpc2l0b3JfaWQiOiI4MTk4ODkzODI4ODM3Nzg3NjQ4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | a585164ba2fa03e2686dd5940797d4d56dc954ffd3bce42bafb876ade31e8576 |
| hovercard-subject-tag | issue:5017780496 |
| github-keyboard-shortcuts | repository,issues,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/_view_fragments/issues/show/IfcOpenShell/IfcOpenShell/9114/issue_layout |
| twitter:image | https://opengraph.githubassets.com/92000179a5b217fd32804a9795160e360db4814087a1bd307c1d0bcd8d3c6d79/IfcOpenShell/IfcOpenShell/issues/9114 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/92000179a5b217fd32804a9795160e360db4814087a1bd307c1d0bcd8d3c6d79/IfcOpenShell/IfcOpenShell/issues/9114 |
| og:image:alt | Bug Description Tried on latest BonsaiPR build-0.8.6-alpha2607300842 and Bonsai Daily 0.8.6-alpha260726 Testmodel attached here Bug description When an IfcSlab is reassigned to the same building st... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | PahlawanJoey |
| hostname | github.com |
| expected-hostname | github.com |
| None | 85dd75377eb77313206b8fc108bcee6a3a029286d94bf32bf9b4426e4d92e0c4 |
| turbo-cache-control | no-preview |
| 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 | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 0d64fa748a2bab9a5b587a967ac4da1cfa8da6dd |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width