Title: Error when deleting boolean · Issue #7962 · IfcOpenShell/IfcOpenShell · GitHub
Open Graph Title: Error when deleting boolean · Issue #7962 · IfcOpenShell/IfcOpenShell
X Title: Error when deleting boolean · Issue #7962 · IfcOpenShell/IfcOpenShell
Description: Bug Description Got the following error when deleting a boolean. Exact steps below. 20260418_1142.mp4 Attachments No response Debug and Error Output os: Windows os_version: 10.0.19045 python_version: 3.11.11 architecture: ('64bit', 'Wind...
Open Graph Description: Bug Description Got the following error when deleting a boolean. Exact steps below. 20260418_1142.mp4 Attachments No response Debug and Error Output os: Windows os_version: 10.0.19045 python_versio...
X Description: Bug Description Got the following error when deleting a boolean. Exact steps below. 20260418_1142.mp4 Attachments No response Debug and Error Output os: Windows os_version: 10.0.19045 python_versio...
Opengraph URL: https://github.com/IfcOpenShell/IfcOpenShell/issues/7962
X: @github
Domain: github.com
IPv4 address: 140.82.112.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Error when deleting boolean","articleBody":"### Bug Description\n\nGot the following error when deleting a boolean. \nExact steps below.\n\nhttps://github.com/user-attachments/assets/72293316-97ed-4ae2-b37e-5d685988cd0e\n\n### Attachments\n\n_No response_\n\n### Debug and Error Output\n\n```true\nos: Windows\nos_version: 10.0.19045\npython_version: 3.11.11\narchitecture: ('64bit', 'WindowsPE')\nmachine: AMD64\nprocessor: Intel64 Family 6 Model 158 Stepping 10, GenuineIntel\nblender_version: 4.5.7 LTS\nbonsai_version: 0.0.0\nbonsai_commit_hash: 32a7de6\nbonsai_commit_date: 2026-04-17T10:05:25+02:00\nbonsai_git_branch: v0.8.0\nlast_actions: \n# operator: BIM_OT_extend_walls_to_underside\n# ifcopenshell.api: geometry.add_boolean\n>>> {\"first_item\": {\"cast_type\": \"entity_instance\", \"value\": 445, \"Name\": null}, \"second_items\": [{\"cast_type\": \"entity_instance\", \"value\": 748, \"Name\": null}]}\n# ifcopenshell.api: pset.edit_pset\n>>> {\"pset\": {\"cast_type\": \"entity_instance\", \"value\": 735, \"Name\": \"BBIM_Boolean\"}, \"properties\": \"{'Data': IfcText('[749, 733]')}\"}\n# ifcopenshell.api: geometry.connect_element\n>>> {\"relating_element\": {\"cast_type\": \"entity_instance\", \"value\": 340, \"Name\": \"Roof\"}, \"related_element\": {\"cast_type\": \"entity_instance\", \"value\": 247, \"Name\": \"Wall\"}, \"description\": \"TOP\"}\n# ifcopenshell.api: owner.create_owner_history\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_object_delete\n# ifcopenshell.api: pset.edit_pset\n>>> {\"pset\": {\"cast_type\": \"entity_instance\", \"value\": 735, \"Name\": \"BBIM_Boolean\"}, \"properties\": \"{'Data': IfcText('[749]')}\"}\n# ifcopenshell.api: pset.edit_pset\n>>> {\"pset\": {\"cast_type\": \"entity_instance\", \"value\": 735, \"Name\": \"BBIM_Boolean\"}, \"properties\": \"{'Data': IfcText('[749]')}\"}\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_object_delete\n# ifcopenshell.api: pset.remove_pset\n>>> {\"product\": {\"cast_type\": \"entity_instance\", \"value\": 247, \"Name\": \"Wall\"}, \"pset\": {\"cast_type\": \"entity_instance\", \"value\": 735, \"Name\": \"BBIM_Boolean\"}}\nlast_error: Traceback (most recent call last):\n File \"C:\\Users\\Ryan Schultz\\AppData\\Roaming\\Blender Foundation\\Blender\\4.5\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\bim\\ifc.py\", line 523, in execute_ifc_operator\n result = getattr(operator, \"_execute\")(context)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"C:\\Users\\Ryan Schultz\\AppData\\Roaming\\Blender Foundation\\Blender\\4.5\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\bim\\module\\geometry\\operator.py\", line 928, in _execute\n tool.Geometry.delete_ifc_item(obj)\n File \"C:\\Users\\Ryan Schultz\\AppData\\Roaming\\Blender Foundation\\Blender\\4.5\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\tool\\geometry.py\", line 232, in delete_ifc_item\n cls.reload_representation(props.representation_obj)\n File \"C:\\Users\\Ryan Schultz\\AppData\\Roaming\\Blender Foundation\\Blender\\4.5\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\tool\\geometry.py\", line 1327, in reload_representation\n representation = tool.Geometry.resolve_mapped_representation(representation)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"C:\\Users\\Ryan Schultz\\AppData\\Roaming\\Blender Foundation\\Blender\\4.5\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\tool\\geometry.py\", line 1213, in resolve_mapped_representation\n return cls.resolve_mapped_representation(representation.Items[0].MappingSource.MappedRepresentation)\n ~~~~~~~~~~~~~~~~~~~~^^^\nIndexError: tuple index out of range\n\nblend_file_path: D:\\Dropbox\\Troubleshooting\\20260416 - extend to roof\\extend to roof.blend\nblend_file_dirty: True\nifc_file_path: extend to roof.ifc\nifc_is_dirty: True\nifc: extend to roof.ifc\nschema: IFC4\npreprocessor_version: IfcOpenShell 0.0.0\noriginating_system: Bonsai 0.8.6-alpha260413-e6258ab\n```","author":{"url":"https://github.com/theoryshaw","@type":"Person","name":"theoryshaw"},"datePublished":"2026-04-18T16:46:16Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/7962"}
| 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:116e43a6-4d4b-47df-5d1a-eb97a9eb3a96 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A1B0:1453CC:A14788:DB9671:6B048335 |
| html-safe-nonce | e9c2fa7aaf5f250b192e0b56f180e81dd8508ecff2249a5d9dc02a7463ad78ac |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMUIwOjE0NTNDQzpBMTQ3ODg6REI5NjcxOjZCMDQ4MzM1IiwidmlzaXRvcl9pZCI6Ijg1NTc3NzI0OTE0MDg1NzMyMzciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | f385bd5cb3187b4cd354f41883a5767a2cd5f240b32abf44ddf14a77df34333c |
| hovercard-subject-tag | issue:4288590840 |
| 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/7962/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5f17074d26d2fd44e78083a0eef3d60d32b9510ccdca86a3b93994e8abe448cb/IfcOpenShell/IfcOpenShell/issues/7962 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5f17074d26d2fd44e78083a0eef3d60d32b9510ccdca86a3b93994e8abe448cb/IfcOpenShell/IfcOpenShell/issues/7962 |
| og:image:alt | Bug Description Got the following error when deleting a boolean. Exact steps below. 20260418_1142.mp4 Attachments No response Debug and Error Output os: Windows os_version: 10.0.19045 python_versio... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | theoryshaw |
| hostname | github.com |
| expected-hostname | github.com |
| None | 1d5c152376e38b7d2e37f3d5179be29a73bee93b85110da28a4eebe1159cdc70 |
| 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 | f5017e8ff4ea25a8011fcf0f2a0e430c60dc86c8 |
| 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