Title: Strange failure with mitred walls and multiple half-space cuts · Issue #6867 · IfcOpenShell/IfcOpenShell · GitHub
Open Graph Title: Strange failure with mitred walls and multiple half-space cuts · Issue #6867 · IfcOpenShell/IfcOpenShell
X Title: Strange failure with mitred walls and multiple half-space cuts · Issue #6867 · IfcOpenShell/IfcOpenShell
Description: Bug Description I was doing some cleanup work on my main file which may (or may not) have triggered this to happen, or I may just not have noticed an update that changed how this is calculated. The walls did previously look "correct", bu...
Open Graph Description: Bug Description I was doing some cleanup work on my main file which may (or may not) have triggered this to happen, or I may just not have noticed an update that changed how this is calculated. The...
X Description: Bug Description I was doing some cleanup work on my main file which may (or may not) have triggered this to happen, or I may just not have noticed an update that changed how this is calculated. The...
Opengraph URL: https://github.com/IfcOpenShell/IfcOpenShell/issues/6867
X: @github
Domain: github.com
IPv4 address: 140.82.112.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Strange failure with mitred walls and multiple half-space cuts","articleBody":"### Bug Description\n\nI was doing some cleanup work on my main file which may (or may not) have triggered this to happen, or I may just not have noticed an update that changed how this is calculated. The walls _did_ previously look \"correct\", but now they don't.\n\nI had to play about a bit to understand how to easily trigger this. I include a trivial example file that shows the issue, saved _before_ step 5:\n1. Make a two section wall with a mitred join,\n2. Add 3 half space planes:\n\n3. When you exit out of Item mode, into Object mode:\n\n4. If you look at it in x-ray mode, you can see it is trying to make the cut, but _something_ goes wrong:\n\n5. If you unjoin (Shift-U) the two walls:\n\n\nAdditionally:\n- It doesn't matter if the right hand half-space cuts through the mitre join or not. In fact, if you move that down to avoid the join, the breakage gets worse.\n- It doesn't always take three half-spaces, I've seen it with two, but this example was very reliable at reproducing it.\n- This is _not_ caused by https://github.com/IfcOpenShell/IfcOpenShell/commit/6c4e4e5f910a7959175f329cc159eb65f7b0f16a because I'm running a release from yesterday.\n- Also saw the effect on a particular IfcBeam that had three half-spaces.\n\n[half_space_mitre_error.ifc.txt](https://github.com/user-attachments/files/21006708/half_space_mitre_error.ifc.txt)\n\n### Attachments\n\n_No response_\n\n### Debug and Error Output\n\n```true\nos: Linux\nos_version: #152-Ubuntu SMP Mon May 19 10:54:31 UTC 2025\npython_version: 3.11.11\narchitecture: ('64bit', 'ELF')\nmachine: x86_64\nprocessor: x86_64\nblender_version: 4.4.3\nbonsai_version: 0.8.3-alpha250630\nbonsai_commit_hash: 260bc80\nbonsai_commit_date: 2025-06-30T10:11:40+02:00\nlast_actions: \n# ifcopenshell.api: geometry.disconnect_path\n>>> {\"element\": {\"cast_type\": \"entity_instance\", \"value\": 2854, \"Name\": \"Wall\"}, \"connection_type\": \"ATSTART\"}\n# ifcopenshell.api: geometry.disconnect_path\n>>> {\"element\": {\"cast_type\": \"entity_instance\", \"value\": 2854, \"Name\": \"Wall\"}, \"connection_type\": \"ATEND\"}\n# ifcopenshell.api: geometry.regenerate_wall_representation\n>>> {}\n# operator: BIM_OT_override_mode_set_edit\n# operator: BIM_OT_override_mode_set_edit\n# operator: BIM_OT_import_representation_items\n# operator: BIM_OT_override_move_select\n# operator: BIM_OT_override_mode_set_edit\n# operator: BIM_OT_override_mode_set_edit\n# ifcopenshell.api: geometry.validate_type\n>>> {}\n# ifcopenshell.api: geometry.add_boolean\n>>> {}\n# operator: BIM_OT_override_mode_set_edit\n# operator: BIM_OT_override_mode_set_edit\n# operator: BIM_OT_import_representation_items\n# operator: BIM_OT_override_move_select\n# operator: BIM_OT_override_move_select\n# operator: BIM_OT_override_mode_set_edit\n# operator: BIM_OT_override_mode_set_edit\n# ifcopenshell.api: geometry.validate_type\n>>> {}\n# ifcopenshell.api: geometry.add_boolean\n>>> {}\nlast_error: None\nifc: Unsaved\nschema: IFC4\npreprocessor_version: IfcOpenShell 0.8.3-alpha250630\noriginating_system: Bonsai 0.8.3-alpha250630-260bc80\n```","author":{"url":"https://github.com/sboddy","@type":"Person","name":"sboddy"},"datePublished":"2025-07-01T20:14:50Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/6867"}
| 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:f5ca8b8e-73e2-d782-5c9f-6dc5a8d2004a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B5F4:992DB:71DA0:9E7B7:6B04A3D2 |
| html-safe-nonce | abd58c3d55e2cb408107ec24ef4a283c80a0d93aa7bba8deadcd312b95df2789 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNUY0Ojk5MkRCOjcxREEwOjlFN0I3OjZCMDRBM0QyIiwidmlzaXRvcl9pZCI6IjY3MjAxMTE5MjI4Mjc3OTc0NTgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 3f42144f98bf22497a10b4f298e08a57a039867f8d8c79d09bf134711673afc8 |
| hovercard-subject-tag | issue:3193685458 |
| 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/6867/issue_layout |
| twitter:image | https://opengraph.githubassets.com/219f85b263a13ef137067aeeabc7c4dc45175821278e4ab92af083445c2ba7c8/IfcOpenShell/IfcOpenShell/issues/6867 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/219f85b263a13ef137067aeeabc7c4dc45175821278e4ab92af083445c2ba7c8/IfcOpenShell/IfcOpenShell/issues/6867 |
| og:image:alt | Bug Description I was doing some cleanup work on my main file which may (or may not) have triggered this to happen, or I may just not have noticed an update that changed how this is calculated. The... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sboddy |
| hostname | github.com |
| expected-hostname | github.com |
| None | 188497a0f45a7aa8f7c866faa1950d1a7f8d82b59416adf549b222ad1d1dd19b |
| 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 | 557cfbac6cdb532730c95c90f2cefdc0c4128029 |
| ui-target | full |
| 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