Title: REGRESSION: MaterialProfileSet assignment destroys IfcStructuralCurveMember edge topology · Issue #10112 · IfcOpenShell/IfcOpenShell · GitHub
Open Graph Title: REGRESSION: MaterialProfileSet assignment destroys IfcStructuralCurveMember edge topology · Issue #10112 · IfcOpenShell/IfcOpenShell
X Title: REGRESSION: MaterialProfileSet assignment destroys IfcStructuralCurveMember edge topology · Issue #10112 · IfcOpenShell/IfcOpenShell
Description: Bug Description BonsaiPR version: 0.9.1-alpha261031-f17cfe8 (IfcOpenShell 0.9.1a261031, Blender 5.2, Windows) Summary Assigning a MaterialProfileSet (HEB 160 / S235) to an IfcStructuralCurveMember via the UI replaces the member's Topolog...
Open Graph Description: Bug Description BonsaiPR version: 0.9.1-alpha261031-f17cfe8 (IfcOpenShell 0.9.1a261031, Blender 5.2, Windows) Summary Assigning a MaterialProfileSet (HEB 160 / S235) to an IfcStructuralCurveMember ...
X Description: Bug Description BonsaiPR version: 0.9.1-alpha261031-f17cfe8 (IfcOpenShell 0.9.1a261031, Blender 5.2, Windows) Summary Assigning a MaterialProfileSet (HEB 160 / S235) to an IfcStructuralCurveMember ...
Opengraph URL: https://github.com/IfcOpenShell/IfcOpenShell/issues/10112
X: @github
Domain: github.com
IPv4 address: 140.82.113.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"REGRESSION: MaterialProfileSet assignment destroys IfcStructuralCurveMember edge topology","articleBody":"### Bug Description\n\n**BonsaiPR version:** 0.9.1-alpha261031-f17cfe8 (IfcOpenShell 0.9.1a261031, Blender 5.2, Windows)\n\n### Summary\nAssigning a MaterialProfileSet (HEB 160 / S235) to an IfcStructuralCurveMember via the UI\nreplaces the member's TopologyRepresentation with degenerate physical-style representations.\nThis bug was previously observed and working builds existed in between — see version history below.\n\n### Steps to reproduce\n1. Create a structural model: point connections A (0,0,0) and B (2000,0,0),\n IfcStructuralCurveMember connected to both via IfcRelConnectsStructuralMember\n (IFC4, millimetre project). Export → edge topology is intact:\n `#123=IFCTOPOLOGYREPRESENTATION(#11,'Body','Edge',(#134));`\n `#134=IFCEDGE(#131,#133);` (vertices (0,0,0) → (2000,0,0))\n2. Assign material profile set \"HEB 160 - S235\" to the member in the UI. Nothing else.\n3. Export again.\n\n### Result\nThe TopologyRepresentation and all topology entities (IfcEdge, IfcVertexPoint, coordinates)\nare removed. The member's ProductDefinitionShape becomes:\n- `Body/SweptSolid` with `IfcExtrudedAreaSolid(..., 0.)` — extrusion depth **0**\n- `Axis/Curve3D` with `IfcIndexedPolycurve` over `((0.,0.,0.),(0.,0.,0.))` — degenerate\n\nThe member length and both endpoint positions are no longer represented anywhere in the file.\n\n### What survives (bug is isolated)\n- Point connections A/B and their Vertex topology: untouched\n- IfcRelConnectsStructuralMember (member↔A, member↔B): intact\n- IfcRelAssignsToGroup, SAM: intact\n- IfcRelAssociatesMaterial: correctly assigned to the member\n\n### Version history (regression timeline)\n- 0.9.1-alpha261023: bug present (first observed, exports simply_supported_beam_01–07.ifc)\n- 0.9.1-alpha261027 / alpha261028: **not reproducible** — edge topology intact after material assignment\n- 0.9.1-alpha261031: **bug is back** (reproduced today, files bevor_material.ifc / after_material.ifc)\n\n### Expected\nMaterial assignment on an IfcStructuralCurveMember must not touch its\nTopologyRepresentation (IfcEdge/IfcVertexPoint). If a body representation is desired,\nit must be derived from the edge/profile correctly (length 2000, not 0) and the\ntopology must be preserved.\n\n### Attachments\n\n_No response_\n\n### Debug and Error Output\n\n```true\n\n```","author":{"url":"https://github.com/balrobs","@type":"Person","name":"balrobs"},"datePublished":"2026-11-01T09:12:08Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/10112"}
| 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:ea6aebd7-bd68-c4f7-4549-788c1034d1c9 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C1D2:1C412F:4F9CE8:708DE3:6B047401 |
| html-safe-nonce | 4de81be24f5d990d2d3dc4ee3f9289f3dff60da2196c2e6d5565bbb6292e7917 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMUQyOjFDNDEyRjo0RjlDRTg6NzA4REUzOjZCMDQ3NDAxIiwidmlzaXRvcl9pZCI6IjQzNTMwMjcxMTIzNzkzODA3MzciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | e59da2156aa7b000ee8a1051aaae4cbc43c6c1c1dca7b84d904848493424263d |
| hovercard-subject-tag | issue:6144767786 |
| 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/10112/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7fc50c5f6746b1aba832ca46a2707d6de017a3852a83b2ff399a1c698cfe6e86/IfcOpenShell/IfcOpenShell/issues/10112 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7fc50c5f6746b1aba832ca46a2707d6de017a3852a83b2ff399a1c698cfe6e86/IfcOpenShell/IfcOpenShell/issues/10112 |
| og:image:alt | Bug Description BonsaiPR version: 0.9.1-alpha261031-f17cfe8 (IfcOpenShell 0.9.1a261031, Blender 5.2, Windows) Summary Assigning a MaterialProfileSet (HEB 160 / S235) to an IfcStructuralCurveMember ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | balrobs |
| hostname | github.com |
| expected-hostname | github.com |
| None | ae8802492f12d3ba4f6b0d814054e617a2a5616b6327bf8555c10cd5b0dc2a6f |
| 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 | cfb5f24c6e01d85f70804652a5107e5cac03a161 |
| 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