Title: Some errors with pipe segments · Issue #6249 · IfcOpenShell/IfcOpenShell · GitHub
Open Graph Title: Some errors with pipe segments · Issue #6249 · IfcOpenShell/IfcOpenShell
X Title: Some errors with pipe segments · Issue #6249 · IfcOpenShell/IfcOpenShell
Description: I know pipe segments are still under development, so ignore if this is already known. The error comes at the end of the video, but there's some UI glitches shown here too--in terms of having to flip pipes, etc. 20250228_1259.mp4 Python: ...
Open Graph Description: I know pipe segments are still under development, so ignore if this is already known. The error comes at the end of the video, but there's some UI glitches shown here too--in terms of having to fli...
X Description: I know pipe segments are still under development, so ignore if this is already known. The error comes at the end of the video, but there's some UI glitches shown here too--in terms of having to...
Opengraph URL: https://github.com/IfcOpenShell/IfcOpenShell/issues/6249
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Some errors with pipe segments","articleBody":"\nI know pipe segments are still under development, so ignore if this is already known. \n\nThe error comes at the end of the video, but there's some UI glitches shown here too--in terms of having to flip pipes, etc. \n\n\nhttps://github.com/user-attachments/assets/9b3c5ee7-f250-44df-9f19-d323bee9751f\n\n```\nPython: Traceback (most recent call last):\n File \"C:\\Users\\Ryan Schultz\\AppData\\Roaming\\Blender Foundation\\Blender\\4.2\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\bim\\ifc.py\", line 452, in execute_ifc_operator\n result = getattr(operator, \"_execute\")(context)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"C:\\Users\\Ryan Schultz\\AppData\\Roaming\\Blender Foundation\\Blender\\4.2\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\bim\\module\\model\\workspace.py\", line 1080, in _execute\n getattr(self, f\"hotkey_{self.hotkey}\")()\n File \"C:\\Users\\Ryan Schultz\\AppData\\Roaming\\Blender Foundation\\Blender\\4.2\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\bim\\module\\model\\workspace.py\", line 1368, in hotkey_S_Y\n bpy.ops.bim.fit_flow_segments()\n File \"C:\\Program Files\\Blender Foundation\\Blender 4.2\\4.2\\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\\Ryan Schultz\\AppData\\Roaming\\Blender Foundation\\Blender\\4.2\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\bim\\ifc.py\", line 452, in execute_ifc_operator\n result = getattr(operator, \"_execute\")(context)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"C:\\Users\\Ryan Schultz\\AppData\\Roaming\\Blender Foundation\\Blender\\4.2\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\bim\\module\\model\\mep.py\", line 202, in _execute\n bpy.ops.bim.mep_add_bend()\n File \"C:\\Program Files\\Blender Foundation\\Blender 4.2\\4.2\\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\\Ryan Schultz\\AppData\\Roaming\\Blender Foundation\\Blender\\4.2\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\bim\\ifc.py\", line 452, in execute_ifc_operator\n result = getattr(operator, \"_execute\")(context)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"C:\\Users\\Ryan Schultz\\AppData\\Roaming\\Blender Foundation\\Blender\\4.2\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\bim\\module\\model\\mep.py\", line 1164, in _execute\n fitting_data = MEPGenerator().get_compatible_fitting_type(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"C:\\Users\\Ryan Schultz\\AppData\\Roaming\\Blender Foundation\\Blender\\4.2\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\bim\\module\\model\\mep.py\", line 515, in get_compatible_fitting_type\n return pack_return_data(fitting_type, ports, segments_data)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"C:\\Users\\Ryan Schultz\\AppData\\Roaming\\Blender Foundation\\Blender\\4.2\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\bim\\module\\model\\mep.py\", line 472, in pack_return_data\n connected_port = tool.System.get_connected_port(start_port)\n ^^^^^^^^^^\nUnboundLocalError: cannot access local variable 'start_port' where it is not associated with a value\nLocation: C:\\Program Files\\Blender Foundation\\Blender 4.2\\4.2\\scripts\\modules\\bpy\\ops.py:109\nLocation: C:\\Program Files\\Blender Foundation\\Blender 4.2\\4.2\\scripts\\modules\\bpy\\ops.py:109\n\n```","author":{"url":"https://github.com/theoryshaw","@type":"Person","name":"theoryshaw"},"datePublished":"2025-02-28T19:04:34Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/6249"}
| 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:c2f3667f-5f26-b59b-4e69-40ab9583e3c3 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DEBE:AF089:815677:AE143D:6B04AA4A |
| html-safe-nonce | a73f994e7bdb1ad0fd00039e00bbbbd01a940238cdf0daae5a62ee17624206ce |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERUJFOkFGMDg5OjgxNTY3NzpBRTE0M0Q6NkIwNEFBNEEiLCJ2aXNpdG9yX2lkIjoiMTk3NTIzMzkwMDQ5MDA0MTkzMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | cc4eaa2fd9ea77fe0d5ac3dd18ef7099a922e70b353ae36c61353f26e990bc6f |
| hovercard-subject-tag | issue:2887879062 |
| 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/6249/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d0f8e122ab20049dd7bef94386c80e5068b1b269120b218d0932a01a1390654c/IfcOpenShell/IfcOpenShell/issues/6249 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d0f8e122ab20049dd7bef94386c80e5068b1b269120b218d0932a01a1390654c/IfcOpenShell/IfcOpenShell/issues/6249 |
| og:image:alt | I know pipe segments are still under development, so ignore if this is already known. The error comes at the end of the video, but there's some UI glitches shown here too--in terms of having to fli... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | theoryshaw |
| 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