Title: Pipe or duct bend edit problem · Issue #6393 · IfcOpenShell/IfcOpenShell · GitHub
Open Graph Title: Pipe or duct bend edit problem · Issue #6393 · IfcOpenShell/IfcOpenShell
X Title: Pipe or duct bend edit problem · Issue #6393 · IfcOpenShell/IfcOpenShell
Description: adding a bend to a pipe of a duct works as expected, then I try to edit either the start/end lengths or the radius of the bend then Blender/Bonsai stops working and a Bonsai Red error appears. Please see GIF and WARN (bpy.rna): C:\Users\...
Open Graph Description: adding a bend to a pipe of a duct works as expected, then I try to edit either the start/end lengths or the radius of the bend then Blender/Bonsai stops working and a Bonsai Red error appears. Plea...
X Description: adding a bend to a pipe of a duct works as expected, then I try to edit either the start/end lengths or the radius of the bend then Blender/Bonsai stops working and a Bonsai Red error appears. Plea...
Opengraph URL: https://github.com/IfcOpenShell/IfcOpenShell/issues/6393
X: @github
Domain: github.com
IPv4 address: 140.82.113.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Pipe or duct bend edit problem","articleBody":"adding a bend to a pipe of a duct works as expected, then I try to edit either the start/end lengths or the radius of the bend then Blender/Bonsai stops working and a Bonsai Red error appears. Please see GIF and \n\n\n\n```python\nWARN (bpy.rna): C:\\Users\\blender\\git\\blender-v430\\blender.git\\source\\blender\\python\\intern\\bpy_rna.cc:1373 pyrna_enum_to_py: current value '6' matches no enum in 'BIMRootProperties', '', 'ifc_predefined_type'\nInfo: Success!.. kind of. The angle was 90\nTraceback (most recent call last):\n File \"\\AppData\\Roaming\\Blender Foundation\\Blender\\4.3\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\tool\\ifc.py\", line 316, in execute\n IfcStore.execute_ifc_operator(self, context)\n File \"\\AppData\\Roaming\\Blender Foundation\\Blender\\4.3\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\bim\\ifc.py\", line 458, in execute_ifc_operator\n result = getattr(operator, \"_execute\")(context)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"\\AppData\\Roaming\\Blender Foundation\\Blender\\4.3\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\bim\\module\\model\\mep.py\", line 998, in _execute\n segments_intersection_ws = tool.Cad.intersect_edges(\n ^^^^^^^^^^^^^^^^^^^^^^^^^\nTypeError: 'NoneType' object is not subscriptable\nError: Python: Traceback (most recent call last):\n File \"\\AppData\\Roaming\\Blender Foundation\\Blender\\4.3\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\bim\\ifc.py\", line 458, in execute_ifc_operator\n result = getattr(operator, \"_execute\")(context)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"\\AppData\\Roaming\\Blender Foundation\\Blender\\4.3\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\bim\\module\\model\\mep.py\", line 998, in _execute\n segments_intersection_ws = tool.Cad.intersect_edges(\n ^^^^^^^^^^^^^^^^^^^^^^^^^\nTypeError: 'NoneType' object is not subscriptable\nTraceback (most recent call last):\n File \"\\AppData\\Roaming\\Blender Foundation\\Blender\\4.3\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\tool\\ifc.py\", line 316, in execute\n IfcStore.execute_ifc_operator(self, context)\n File \"\\AppData\\Roaming\\Blender Foundation\\Blender\\4.3\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\bim\\ifc.py\", line 458, in execute_ifc_operator\n result = getattr(operator, \"_execute\")(context)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"\\AppData\\Roaming\\Blender Foundation\\Blender\\4.3\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\bim\\module\\model\\mep.py\", line 998, in _execute\n segments_intersection_ws = tool.Cad.intersect_edges(\n ^^^^^^^^^^^^^^^^^^^^^^^^^\nTypeError: 'NoneType' object is not subscriptable\nError: Python: Traceback (most recent call last):\n File \"\\AppData\\Roaming\\Blender Foundation\\Blender\\4.3\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\bim\\ifc.py\", line 458, in execute_ifc_operator\n result = getattr(operator, \"_execute\")(context)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"\\AppData\\Roaming\\Blender Foundation\\Blender\\4.3\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\bim\\module\\model\\mep.py\", line 998, in _execute\n segments_intersection_ws = tool.Cad.intersect_edges(\n ^^^^^^^^^^^^^^^^^^^^^^^^^\nTypeError: 'NoneType' object is not subscriptable\nTraceback (most recent call last):\n File \"\\AppData\\Roaming\\Blender Foundation\\Blender\\4.3\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\bim\\module\\debug\\operator.py\", line 51, in execute\n info = get_debug_info()\n ^^^^^^^^^^^^^^^^\n File \"\\AppData\\Roaming\\Blender Foundation\\Blender\\4.3\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\__init__.py\", line 99, in get_debug_info\n \"bonsai_commit_date\": last_commit_date,\n ^^^^^^^^^^^^^^^^\nNameError: name 'last_commit_date' is not defined. Did you mean: 'last_commit_hash'?\nError: Python: Traceback (most recent call last):\n File \"\\AppData\\Roaming\\Blender Foundation\\Blender\\4.3\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\bim\\module\\debug\\operator.py\", line 51, in execute\n info = get_debug_info()\n ^^^^^^^^^^^^^^^^\n File \"\\AppData\\Roaming\\Blender Foundation\\Blender\\4.3\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\__init__.py\", line 99, in get_debug_info\n \"bonsai_commit_date\": last_commit_date,\n ^^^^^^^^^^^^^^^^\nNameError: name 'last_commit_date' is not defined. Did you mean: 'last_commit_hash'?\nTraceback (most recent call last):\n File \"\\AppData\\Roaming\\Blender Foundation\\Blender\\4.3\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\bim\\module\\debug\\operator.py\", line 51, in execute\n info = get_debug_info()\n ^^^^^^^^^^^^^^^^\n File \"\\AppData\\Roaming\\Blender Foundation\\Blender\\4.3\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\__init__.py\", line 99, in get_debug_info\n \"bonsai_commit_date\": last_commit_date,\n ^^^^^^^^^^^^^^^^\nNameError: name 'last_commit_date' is not defined. Did you mean: 'last_commit_hash'?\nError: Python: Traceback (most recent call last):\n File \"\\AppData\\Roaming\\Blender Foundation\\Blender\\4.3\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\bim\\module\\debug\\operator.py\", line 51, in execute\n info = get_debug_info()\n ^^^^^^^^^^^^^^^^\n File \"\\AppData\\Roaming\\Blender Foundation\\Blender\\4.3\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\__init__.py\", line 99, in get_debug_info\n \"bonsai_commit_date\": last_commit_date,\n ^^^^^^^^^^^^^^^^\nNameError: name 'last_commit_date' is not defined. Did you mean: 'last_commit_hash'?\n```","author":{"url":"https://github.com/4nigel","@type":"Person","name":"4nigel"},"datePublished":"2025-03-18T23:35:41Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/6393"}
| 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:7d80bf4f-481f-d8fa-ff0e-1fa5b0035f5f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BFFE:10C567:6696BC:8D961F:6B04A739 |
| html-safe-nonce | cb57d68153e3cf5602f91a81c5c0b30cc25ca72b8a99b894039a96edd0bbeeef |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRkZFOjEwQzU2Nzo2Njk2QkM6OEQ5NjFGOjZCMDRBNzM5IiwidmlzaXRvcl9pZCI6IjY2OTU0Nzc4MTE0ODQwNzU4MzMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 26e72fe61c33b942d798bdb1bea15eb7139be046e5bd43b6f8ded3af2c43229a |
| hovercard-subject-tag | issue:2930068766 |
| 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/6393/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a20688731f057468cab44fcb7d675d00cdea92397f8d90ff210e69f25008632d/IfcOpenShell/IfcOpenShell/issues/6393 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a20688731f057468cab44fcb7d675d00cdea92397f8d90ff210e69f25008632d/IfcOpenShell/IfcOpenShell/issues/6393 |
| og:image:alt | adding a bend to a pipe of a duct works as expected, then I try to edit either the start/end lengths or the radius of the bend then Blender/Bonsai stops working and a Bonsai Red error appears. Plea... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | 4nigel |
| hostname | github.com |
| expected-hostname | github.com |
| None | 188497a0f45a7aa8f7c866faa1950d1a7f8d82b59416adf549b222ad1d1dd19b |
| 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 | 557cfbac6cdb532730c95c90f2cefdc0c4128029 |
| 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