Title: Bonsai error · Issue #10063 · IfcOpenShell/IfcOpenShell · GitHub
Open Graph Title: Bonsai error · Issue #10063 · IfcOpenShell/IfcOpenShell
X Title: Bonsai error · Issue #10063 · IfcOpenShell/IfcOpenShell
Description: Bug Description os: Darwin os_version: Darwin Kernel Version 22.6.0: Tue Jul 15 08:22:28 PDT 2025; root:xnu-8796.141.3.713.2~2/RELEASE_X86_64 python_version: 3.11.15 architecture: ('64bit', '') machine: x86_64 processor: i386 blender_ver...
Open Graph Description: Bug Description os: Darwin os_version: Darwin Kernel Version 22.6.0: Tue Jul 15 08:22:28 PDT 2025; root:xnu-8796.141.3.713.2~2/RELEASE_X86_64 python_version: 3.11.15 architecture: ('64bit', '') mac...
X Description: Bug Description os: Darwin os_version: Darwin Kernel Version 22.6.0: Tue Jul 15 08:22:28 PDT 2025; root:xnu-8796.141.3.713.2~2/RELEASE_X86_64 python_version: 3.11.15 architecture: ('64bit',...
Opengraph URL: https://github.com/IfcOpenShell/IfcOpenShell/issues/10063
X: @github
Domain: github.com
IPv4 address: 140.82.112.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Bonsai error","articleBody":"### Bug Description\n\n```\nos: Darwin\nos_version: Darwin Kernel Version 22.6.0: Tue Jul 15 08:22:28 PDT 2025; root:xnu-8796.141.3.713.2~2/RELEASE_X86_64\npython_version: 3.11.15\narchitecture: ('64bit', '')\nmachine: x86_64\nprocessor: i386\nblender_version: 4.5.13 LTS\nbonsai_version: 0.8.5-post1\nbonsai_commit_hash: None\nbonsai_commit_date: None\nbonsai_git_branch: None\nlast_actions: \n# ifcopenshell.api: style.assign_item_style\n>>> {\"item\": {\"cast_type\": \"entity_instance\", \"value\": 14526, \"Name\": null}, \"style\": {\"cast_type\": \"entity_instance\", \"value\": 4993, \"Name\": \"D\\u00e9clin pin blanc\"}}\n# ifcopenshell.api: geometry.remove_representation\n>>> {\"representation\": {\"cast_type\": \"entity_instance\", \"value\": 13251, \"Name\": null}}\n# operator: BIM_OT_save_project\n# ifcopenshell.api: style.add_style\n>>> {\"name\": \"Soffite blanche\"}\n# ifcopenshell.api: style.add_surface_style\n>>> {\"style\": {\"cast_type\": \"entity_instance\", \"value\": 14529, \"Name\": \"Soffite blanche\"}, \"ifc_class\": \"IfcSurfaceStyleRendering\", \"attributes\": \"{'SurfaceColour': {'Name': None, 'Red': 0.9114, 'Green': 0.9114, 'Blue': 0.8689}, 'DiffuseColour': {'Name': None, 'Red': 0.9114, 'Green': 0.9114, 'Blue': 0.8689}, 'Transparency': 0.0, 'ReflectanceMethod': 'NOTDEFINED'}\"}\n# ifcopenshell.api: style.edit_surface_style\n>>> {\"style\": {\"cast_type\": \"entity_instance\", \"value\": 14530, \"Name\": null}, \"attributes\": \"{'SurfaceColour': {'Name': None, 'Red': 0.9114, 'Green': 0.9114, 'Blue': 0.8689}, 'DiffuseColour': {'Name': None, 'Red': 0.9114, 'Green': 0.9114, 'Blue': 0.8689}, 'Transparency': 0.0, 'ReflectanceMethod': 'NOTDEFINED'}\"}\n# ifcopenshell.api: material.add_material\n>>> {\"name\": \"Soffite en pin blanc, peinte blanche\", \"category\": \"wood\"}\n# ifcopenshell.api: style.assign_material_style\n>>> {\"material\": {\"cast_type\": \"entity_instance\", \"value\": 14533, \"Name\": \"Soffite en pin blanc, peinte blanche\"}, \"style\": {\"cast_type\": \"entity_instance\", \"value\": 14529, \"Name\": \"Soffite blanche\"}, \"context\": {\"cast_type\": \"entity_instance\", \"value\": 28, \"Name\": null}}\n# ifcopenshell.api: style.assign_item_style\n>>> {\"item\": {\"cast_type\": \"entity_instance\", \"value\": 14556, \"Name\": null}, \"style\": {\"cast_type\": \"entity_instance\", \"value\": 14529, \"Name\": \"Soffite blanche\"}}\n# ifcopenshell.api: geometry.remove_representation\n>>> {\"representation\": {\"cast_type\": \"entity_instance\", \"value\": 13844, \"Name\": null}}\n# ifcopenshell.api: material.assign_material\n>>> {\"products\": [{\"cast_type\": \"entity_instance\", \"value\": 13834, \"Name\": \"Soffite avant\"}], \"type\": \"IfcMaterial\", \"material\": {\"cast_type\": \"entity_instance\", \"value\": 14533, \"Name\": \"Soffite en pin blanc, peinte blanche\"}}\n# ifcopenshell.api: material.unassign_material\n>>> {\"products\": [{\"cast_type\": \"entity_instance\", \"value\": 13834, \"Name\": \"Soffite avant\"}]}\n# ifcopenshell.api: owner.update_owner_history\n>>> {\"element\": {\"cast_type\": \"entity_instance\", \"value\": 13856, \"Name\": null}}\n# ifcopenshell.api: owner.create_owner_history\n>>> {}\n# ifcopenshell.api: style.assign_item_style\n>>> {\"item\": {\"cast_type\": \"entity_instance\", \"value\": 14579, \"Name\": null}, \"style\": {\"cast_type\": \"entity_instance\", \"value\": 14529, \"Name\": \"Soffite blanche\"}}\n# ifcopenshell.api: geometry.remove_representation\n>>> {\"representation\": {\"cast_type\": \"entity_instance\", \"value\": 13867, \"Name\": null}}\n# ifcopenshell.api: material.assign_material\n>>> {\"products\": [{\"cast_type\": \"entity_instance\", \"value\": 13857, \"Name\": \"Soffite arri\\u00e8re\"}], \"type\": \"IfcMaterial\", \"material\": {\"cast_type\": \"entity_instance\", \"value\": 14533, \"Name\": \"Soffite en pin blanc, peinte blanche\"}}\n# ifcopenshell.api: material.unassign_material\n>>> {\"products\": [{\"cast_type\": \"entity_instance\", \"value\": 13857, \"Name\": \"Soffite arri\\u00e8re\"}]}\n# ifcopenshell.api: owner.update_owner_history\n>>> {\"element\": {\"cast_type\": \"entity_instance\", \"value\": 14559, \"Name\": null}}\n# operator: BIM_OT_save_project\nlast_error: Traceback (most recent call last):\n File \"/Users/pecot/Library/Application Support/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 \"/Users/pecot/Library/Application Support/Blender/4.5/extensions/.local/lib/python3.11/site-packages/bonsai/bim/module/project/operator.py\", line 1980, in _execute\n ifc_exporter.export()\n File \"/Users/pecot/Library/Application Support/Blender/4.5/extensions/.local/lib/python3.11/site-packages/bonsai/bim/export_ifc.py\", line 47, in export\n self.sync_all_objects()\n File \"/Users/pecot/Library/Application Support/Blender/4.5/extensions/.local/lib/python3.11/site-packages/bonsai/bim/export_ifc.py\", line 91, in sync_all_objects\n result = self.sync_object_placement(obj)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/Users/pecot/Library/Application Support/Blender/4.5/extensions/.local/lib/python3.11/site-packages/bonsai/bim/export_ifc.py\", line 101, in sync_object_placement\n element = self.file.by_id(tool.Blender.get_object_bim_props(obj).ifc_definition_id)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/Users/pecot/Library/Application Support/Blender/4.5/extensions/.local/lib/python3.11/site-packages/ifcopenshell/file.py\", line 836, in by_id\n return self[id]\n ~~~~^^^^\n File \"/Users/pecot/Library/Application Support/Blender/4.5/extensions/.local/lib/python3.11/site-packages/ifcopenshell/file.py\", line 823, in __getitem__\n return entity_instance(self.wrapped_data.by_id(key), self)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/Users/pecot/Library/Application Support/Blender/4.5/extensions/.local/lib/python3.11/site-packages/ifcopenshell/ifcopenshell_wrapper.py\", line 5848, in by_id\n return _ifcopenshell_wrapper.file_by_id(self, id)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nRuntimeError: Instance #7548 not found\n\nblend_file_path: Not saved\nblend_file_dirty: N/A\nifc_file_path: /Users/pecot/Google Drive/_290-rue-Lavigueur_E2026/Blender-Bonsai_dossier/cabane/cabane_261022.ifc\nifc_is_dirty: False\nifc: cabane_261022.ifc\nschema: IFC4\npreprocessor_version: IfcOpenShell 0.8.5-post1\noriginating_system: Bonsai 0.8.5-post1\n```\n\n### Attachments\n\n_No response_\n\n### Debug and Error Output\n\n```true\n\n```","author":{"url":"https://github.com/pecot","@type":"Person","name":"pecot"},"datePublished":"2026-10-26T15:05:13Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/10063"}
| 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:f441526c-c8ac-bdaf-57d7-a2e50e028bdd |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D352:287DC1:17B812:21A43D:6B046680 |
| html-safe-nonce | 19eb3f72393018c7c91016ff37b66df9964998bb0c7d83d218e67d001072081f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMzUyOjI4N0RDMToxN0I4MTI6MjFBNDNEOjZCMDQ2NjgwIiwidmlzaXRvcl9pZCI6Ijc5MDM4NzQwNDU2OTM5NDU0NzIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 44130190e4c9e45b4130ee1202142f5ffc5c38d552741724b4fc1fc2664e8b6f |
| hovercard-subject-tag | issue:6042372200 |
| 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/10063/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ad94c88a159bcb0a89d4aebe2800161def40109df8036bc32a08cf94df0f6b79/IfcOpenShell/IfcOpenShell/issues/10063 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ad94c88a159bcb0a89d4aebe2800161def40109df8036bc32a08cf94df0f6b79/IfcOpenShell/IfcOpenShell/issues/10063 |
| og:image:alt | Bug Description os: Darwin os_version: Darwin Kernel Version 22.6.0: Tue Jul 15 08:22:28 PDT 2025; root:xnu-8796.141.3.713.2~2/RELEASE_X86_64 python_version: 3.11.15 architecture: ('64bit', '') mac... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | pecot |
| hostname | github.com |
| expected-hostname | github.com |
| None | 83e4c0e58c5162177f3c161c5fbad38527ae04c11ac14980f9f9d85ae2027b1f |
| 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 | ca4d07a7cef4e4b75f821dc25e7300d80c1450a9 |
| 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