Title: Bonsai Add-on error on blender 4.4.1 · Issue #8885 · IfcOpenShell/IfcOpenShell · GitHub
Open Graph Title: Bonsai Add-on error on blender 4.4.1 · Issue #8885 · IfcOpenShell/IfcOpenShell
X Title: Bonsai Add-on error on blender 4.4.1 · Issue #8885 · IfcOpenShell/IfcOpenShell
Description: Bug Description os: Windows os_version: 10.0.26100 python_version: 3.11.11 architecture: ('64bit', 'WindowsPE') machine: AMD64 processor: AMD64 Family 23 Model 113 Stepping 0, AuthenticAMD blender_version: 4.4.1 bonsai_version: 0.8.5-pos...
Open Graph Description: Bug Description os: Windows os_version: 10.0.26100 python_version: 3.11.11 architecture: ('64bit', 'WindowsPE') machine: AMD64 processor: AMD64 Family 23 Model 113 Stepping 0, AuthenticAMD blender_...
X Description: Bug Description os: Windows os_version: 10.0.26100 python_version: 3.11.11 architecture: ('64bit', 'WindowsPE') machine: AMD64 processor: AMD64 Family 23 Model 113 Stepping 0, Authe...
Opengraph URL: https://github.com/IfcOpenShell/IfcOpenShell/issues/8885
X: @github
Domain: github.com
IPv4 address: 140.82.112.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Bonsai Add-on error on blender 4.4.1","articleBody":"### Bug Description\n\n```\nos: Windows\nos_version: 10.0.26100\npython_version: 3.11.11\narchitecture: ('64bit', 'WindowsPE')\nmachine: AMD64\nprocessor: AMD64 Family 23 Model 113 Stepping 0, AuthenticAMD\nblender_version: 4.4.1\nbonsai_version: 0.8.5-post1\nbonsai_commit_hash: None\nbonsai_commit_date: None\nbonsai_git_branch: None\nlast_actions: \nlast_error: Traceback (most recent call last):\n File \"C:\\Users\\ketly\\AppData\\Roaming\\Blender Foundation\\Blender\\4.4\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\bim\\module\\project\\operator.py\", line 1129, in finish_loading_project\n bpy.ops.bim.load_project_elements()\n File \"D:\\Arquivos de Programas\\Blender 4.4\\4.4\\scripts\\modules\\bpy\\ops.py\", line 109, in __call__\n ret = _op_call(self.idname_py(), kw)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nRuntimeError: Error: Python: Traceback (most recent call last):\n File \"C:\\Users\\ketly\\AppData\\Roaming\\Blender Foundation\\Blender\\4.4\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\bim\\module\\project\\operator.py\", line 1217, in execute\n ifc_importer.execute()\n File \"C:\\Users\\ketly\\AppData\\Roaming\\Blender Foundation\\Blender\\4.4\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\bim\\import_ifc.py\", line 308, in execute\n tool.Spatial.run_spatial_import_spatial_decomposition()\n File \"C:\\Users\\ketly\\AppData\\Roaming\\Blender Foundation\\Blender\\4.4\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\tool\\spatial.py\", line 173, in run_spatial_import_spatial_decomposition\n return bonsai.core.spatial.import_spatial_decomposition(tool.Spatial)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"C:\\Users\\ketly\\AppData\\Roaming\\Blender Foundation\\Blender\\4.4\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\core\\spatial.py\", line 138, in import_spatial_decomposition\n spatial.import_spatial_decomposition()\n File \"C:\\Users\\ketly\\AppData\\Roaming\\Blender Foundation\\Blender\\4.4\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\tool\\spatial.py\", line 502, in import_spatial_decomposition\n cls.import_spatial_element(tool.Ifc.get().by_type(\"IfcProject\")[0], 0)\n File \"C:\\Users\\ketly\\AppData\\Roaming\\Blender Foundation\\Blender\\4.4\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\tool\\spatial.py\", line 532, in import_spatial_element\n cls.import_spatial_element(child, level_index + 1)\n File \"C:\\Users\\ketly\\AppData\\Roaming\\Blender Foundation\\Blender\\4.4\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\tool\\spatial.py\", line 519, in import_spatial_element\n new.elevation = tool.Unit.format_distance(elevation_in_meters)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"C:\\Users\\ketly\\AppData\\Roaming\\Blender Foundation\\Blender\\4.4\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\tool\\unit.py\", line 57, in format_distance\n return helper.format_distance(\n ^^^^^^^^^^^^^^^^^^^^^^^\n File \"C:\\Users\\ketly\\AppData\\Roaming\\Blender Foundation\\Blender\\4.4\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\bim\\module\\drawing\\helper.py\", line 188, in format_distance\n unit_length = length_unit.Name.upper()\n ^^^^^^^^^^^^^^^^^^^^^^\nAttributeError: 'NoneType' object has no attribute 'upper'\nLocation: D:\\Arquivos de Programas\\Blender 4.4\\4.4\\scripts\\modules\\bpy\\ops.py:109\n\n\nblend_file_path: Not saved\nblend_file_dirty: N/A\nifc_file_path: D:/Users/ketly/Downloads/Modelos 3D/CHURRASQUEIRA TRIO.IFC\nifc_is_dirty: False\nifc: CHURRASQUEIRA TRIO.IFC\nschema: IFC2X3\npreprocessor_version: SwIFC\noriginating_system: SolidWorks 2019\n```\n\n### Attachments\n\n_No response_\n\n### Debug and Error Output\n\n```true\n\n```","author":{"url":"https://github.com/JetKet","@type":"Person","name":"JetKet"},"datePublished":"2026-07-23T12:45:40Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/8885"}
| 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:a083af78-d089-ceb2-824a-8d3c4887fe19 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9384:346BC8:6B9B3:9398D:6B04AAFC |
| html-safe-nonce | 5256a710201dcd79c1e86573b08472a348992f6147a0a988ab2f9eb870528a98 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5Mzg0OjM0NkJDODo2QjlCMzo5Mzk4RDo2QjA0QUFGQyIsInZpc2l0b3JfaWQiOiI0NzE2MjI3MzM2NjgzNjk0ODQ0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 3fd13ab057f2c285e1393ee9e9439fbed4260320445b52926eb9102d551999bd |
| hovercard-subject-tag | issue:4958935079 |
| 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/8885/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1989a14dc149d004f0b78657e84130a06e54d69197ad232ffebcd8448202b8f3/IfcOpenShell/IfcOpenShell/issues/8885 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1989a14dc149d004f0b78657e84130a06e54d69197ad232ffebcd8448202b8f3/IfcOpenShell/IfcOpenShell/issues/8885 |
| og:image:alt | Bug Description os: Windows os_version: 10.0.26100 python_version: 3.11.11 architecture: ('64bit', 'WindowsPE') machine: AMD64 processor: AMD64 Family 23 Model 113 Stepping 0, AuthenticAMD blender_... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | JetKet |
| hostname | github.com |
| expected-hostname | github.com |
| None | f1d110ea058a0915c1d8aa3fc2069fa15801e128f591e5762525abe77490ecb1 |
| 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 | ffa22a65e4c46d376940fe34b05e6a7e9c7fdb9b |
| ui-target | canary-2 |
| 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