Title: Error wen editing the Half Space Solid of a duplicated element · Issue #7979 · IfcOpenShell/IfcOpenShell · GitHub
Open Graph Title: Error wen editing the Half Space Solid of a duplicated element · Issue #7979 · IfcOpenShell/IfcOpenShell
X Title: Error wen editing the Half Space Solid of a duplicated element · Issue #7979 · IfcOpenShell/IfcOpenShell
Description: Bug Description Hello, I have an error when I exit editing mode after having rotated the half space solid of a duplicated element. In Bonsai 0.8.5 for Blender 5.1.1. Just as info, I'm pretty sure it was working in previous versions. To R...
Open Graph Description: Bug Description Hello, I have an error when I exit editing mode after having rotated the half space solid of a duplicated element. In Bonsai 0.8.5 for Blender 5.1.1. Just as info, I'm pretty sure i...
X Description: Bug Description Hello, I have an error when I exit editing mode after having rotated the half space solid of a duplicated element. In Bonsai 0.8.5 for Blender 5.1.1. Just as info, I'm pretty su...
Opengraph URL: https://github.com/IfcOpenShell/IfcOpenShell/issues/7979
X: @github
Domain: github.com
IPv4 address: 140.82.113.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Error wen editing the Half Space Solid of a duplicated element","articleBody":"### Bug Description\n\nHello, \nI have an error when I exit editing mode after having rotated the half space solid of a duplicated element.\nIn Bonsai 0.8.5 for Blender 5.1.1.\nJust as info, I'm pretty sure it was working in previous versions.\n\nTo Reproduce:\n1. Create an IfcElement with Representation = Custom Extruded Solid\n2. Enter edit mode and add a Half Space Solid, rotate to cut the geometry. Exit edit mode\n3. Duplicate the element\n4. Enter edit mode of the second element. Rotate the Half Space Solid. Exit edit mode -> error\n\nThanks,\n\n### Attachments\n\n_No response_\n\n### Debug and Error Output\n\n```true\nos: Windows\nos_version: 10.0.26200\npython_version: 3.13.9\narchitecture: ('64bit', 'WindowsPE')\nmachine: AMD64\nprocessor: Intel64 Family 6 Model 158 Stepping 13, GenuineIntel\nblender_version: 5.1.1\nbonsai_version: 0.8.5\nbonsai_commit_hash: None\nbonsai_commit_date: None\nbonsai_git_branch: None\nlast_actions: \n# operator: BIM_OT_add_half_space_solid_item\n# operator: BIM_OT_add_boolean\n# ifcopenshell.api: geometry.add_boolean\n>>> {}\n# ifcopenshell.api: pset.add_pset\n>>> {\"product\": {\"cast_type\": \"entity_instance\", \"value\": 63, \"Name\": \"A\"}, \"name\": \"BBIM_Boolean\"}\n# ifcopenshell.api: owner.create_owner_history\n>>> {}\n# ifcopenshell.api: pset.assign_pset\n>>> {}\n# ifcopenshell.api: owner.create_owner_history\n>>> {}\n# ifcopenshell.api: pset.edit_pset\n>>> {\"pset\": {\"cast_type\": \"entity_instance\", \"value\": 88, \"Name\": \"BBIM_Boolean\"}, \"properties\": \"{'Data': IfcText('[87]')}\"}\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_object_duplicate_move\n# ifcopenshell.api: root.copy_class\n>>> {\"product\": {\"cast_type\": \"entity_instance\", \"value\": 63, \"Name\": \"A\"}}\n# ifcopenshell.api: style.assign_representation_styles\n>>> {\"shape_representation\": {\"cast_type\": \"entity_instance\", \"value\": 113, \"Name\": null}, \"styles\": \"[]\", \"should_use_presentation_style_assignment\": \"False\"}\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_mode_set_edit\n# operator: BIM_OT_override_mode_set_edit\nlast_error: Traceback (most recent call last):\n File \"C:\\Users\\rvouillo\\AppData\\Roaming\\Blender Foundation\\Blender\\5.1\\extensions\\.local\\lib\\python3.13\\site-packages\\bonsai\\bim\\ifc.py\", line 525, in execute_ifc_operator\n result = getattr(operator, \"_invoke\")(context, event)\n File \"C:\\Users\\rvouillo\\AppData\\Roaming\\Blender Foundation\\Blender\\5.1\\extensions\\.local\\lib\\python3.13\\site-packages\\bonsai\\bim\\module\\geometry\\operator.py\", line 2244, in _invoke\n return self.execute(context)\n ~~~~~~~~~~~~^^^^^^^^^\n File \"C:\\Users\\rvouillo\\AppData\\Roaming\\Blender Foundation\\Blender\\5.1\\extensions\\.local\\lib\\python3.13\\site-packages\\bonsai\\tool\\ifc.py\", line 367, in execute\n IfcStore.execute_ifc_operator(self, context)\n ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^\n File \"C:\\Users\\rvouillo\\AppData\\Roaming\\Blender Foundation\\Blender\\5.1\\extensions\\.local\\lib\\python3.13\\site-packages\\bonsai\\bim\\ifc.py\", line 523, in execute_ifc_operator\n result = getattr(operator, \"_execute\")(context)\n File \"C:\\Users\\rvouillo\\AppData\\Roaming\\Blender Foundation\\Blender\\5.1\\extensions\\.local\\lib\\python3.13\\site-packages\\bonsai\\bim\\module\\geometry\\operator.py\", line 2273, in _execute\n tool.Geometry.disable_item_mode()\n ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^\n File \"C:\\Users\\rvouillo\\AppData\\Roaming\\Blender Foundation\\Blender\\5.1\\extensions\\.local\\lib\\python3.13\\site-packages\\bonsai\\tool\\geometry.py\", line 1945, in disable_item_mode\n cls.sync_item_positions()\n ~~~~~~~~~~~~~~~~~~~~~~~^^\n File \"C:\\Users\\rvouillo\\AppData\\Roaming\\Blender Foundation\\Blender\\5.1\\extensions\\.local\\lib\\python3.13\\site-packages\\bonsai\\tool\\geometry.py\", line 1798, in sync_item_positions\n cls.reload_representation(rep_obj)\n ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^\n File \"C:\\Users\\rvouillo\\AppData\\Roaming\\Blender Foundation\\Blender\\5.1\\extensions\\.local\\lib\\python3.13\\site-packages\\bonsai\\tool\\geometry.py\", line 1327, in reload_representation\n representation = tool.Geometry.resolve_mapped_representation(representation)\n File \"C:\\Users\\rvouillo\\AppData\\Roaming\\Blender Foundation\\Blender\\5.1\\extensions\\.local\\lib\\python3.13\\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: Not saved\nblend_file_dirty: N/A\nifc_file_path: No IFC loaded\nifc_is_dirty: N/A\nifc: Unsaved\nschema: IFC4\npreprocessor_version: IfcOpenShell 0.8.5\noriginating_system: IfcOpenShell 0.8.5\n```","author":{"url":"https://github.com/rvouilloz","@type":"Person","name":"rvouilloz"},"datePublished":"2026-04-21T11:27:38Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/7979"}
| 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:70d3fe65-f4e0-0d0c-033d-1ce2e5ba23b9 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CF42:99B56:8777DD:BDE9F3:6B048169 |
| html-safe-nonce | 1a1610bdb7bdd95059b4682dd091be9af6a749a9590eededca9bc6c76069da0c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRjQyOjk5QjU2Ojg3NzdERDpCREU5RjM6NkIwNDgxNjkiLCJ2aXNpdG9yX2lkIjoiNTAzODI2NzEyODQ1MzgyNDg3MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 6a5b10486fcf3a4895eaa4d1a7223de50143845d4c7122ab4026b40a67af8a4f |
| hovercard-subject-tag | issue:4302261566 |
| 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/7979/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9c6b8d38f382a4432858e7bb2dd40d344304759d4a7f580a5277cbab43f06f97/IfcOpenShell/IfcOpenShell/issues/7979 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9c6b8d38f382a4432858e7bb2dd40d344304759d4a7f580a5277cbab43f06f97/IfcOpenShell/IfcOpenShell/issues/7979 |
| og:image:alt | Bug Description Hello, I have an error when I exit editing mode after having rotated the half space solid of a duplicated element. In Bonsai 0.8.5 for Blender 5.1.1. Just as info, I'm pretty sure i... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | rvouilloz |
| hostname | github.com |
| expected-hostname | github.com |
| None | 0366ddfb372682a32e92a5d86155cb08fa83e5bbe79953a968789f2f7e24c511 |
| 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 | ed3f2e01f6b7672780c586c8af0e72726374d7b6 |
| 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