Title: ifcStairs bug - RuntimeError: Unable to find keyword in schema: STRAIGHT · Issue #5869 · IfcOpenShell/IfcOpenShell · GitHub
Open Graph Title: ifcStairs bug - RuntimeError: Unable to find keyword in schema: STRAIGHT · Issue #5869 · IfcOpenShell/IfcOpenShell
X Title: ifcStairs bug - RuntimeError: Unable to find keyword in schema: STRAIGHT · Issue #5869 · IfcOpenShell/IfcOpenShell
Description: os: Linux os_version: #9-Ubuntu SMP PREEMPT_DYNAMIC Mon Oct 14 13:19:59 UTC 2024 python_version: 3.11.9 architecture: ('64bit', 'ELF') machine: x86_64 processor: x86_64 blender_version: 4.3.0 bonsai_version: 0.8.0 bonsai_commit_hash: Non...
Open Graph Description: os: Linux os_version: #9-Ubuntu SMP PREEMPT_DYNAMIC Mon Oct 14 13:19:59 UTC 2024 python_version: 3.11.9 architecture: ('64bit', 'ELF') machine: x86_64 processor: x86_64 blender_version: 4.3.0 bonsa...
X Description: os: Linux os_version: #9-Ubuntu SMP PREEMPT_DYNAMIC Mon Oct 14 13:19:59 UTC 2024 python_version: 3.11.9 architecture: ('64bit', 'ELF') machine: x86_64 processor: x86_64 blender_vers...
Opengraph URL: https://github.com/IfcOpenShell/IfcOpenShell/issues/5869
X: @github
Domain: github.com
IPv4 address: 140.82.112.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"ifcStairs bug - RuntimeError: Unable to find keyword in schema: STRAIGHT","articleBody":"```\r\nos: Linux\r\nos_version: #9-Ubuntu SMP PREEMPT_DYNAMIC Mon Oct 14 13:19:59 UTC 2024\r\npython_version: 3.11.9\r\narchitecture: ('64bit', 'ELF')\r\nmachine: x86_64\r\nprocessor: x86_64\r\nblender_version: 4.3.0\r\nbonsai_version: 0.8.0\r\nbonsai_commit_hash: None\r\nlast_actions: \r\n# operator: BIM_OT_enable_add_type\r\n# operator: BIM_OT_load_type_thumbnails\r\n# operator: BIM_OT_load_type_thumbnails\r\n# operator: BIM_OT_add_type\r\n# ifcopenshell.api: root.create_entity\r\n>>> {\"ifc_class\": \"IfcStairType\", \"predefined_type\": \"STRAIGHT_RUN_STAIR\", \"name\": \"ESCADAS 1\"}\r\n# ifcopenshell.api: owner.create_owner_history\r\n>>> {}\r\n# operator: BIM_OT_add_stair\r\n# ifcopenshell.api: pset.add_pset\r\n>>> {\"product\": {\"cast_type\": \"entity_instance\", \"value\": 1443, \"Name\": \"ESCADAS 1\"}, \"name\": \"BBIM_Stair\"}\r\n# ifcopenshell.api: owner.create_owner_history\r\n>>> {}\r\n# ifcopenshell.api: pset.edit_pset\r\n>>> {\"pset\": {\"cast_type\": \"entity_instance\", \"value\": 1444, \"Name\": \"BBIM_Stair\"}, \"properties\": \"{'Data': IfcText('{\\\"stair_type\\\": \\\"CONCRETE\\\", \\\"width\\\": 1.2000000476837158, \\\"height\\\": 1.0, \\\"number_of_treads\\\": 6, \\\"tread_run\\\": 0.30000001192092896, \\\"nosing_length\\\": 0.0, \\\"nosing_depth\\\": 0.0, \\\"base_slab_depth\\\": 0.25, \\\"top_slab_depth\\\": 0.25, \\\"has_top_nib\\\": true, \\\"tread_depth\\\": 0.25, \\\"custom_first_last_tread_run\\\": [0.0, 0.0]}')}\"}\r\nlast_error: Traceback (most recent call last):\r\n File \"/home/paulo/.config/blender/4.3/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 \"/home/paulo/.config/blender/4.3/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 \"/snap/blender/5562/4.3/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 \"/home/paulo/.config/blender/4.3/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 \"/home/paulo/.config/blender/4.3/extensions/.local/lib/python3.11/site-packages/bonsai/bim/module/model/stair.py\", line 221, in _execute\r\n update_ifc_stair_props(obj)\r\n File \"/home/paulo/.config/blender/4.3/extensions/.local/lib/python3.11/site-packages/bonsai/bim/module/model/stair.py\", line 97, in update_ifc_stair_props\r\n element.PredefinedType = \"STRAIGHT\"\r\n ^^^^^^^^^^^^^^^^^^^^^^\r\n File \"/home/paulo/.config/blender/4.3/extensions/.local/lib/python3.11/site-packages/ifcopenshell/entity_instance.py\", line 325, in __setattr__\r\n self[index] = value\r\n ~~~~^^^^^^^\r\n File \"/home/paulo/.config/blender/4.3/extensions/.local/lib/python3.11/site-packages/ifcopenshell/entity_instance.py\", line 361, in __setitem__\r\n self.method_list[idx](self.wrapped_data, idx, entity_instance.unwrap_value(value))\r\n File \"/home/paulo/.config/blender/4.3/extensions/.local/lib/python3.11/site-packages/ifcopenshell/ifcopenshell_wrapper.py\", line 6583, in setArgumentAsString\r\n return _ifcopenshell_wrapper.entity_instance_setArgumentAsString(self, i, a)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\nRuntimeError: Unable to find keyword in schema: STRAIGHT\r\nLocation: /snap/blender/5562/4.3/scripts/modules/bpy/ops.py:109\r\n\r\n\r\nifc: TESTE 2.ifc\r\nschema: IFC4\r\npreprocessor_version: IfcOpenShell 0.8.0\r\noriginating_system: Bonsai 0.8.0\r\n\r\nDoes someone know how to fix this issue?\r\nThank you\r\n```","author":{"url":"https://github.com/imparpaulo","@type":"Person","name":"imparpaulo"},"datePublished":"2024-12-10T17:01:30Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/5869"}
| 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:425f9b9c-c65c-e24a-c369-889ff2b3ef2e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 815A:29CED8:5F3C72:86AF0D:6B04775C |
| html-safe-nonce | 112ab8cac28a64b4f4c2084f4e6689764e812067045947b7248a58d3156f2cd7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MTVBOjI5Q0VEODo1RjNDNzI6ODZBRjBEOjZCMDQ3NzVDIiwidmlzaXRvcl9pZCI6IjYwOTY4NTI2MjI3NTE1OTQzMzIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 93121633adc7bee17c1e7c00097f34d46aeadb60d1357fb080de498f3fb350ae |
| hovercard-subject-tag | issue:2730679819 |
| 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/5869/issue_layout |
| twitter:image | https://opengraph.githubassets.com/074a00d9d5a4d814094fb2d6640344546bbbc4e97d8c8c36701209fcf0fea5e4/IfcOpenShell/IfcOpenShell/issues/5869 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/074a00d9d5a4d814094fb2d6640344546bbbc4e97d8c8c36701209fcf0fea5e4/IfcOpenShell/IfcOpenShell/issues/5869 |
| og:image:alt | os: Linux os_version: #9-Ubuntu SMP PREEMPT_DYNAMIC Mon Oct 14 13:19:59 UTC 2024 python_version: 3.11.9 architecture: ('64bit', 'ELF') machine: x86_64 processor: x86_64 blender_version: 4.3.0 bonsa... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | imparpaulo |
| 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