Title: Error when saving, if element with Half Space Solid · Issue #7980 · IfcOpenShell/IfcOpenShell · GitHub
Open Graph Title: Error when saving, if element with Half Space Solid · Issue #7980 · IfcOpenShell/IfcOpenShell
X Title: Error when saving, if element with Half Space Solid · Issue #7980 · IfcOpenShell/IfcOpenShell
Description: Bug Description Hello, I have the following error when I save an IFC in which I have added an element, to which I ave added and rotated a Half Space Solid. In Bonsai 0.8.5 for Blender 5.1.1 To reproduce: Add an IfcElement with Representa...
Open Graph Description: Bug Description Hello, I have the following error when I save an IFC in which I have added an element, to which I ave added and rotated a Half Space Solid. In Bonsai 0.8.5 for Blender 5.1.1 To repr...
X Description: Bug Description Hello, I have the following error when I save an IFC in which I have added an element, to which I ave added and rotated a Half Space Solid. In Bonsai 0.8.5 for Blender 5.1.1 To repr...
Opengraph URL: https://github.com/IfcOpenShell/IfcOpenShell/issues/7980
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Error when saving, if element with Half Space Solid","articleBody":"### Bug Description\n\nHello,\nI have the following error when I save an IFC in which I have added an element, to which I ave added and rotated a Half Space Solid.\nIn Bonsai 0.8.5 for Blender 5.1.1\n\nTo reproduce:\n1. Add an IfcElement with Representation: Custom Extruded Solid\n2. Enter edit mode, add a Half Space Solid, rotate it to cut the geometry\n3. Exit edit mode -> no error\n4. Save the file -> error\nThanks\n\n\n\n### Attachments\n\n_No response_\n\n### Debug and Error Output\n\n```true\nPython: Traceback (most recent call last):\n File \"C:\\Program Files\\Blender Foundation\\Blender 5.1\\5.1\\scripts\\startup\\bl_ui\\space_view3d.py\", line 65, in draw\n self.draw_tool_settings(context)\n ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^\n File \"C:\\Program Files\\Blender Foundation\\Blender 5.1\\5.1\\scripts\\startup\\bl_ui\\space_view3d.py\", line 78, in draw_tool_settings\n tool = ToolSelectPanelHelper.draw_active_tool_header(\n context, layout,\n tool_key=('VIEW_3D', tool_mode),\n )\n File \"C:\\Program Files\\Blender Foundation\\Blender 5.1\\5.1\\scripts\\startup\\bl_ui\\space_toolsystem_common.py\", line 832, in draw_active_tool_header\n draw_settings(context, layout, tool)\n ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^\n File \"C:\\Users\\rvouillo\\AppData\\Roaming\\Blender Foundation\\Blender\\5.1\\extensions\\.local\\lib\\python3.13\\site-packages\\bonsai\\bim\\module\\model\\workspace.py\", line 108, in draw_settings\n EditObjectUI.draw(context, layout, ifc_element_type=ifc_element_type)\n ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"C:\\Users\\rvouillo\\AppData\\Roaming\\Blender Foundation\\Blender\\5.1\\extensions\\.local\\lib\\python3.13\\site-packages\\bonsai\\bim\\module\\model\\workspace.py\", line 732, in draw\n AuthoringData.load(ifc_element_type)\n ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^\n File \"C:\\Users\\rvouillo\\AppData\\Roaming\\Blender Foundation\\Blender\\5.1\\extensions\\.local\\lib\\python3.13\\site-packages\\bonsai\\bim\\module\\model\\data.py\", line 85, in load\n cls.data[\"has_extrusion\"] = cls.has_extrusion()\n ~~~~~~~~~~~~~~~~~^^\n File \"C:\\Users\\rvouillo\\AppData\\Roaming\\Blender Foundation\\Blender\\5.1\\extensions\\.local\\lib\\python3.13\\site-packages\\bonsai\\bim\\module\\model\\data.py\", line 262, in has_extrusion\n return bool(tool.Model.get_extrusion(representation))\n ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^\n File \"C:\\Users\\rvouillo\\AppData\\Roaming\\Blender Foundation\\Blender\\5.1\\extensions\\.local\\lib\\python3.13\\site-packages\\bonsai\\tool\\model.py\", line 315, in get_extrusion\n item = representation.Items[0]\n ~~~~~~~~~~~~~~~~~~~~^^^\nIndexError: tuple index out of range\n```","author":{"url":"https://github.com/rvouilloz","@type":"Person","name":"rvouilloz"},"datePublished":"2026-04-21T11:52:10Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/7980"}
| 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:6da20f69-46f3-3831-2987-39f7cbb45d6c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C056:11EEBD:9ACB24:D3205C:6B048170 |
| html-safe-nonce | ed4d81d448b11d8b60c78507103a21f554d271767532d98abef386792fa10f49 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMDU2OjExRUVCRDo5QUNCMjQ6RDMyMDVDOjZCMDQ4MTcwIiwidmlzaXRvcl9pZCI6IjM3NDAyOTQ1NDk1MTI0MjE3NDUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | e19afad26877b715593b4d71474bd9be57ccda588eef2e867d1771eb28e94ace |
| hovercard-subject-tag | issue:4302381408 |
| 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/7980/issue_layout |
| twitter:image | https://opengraph.githubassets.com/959882b91684a703229b2675c2ebbf12d00bdb12599c1cb47041fed504158ceb/IfcOpenShell/IfcOpenShell/issues/7980 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/959882b91684a703229b2675c2ebbf12d00bdb12599c1cb47041fed504158ceb/IfcOpenShell/IfcOpenShell/issues/7980 |
| og:image:alt | Bug Description Hello, I have the following error when I save an IFC in which I have added an element, to which I ave added and rotated a Half Space Solid. In Bonsai 0.8.5 for Blender 5.1.1 To repr... |
| 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