Title: Error Stair Type Add · Issue #5261 · IfcOpenShell/IfcOpenShell · GitHub
Open Graph Title: Error Stair Type Add · Issue #5261 · IfcOpenShell/IfcOpenShell
X Title: Error Stair Type Add · Issue #5261 · IfcOpenShell/IfcOpenShell
Description: I seem to get an error when I try to add IfcStair Type. The following is the Log. There is an error from a new blank IFC4x3, but I will add the steps if necessary. os: Windows os_version: 10.0.22631 python_version: 3.11.7 architecture: (...
Open Graph Description: I seem to get an error when I try to add IfcStair Type. The following is the Log. There is an error from a new blank IFC4x3, but I will add the steps if necessary. os: Windows os_version: 10.0.2263...
X Description: I seem to get an error when I try to add IfcStair Type. The following is the Log. There is an error from a new blank IFC4x3, but I will add the steps if necessary. os: Windows os_version: 10.0.2263...
Opengraph URL: https://github.com/IfcOpenShell/IfcOpenShell/issues/5261
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Error Stair Type Add","articleBody":"I seem to get an error when I try to add IfcStair Type. The following is the Log. There is an error from a new blank IFC4x3, but I will add the steps if necessary.\r\n\r\n```\r\nos: Windows\r\nos_version: 10.0.22631\r\npython_version: 3.11.7\r\narchitecture: ('64bit', 'WindowsPE')\r\nmachine: AMD64\r\nprocessor: AMD64 Family 25 Model 33 Stepping 2, AuthenticAMD\r\nblender_version: 4.2.1 LTS\r\nbonsai_version: 0.7.11-alpha240830\r\nbonsai_commit_hash: b4b2b60\r\nlast_actions: \r\n# ifcopenshell.api: aggregate.assign_object\r\n>>> {\"products\": [{\"cast_type\": \"entity_instance\", \"value\": 42, \"Name\": \"My Storey\"}], \"relating_object\": {\"cast_type\": \"entity_instance\", \"value\": 36, \"Name\": \"My Building\"}}\r\n# ifcopenshell.api: spatial.unassign_container\r\n>>> {\"products\": \"[]\"}\r\n# ifcopenshell.api: owner.create_owner_history\r\n>>> {}\r\n# ifcopenshell.api: geometry.edit_object_placement\r\n>>> {\"product\": {\"cast_type\": \"entity_instance\", \"value\": 42, \"Name\": \"My Storey\"}, \"matrix\": {\"cast_type\": \"ndarray\", \"value\": [[1.0, 0.0, 0.0, 0.0], [0.0, 1.0, 0.0, 0.0], [0.0, 0.0, 1.0, 0.0], [0.0, 0.0, 0.0, 1.0]]}, \"is_si\": \"False\"}\r\n# ifcopenshell.api: owner.update_owner_history\r\n>>> {\"element\": {\"cast_type\": \"entity_instance\", \"value\": 42, \"Name\": \"My Storey\"}}\r\n# operator: BIM_OT_enable_add_type\r\n# operator: BIM_OT_add_type\r\n# ifcopenshell.api: root.create_entity\r\n>>> {\"ifc_class\": \"IfcStairType\", \"predefined_type\": \"QUARTER_TURN_STAIR\", \"name\": \"TYPEX\"}\r\n# ifcopenshell.api: owner.create_owner_history\r\n>>> {}\r\n# operator: BIM_OT_add_stair\r\nlast_error: Traceback (most recent call last):\r\n File \"C:\\Users\\Owner\\AppData\\Roaming\\Blender Foundation\\Blender\\4.2\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\bim\\ifc.py\", line 408, in execute_ifc_operator\r\n result = getattr(operator, \"_execute\")(context)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File \"C:\\Users\\Owner\\AppData\\Roaming\\Blender Foundation\\Blender\\4.2\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\bim\\module\\type\\operator.py\", line 448, in _execute\r\n bpy.ops.bim.add_stair()\r\n File \"C:\\Program Files (x86)\\Steam\\steamapps\\common\\Blender\\4.2\\scripts\\modules\\bpy\\ops.py\", line 109, in __call__\r\n ret = _op_call(self.idname_py(), kw)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\nRuntimeError: Error: Python: Traceback (most recent call last):\r\n File \"C:\\Users\\Owner\\AppData\\Roaming\\Blender Foundation\\Blender\\4.2\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\bim\\ifc.py\", line 408, in execute_ifc_operator\r\n result = getattr(operator, \"_execute\")(context)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File \"C:\\Users\\Owner\\AppData\\Roaming\\Blender Foundation\\Blender\\4.2\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\bim\\module\\model\\stair.py\", line 206, in _execute\r\n props = obj.BIMStairProperties\r\n ^^^^^^^^^^^^^^^^^^^^^^\r\nAttributeError: 'NoneType' object has no attribute 'BIMStairProperties'\r\nLocation: C:\\Program Files (x86)\\Steam\\steamapps\\common\\Blender\\4.2\\scripts\\modules\\bpy\\ops.py:109\r\n\r\n\r\nifc: Unsaved\r\nschema: IFC4X3\r\npreprocessor_version: IfcOpenShell 0.7.11-alpha240830\r\noriginating_system: IfcOpenShell 0.7.11-alpha240830\r\n```","author":{"url":"https://github.com/S59-Koara","@type":"Person","name":"S59-Koara"},"datePublished":"2024-08-30T12:36:07Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/5261"}
| 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:451d9b67-91a9-5bc6-db18-b514f666ef8a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A412:2041A7:74BEB6:9F9288:6B0479B9 |
| html-safe-nonce | 35e60037833780a3c2ec3ef676c2de2bbf01a2455904a63f3e6a51731bc7d5ba |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNDEyOjIwNDFBNzo3NEJFQjY6OUY5Mjg4OjZCMDQ3OUI5IiwidmlzaXRvcl9pZCI6IjY3ODQ5MjMxOTQwNzI3OTE0ODEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | c8df386c7a955c210ef51e3fb6b1de990c6f4d924513a8c449e0da3f4c2050a0 |
| hovercard-subject-tag | issue:2497114924 |
| 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/5261/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0dd37eeee363ffcb390624263c94f8a555cfcfac4c80d568f73dd3bf08165de2/IfcOpenShell/IfcOpenShell/issues/5261 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0dd37eeee363ffcb390624263c94f8a555cfcfac4c80d568f73dd3bf08165de2/IfcOpenShell/IfcOpenShell/issues/5261 |
| og:image:alt | I seem to get an error when I try to add IfcStair Type. The following is the Log. There is an error from a new blank IFC4x3, but I will add the steps if necessary. os: Windows os_version: 10.0.2263... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | S59-Koara |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9c099f1b85def81ca352464c276510dfef32deaf3c305404e65b8d270284a58b |
| 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 | cf73f57448d52b3a7b619195e182b33d3b3454ca |
| 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