Title: Layer orientation in a wall changes if occurrence overridden · Issue #7794 · IfcOpenShell/IfcOpenShell · GitHub
Open Graph Title: Layer orientation in a wall changes if occurrence overridden · Issue #7794 · IfcOpenShell/IfcOpenShell
X Title: Layer orientation in a wall changes if occurrence overridden · Issue #7794 · IfcOpenShell/IfcOpenShell
Description: Bug Description For a wall the layers change from vertical to horizontal if you override the inherited material. Create a standard demo file. Create a named MaterialLayerSet with multiple layers and assign styles so they can be distingui...
Open Graph Description: Bug Description For a wall the layers change from vertical to horizontal if you override the inherited material. Create a standard demo file. Create a named MaterialLayerSet with multiple layers an...
X Description: Bug Description For a wall the layers change from vertical to horizontal if you override the inherited material. Create a standard demo file. Create a named MaterialLayerSet with multiple layers an...
Opengraph URL: https://github.com/IfcOpenShell/IfcOpenShell/issues/7794
X: @github
Domain: github.com
IPv4 address: 140.82.113.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Layer orientation in a wall changes if occurrence overridden","articleBody":"### Bug Description\n\nFor a wall the layers change from vertical to horizontal if you override the inherited material.\n\n1. Create a standard demo file.\n2. Create a named MaterialLayerSet with multiple layers and assign styles so they can be distinguished.\n3. Make the IfcTypeProducts visible, select WAL300 and assign the named MaterialLayerSet to it. (No geom, so nothing to see.) Now hide the IfcTypeProducts again.\n4. Add an IfcWall of type WAL300. You should see that the wall has vertically orientated layers, and it is marked \"Inherited Material: [Name]\".\n5. Now select the wall, and assign the named MaterialLayerSet to it. This will now be marked \"Inherited Material Is Occurrence Overridden\", and the layers are now horizontally orientated starting at the bottom of the wall.\n6. It doesn't actually need to be the same material. In fact the wall can be unlayered completely. Just using the occurrence override causes the horizontal layers.\n7. In addition, deleting the override with the X button reverts to \"Inherited Material: [Name]\" but does _not_ fix the orientation.\n\n### Attachments\n\n\u003cimg width=\"1850\" height=\"1173\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/52ec6bbf-a38c-4967-b369-af8b0d370253\" />\n\n### Debug and Error Output\n\n```true\nos: Linux\nos_version: #178-Ubuntu SMP Fri Jan 9 19:05:03 UTC 2026\npython_version: 3.11.11\narchitecture: ('64bit', 'ELF')\nmachine: x86_64\nprocessor: x86_64\nblender_version: 4.5.7 LTS\nbonsai_version: 0.8.5-alpha260312\nbonsai_commit_hash: 71442bd\nbonsai_commit_date: 2026-03-12T12:34:05+01:00\nlast_actions: \n# ifcopenshell.api: owner.create_owner_history\n>>> {}\n# ifcopenshell.api: geometry.add_axis_representation\n>>> {\"context\": {\"cast_type\": \"entity_instance\", \"value\": 23, \"Name\": null}, \"axis\": \"[(0.0, 0.0), (2.299999978749648, 0.0)]\"}\n# ifcopenshell.api: geometry.assign_representation\n>>> {\"product\": {\"cast_type\": \"entity_instance\", \"value\": 1425, \"Name\": \"Wall\"}, \"representation\": {\"cast_type\": \"entity_instance\", \"value\": 1432, \"Name\": null}}\n# ifcopenshell.api: owner.update_owner_history\n>>> {\"element\": {\"cast_type\": \"entity_instance\", \"value\": 1425, \"Name\": \"Wall\"}}\n# ifcopenshell.api: geometry.edit_object_placement\n>>> {\"product\": {\"cast_type\": \"entity_instance\", \"value\": 1425, \"Name\": \"Wall\"}, \"matrix\": {\"cast_type\": \"ndarray\", \"value\": [[-0.9396926164627075, 0.3420202136039734, 0.0, 0.7293224930763245], [-0.3420202136039734, -0.9396926164627075, 0.0, 4.136192321777344], [0.0, 0.0, 1.0, 0.0], [0.0, 0.0, 0.0, 1.0]]}}\n# ifcopenshell.api: owner.update_owner_history\n>>> {\"element\": {\"cast_type\": \"entity_instance\", \"value\": 1425, \"Name\": \"Wall\"}}\n# ifcopenshell.api: geometry.add_wall_representation\n>>> {\"context\": {\"cast_type\": \"entity_instance\", \"value\": 11, \"Name\": null}, \"thickness\": \"0.30000000447034836\", \"direction_sense\": \"POSITIVE\", \"offset\": \"0.0\", \"length\": \"2.299999978749648\", \"height\": \"3.0\", \"x_angle\": \"0\"}\n# ifcopenshell.api: geometry.assign_representation\n>>> {\"product\": {\"cast_type\": \"entity_instance\", \"value\": 1425, \"Name\": \"Wall\"}, \"representation\": {\"cast_type\": \"entity_instance\", \"value\": 1448, \"Name\": null}}\n# ifcopenshell.api: owner.update_owner_history\n>>> {\"element\": {\"cast_type\": \"entity_instance\", \"value\": 1425, \"Name\": \"Wall\"}}\n# ifcopenshell.api: pset.add_pset\n>>> {\"product\": {\"cast_type\": \"entity_instance\", \"value\": 1425, \"Name\": \"Wall\"}, \"name\": \"EPset_Parametric\"}\n# ifcopenshell.api: owner.create_owner_history\n>>> {}\n# ifcopenshell.api: pset.assign_pset\n>>> {}\n# ifcopenshell.api: owner.create_owner_history\n>>> {}\n# ifcopenshell.api: pset.edit_pset\n>>> {\"pset\": {\"cast_type\": \"entity_instance\", \"value\": 1449, \"Name\": \"EPset_Parametric\"}, \"properties\": \"{'Engine': 'Bonsai.DumbLayer2'}\"}\n# ifcopenshell.api: material.edit_layer_usage\n>>> {\"usage\": {\"cast_type\": \"entity_instance\", \"value\": 1428, \"Name\": null}, \"attributes\": \"{'OffsetFromReferenceLine': 0.0, 'DirectionSense': 'POSITIVE'}\"}\n# ifcopenshell.api: geometry.regenerate_wall_representation\n>>> {}\n# operator: BIM_OT_assign_material_to_selected\n# ifcopenshell.api: material.assign_material\n>>> {\"products\": [{\"cast_type\": \"entity_instance\", \"value\": 1425, \"Name\": \"Wall\"}], \"type\": \"IfcMaterialLayerSet\", \"material\": {\"cast_type\": \"entity_instance\", \"value\": 396, \"Name\": null}}\n# ifcopenshell.api: material.unassign_material\n>>> {\"products\": [{\"cast_type\": \"entity_instance\", \"value\": 1425, \"Name\": \"Wall\"}]}\n# ifcopenshell.api: owner.update_owner_history\n>>> {\"element\": {\"cast_type\": \"entity_instance\", \"value\": 1346, \"Name\": null}}\nlast_error: None\nblend_file_path: Not saved\nblend_file_dirty: N/A\nifc_file_path: No IFC loaded\nifc_is_dirty: N/A\nifc: Unsaved\nschema: IFC4\npreprocessor_version: IfcOpenShell 0.8.5-alpha260312\noriginating_system: IfcOpenShell 0.8.5-alpha260312\n```","author":{"url":"https://github.com/sboddy","@type":"Person","name":"sboddy"},"datePublished":"2026-03-14T01:37:05Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/7794"}
| 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:4efa5f45-cf77-b987-cbe9-b1ff23cdfd3e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CC2E:1173F1:5C3925:7A68F7:6B04C2DB |
| html-safe-nonce | 20baa34588e0d634ec82fff73ee2f85d753546508f2ca8537c096f50fafe5e11 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQzJFOjExNzNGMTo1QzM5MjU6N0E2OEY3OjZCMDRDMkRCIiwidmlzaXRvcl9pZCI6Ijc4MjYzNzQwNTgwNzcxMTEwMDQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | a0973e498ccef5c310c46cc60de2e052286631a3c14fa5cf947181fade68c153 |
| hovercard-subject-tag | issue:4074254807 |
| 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/7794/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c752f6159a8a95765a65d192ce45c8245da6d5b78b8b5e389efc22cd85b08ffc/IfcOpenShell/IfcOpenShell/issues/7794 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c752f6159a8a95765a65d192ce45c8245da6d5b78b8b5e389efc22cd85b08ffc/IfcOpenShell/IfcOpenShell/issues/7794 |
| og:image:alt | Bug Description For a wall the layers change from vertical to horizontal if you override the inherited material. Create a standard demo file. Create a named MaterialLayerSet with multiple layers an... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sboddy |
| hostname | github.com |
| expected-hostname | github.com |
| None | 85dd75377eb77313206b8fc108bcee6a3a029286d94bf32bf9b4426e4d92e0c4 |
| 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 | 0d64fa748a2bab9a5b587a967ac4da1cfa8da6dd |
| 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