Title: Problems/erros with Spaces · Issue #9470 · IfcOpenShell/IfcOpenShell · GitHub
Open Graph Title: Problems/erros with Spaces · Issue #9470 · IfcOpenShell/IfcOpenShell
X Title: Problems/erros with Spaces · Issue #9470 · IfcOpenShell/IfcOpenShell
Description: Bug Description When I create a space using the 3D cursor, the space is generated, but it lacks geometry. If I activate "Toggle Space Visibility," I get a long list of errors. While I can run "Perform Quantity Take-Off"—which does report...
Open Graph Description: Bug Description When I create a space using the 3D cursor, the space is generated, but it lacks geometry. If I activate "Toggle Space Visibility," I get a long list of errors. While I can run "Perf...
X Description: Bug Description When I create a space using the 3D cursor, the space is generated, but it lacks geometry. If I activate "Toggle Space Visibility," I get a long list of errors. While I can...
Opengraph URL: https://github.com/IfcOpenShell/IfcOpenShell/issues/9470
X: @github
Domain: github.com
IPv4 address: 140.82.112.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Problems/erros with Spaces","articleBody":"### Bug Description\n\nWhen I create a space using the 3D cursor, the space is generated, but it lacks geometry. If I activate \"Toggle Space Visibility,\" I get a long list of errors. While I can run \"Perform Quantity Take-Off\"—which does report a number of created entities—the displayed values are all zero.\n\nThis error is reproducible and occurs consistently every time I attempt to define a space and have the values calculated automatically.\n\n\nErrorlog from Blender/Bim:\n\n```\nos: Windows\nos_version: 10.0.26100\npython_version: 3.13.13\narchitecture: ('64bit', 'WindowsPE')\nmachine: AMD64\nprocessor: Intel64 Family 6 Model 140 Stepping 1, GenuineIntel\nblender_version: 5.2.0 LTS\nbonsai_version: 0.8.5\nbonsai_commit_hash: None\nbonsai_commit_date: None\nbonsai_git_branch: None\nlast_actions: \n# operator: BIM_OT_draw_polyline_slab\n# operator: BIM_OT_draw_polyline_slab\n# operator: BIM_OT_draw_polyline_slab\n# operator: BIM_OT_draw_polyline_slab\n# operator: BIM_OT_draw_polyline_slab\n# operator: BIM_OT_draw_polyline_slab\n# operator: BIM_OT_draw_polyline_slab\n# operator: BIM_OT_draw_polyline_slab\n# operator: BIM_OT_override_object_duplicate_move\n# ifcopenshell.api: root.copy_class\n>>> {\"product\": {\"cast_type\": \"entity_instance\", \"value\": 348, \"Name\": \"Slab\"}}\n# ifcopenshell.api: style.assign_representation_styles\n>>> {\"shape_representation\": {\"cast_type\": \"entity_instance\", \"value\": 383, \"Name\": null}, \"styles\": \"[]\", \"should_use_presentation_style_assignment\": \"False\"}\n# operator: BIM_OT_spatial_hotkey\n# ifcopenshell.api: root.create_entity\n>>> {\"ifc_class\": \"IfcSpace\", \"predefined_type\": \"None\", \"name\": \"Space\"}\n# ifcopenshell.api: owner.create_owner_history\n>>> {}\n# ifcopenshell.api: aggregate.assign_object\n>>> {\"products\": [{\"cast_type\": \"entity_instance\", \"value\": 393, \"Name\": \"Space\"}], \"relating_object\": {\"cast_type\": \"entity_instance\", \"value\": 39, \"Name\": \"My Storey\"}}\n# ifcopenshell.api: spatial.unassign_container\n>>> {\"products\": \"[]\"}\n# ifcopenshell.api: owner.create_owner_history\n>>> {}\n# ifcopenshell.api: geometry.assign_representation\n>>> {\"product\": {\"cast_type\": \"entity_instance\", \"value\": 393, \"Name\": \"Space\"}, \"representation\": {\"cast_type\": \"entity_instance\", \"value\": 404, \"Name\": null}}\n# ifcopenshell.api: owner.update_owner_history\n>>> {\"element\": {\"cast_type\": \"entity_instance\", \"value\": 393, \"Name\": \"Space\"}}\n# operator: BIM_OT_spatial_hotkey\nlast_error: Traceback (most recent call last):\n File \"C:\\Users\\porebskif\\AppData\\Roaming\\Blender Foundation\\Blender\\5.2\\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\\porebskif\\AppData\\Roaming\\Blender Foundation\\Blender\\5.2\\extensions\\.local\\lib\\python3.13\\site-packages\\bonsai\\bim\\module\\spatial\\workspace.py\", line 143, in _execute\n getattr(self, f\"hotkey_{self.hotkey}\")()\n ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^\n File \"C:\\Users\\porebskif\\AppData\\Roaming\\Blender Foundation\\Blender\\5.2\\extensions\\.local\\lib\\python3.13\\site-packages\\bonsai\\bim\\module\\spatial\\workspace.py\", line 180, in hotkey_S_T\n bpy.ops.bim.toggle_space_visibility()\n ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^\nRuntimeError: Error: Python: Traceback (most recent call last):\n File \"C:\\Users\\porebskif\\AppData\\Roaming\\Blender Foundation\\Blender\\5.2\\extensions\\.local\\lib\\python3.13\\site-packages\\bonsai\\bim\\module\\model\\space.py\", line 105, in execute\n core.toggle_space_visibility(tool.Ifc, tool.Spatial)\n ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^\n File \"C:\\Users\\porebskif\\AppData\\Roaming\\Blender Foundation\\Blender\\5.2\\extensions\\.local\\lib\\python3.13\\site-packages\\bonsai\\core\\spatial.py\", line 272, in toggle_space_visibility\n spatial.toggle_spaces_visibility_wired_and_textured(spaces)\n ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^\n File \"C:\\Users\\porebskif\\AppData\\Roaming\\Blender Foundation\\Blender\\5.2\\extensions\\.local\\lib\\python3.13\\site-packages\\bonsai\\tool\\spatial.py\", line 1220, in toggle_spaces_visibility_wired_and_textured\n assert isinstance(first_obj, bpy.types.Object)\n ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nAssertionError\nLocation: C:\\Users\\porebskif\\AppData\\Roaming\\Blender Foundation\\Blender\\5.2\\extensions\\.local\\lib\\python3.13\\site-packages\\bonsai\\bim\\module\\spatial\\workspace.py:180\n\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```\n\n### Attachments\n\n_No response_\n\n### Debug and Error Output\n\n```true\n\n```","author":{"url":"https://github.com/Frank-David007","@type":"Person","name":"Frank-David007"},"datePublished":"2026-09-10T09:22:59Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/9470"}
| 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:26e6c99b-5bc5-334e-cd5e-239174c3618b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CEF2:3E863D:1B9984:25BEBB:6B04B409 |
| html-safe-nonce | 3b3bd4a31ad570b53ad1bae7b0466b57ed801670b278696632301ba779416768 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRUYyOjNFODYzRDoxQjk5ODQ6MjVCRUJCOjZCMDRCNDA5IiwidmlzaXRvcl9pZCI6IjcxNTE0MTM2NzI1NjM0ODc3NTMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 054664361cf0f2a93089daa8c190c9cc62fb3eb4c338961a887ded82ab3e8451 |
| hovercard-subject-tag | issue:5410341804 |
| 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/9470/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3b38ca3e9a72bff59173b0929a1bc5ba846b7f615b71d61f3984c84b18ba8c4e/IfcOpenShell/IfcOpenShell/issues/9470 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3b38ca3e9a72bff59173b0929a1bc5ba846b7f615b71d61f3984c84b18ba8c4e/IfcOpenShell/IfcOpenShell/issues/9470 |
| og:image:alt | Bug Description When I create a space using the 3D cursor, the space is generated, but it lacks geometry. If I activate "Toggle Space Visibility," I get a long list of errors. While I can run "Perf... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Frank-David007 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 378bd702ac792b3550e484ad39d9a898fcd25bb52ba6962b0c9cc457c1ea71c7 |
| 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 | b032e77f1ea437ede6c115446a0a467709b468e7 |
| 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