René's URL Explorer Experiment


Title: Assigning a MaterialProfileSet to an IfcStructuralCurveMember destroys its IfcEdge topology → "Show Loads" crashes with AttributeError · Issue #10050 · IfcOpenShell/IfcOpenShell · GitHub

Open Graph Title: Assigning a MaterialProfileSet to an IfcStructuralCurveMember destroys its IfcEdge topology → "Show Loads" crashes with AttributeError · Issue #10050 · IfcOpenShell/IfcOpenShell

X Title: Assigning a MaterialProfileSet to an IfcStructuralCurveMember destroys its IfcEdge topology → "Show Loads" crashes with AttributeError · Issue #10050 · IfcOpenShell/IfcOpenShell

Description: Bug Description Found while testing the structural analysis workflow discussed here: https://community.osarch.org/discussion/3699/structural-analysis-in-bonsai-what-im-working-on Environment BonsaiPR 0.9.1-alpha261023-321089d (weekly bui...

Open Graph Description: Bug Description Found while testing the structural analysis workflow discussed here: https://community.osarch.org/discussion/3699/structural-analysis-in-bonsai-what-im-working-on Environment Bonsai...

X Description: Bug Description Found while testing the structural analysis workflow discussed here: https://community.osarch.org/discussion/3699/structural-analysis-in-bonsai-what-im-working-on Environment Bonsai...

Opengraph URL: https://github.com/IfcOpenShell/IfcOpenShell/issues/10050

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.113.3


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Assigning a MaterialProfileSet to an IfcStructuralCurveMember destroys its IfcEdge topology → \"Show Loads\" crashes with AttributeError","articleBody":"### Bug Description\n\nFound while testing the structural analysis workflow discussed here: https://community.osarch.org/discussion/3699/structural-analysis-in-bonsai-what-im-working-on\n\n### Environment\n\nBonsaiPR `0.9.1-alpha261023-321089d` (weekly build of Bonsai with merged open IfcOpenShell PRs; build report lists the merged PRs), Blender 5.2, Windows, IFC4 project, mm units. Could not reproduce against the official Bonsai build because it fails earlier in this workflow due to bugs already fixed in the merged PRs.\n\n### Steps to reproduce\n\n1. New mm project; structural point connections A (0,0,0), B (4000,0,0); curve member A→B via edge → member representation is `IfcTopologyRepresentation` with `IfcEdge((0,0,0),(4000,0,0))` ✓\n2. Connect member to A and B ✓ (edge still intact)\n3. **Assign a material profile set (S235 / HEB 160) to the member**\n4. Add Structural Analysis Model, load case, linear load (-25 N/mm), then \"Show Structural Load Case\" → crash\n\nI exported the IFC after every step. Everything is clean until step 3; only step 3 breaks the model (attached: `simply_supported_beam_01..07.ifc`, diff between `_04` and `_05` shows the breaking change).\n\n### What goes wrong\n\nStep 3 replaces the member's `IfcProductDefinitionShape`:\n\n```\n/* before */\n#111=IFCPRODUCTDEFINITIONSHAPE($,$,(#110));  /* #110 = TopologyRepresentation 'Edge' with IfcEdge */\n\n/* after: edge topology deleted */\n#111=IFCPRODUCTDEFINITIONSHAPE($,$,(#140,#133));\n#131=IFCCARTESIANPOINTLIST3D(((0.,0.,0.),(0.,0.,0.)));  /* degenerate axis */\n#133=IFCSHAPEREPRESENTATION(#12,'Axis','Curve3D',(#132));\n#139=IFCEXTRUDEDAREASOLID(#125,#137,#138,0.);           /* depth 0 */\n#140=IFCSHAPEREPRESENTATION(#11,'Body','SweptSolid',(#139));\n```\n\nThis violates IFC4 (curve members shall be represented by `IfcEdge`/`IfcEdgeCurve`/`IfcOrientedEdge`, per `IfcStructuralItem`) and produces degenerate geometry: axis points taken from the placement instead of the edge, extrusion length not derived from the edge/connected nodes (0).\n\nStep 4 then crashes in the load decorator, which assumes an edge without checking:\n\n```\nFile \".../structural/load_decoration_data.py\", line 455, in get_curve_member_rotation\n  origin = edge.EdgeStart.VertexGeometry.Coordinates\nAttributeError: entity instance of type 'IFC4.IfcExtrudedAreaSolid' has no attribute 'EdgeStart'\n```\n\n(call chain: `operator.py:1439 → operator.py:146/149 → decorator.py:76/101 → load_decoration_data.py:111/861 → :455`)\n\n### Expected behaviour\n\n- Material assignment must not delete the member's `IfcEdge` topology; a body/axis representation is optional for structural members and, if generated, must be derived from the edge (non-zero length).\n- `get_curve_member_rotation()` should guard with `is_a(\"IfcEdge\")` / fall back to the placement, so one broken element cannot take down the load display.\n\n### Related fallout from the same root cause (seen while cleaning up broken models)\n\n- Degenerate shape representations left behind by replaced members end up attached to other structural items (e.g. a point connection's `IfcProductDefinitionShape`).\n- `IfcRelConnectsStructuralMember` can be left with an unset `RelatingStructuralMember` after replacing a member.\n- `operator.py:171`: `assert relating_structural_member` in `add_structural_member_connection` crashes when the field is unset (v0.7 silently finished).\n- Minor UX: linear load input shows no unit; internally N/mm is expected (auto-generated name \"Z -25 N/mm\"), inviting factor-1000 mistakes for N/m users.\n\n[simply_supported_beam_01-07.zip](https://github.com/user-attachments/files/33899928/simply_supported_beam_01-07.zip)\n\nNote: this report was created with AI assistance; all reproduction steps, exports and the traceback are from my own testing.\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-10-24T06:59:36Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/10050"}

react-profiling0
react-import-mapreact,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-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:d776dabc-af05-2a52-00cd-a755b5f7a33f
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8C32:1E7453:5A5D05:7EFF9F:6B047582
html-safe-nonce8ecea9deace4891e0736649b7423815cf2a2b7ac6dd1c5d395a71ff3389e630c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QzMyOjFFNzQ1Mzo1QTVEMDU6N0VGRjlGOjZCMDQ3NTgyIiwidmlzaXRvcl9pZCI6IjMyOTUyNTAwMTY4MjYwNjIyMTAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacec4702c970191b2cde1c27193af8ea41759c3911dbb6a007af655662f4b8326d
hovercard-subject-tagissue:6010363121
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/IfcOpenShell/IfcOpenShell/10050/issue_layout
twitter:imagehttps://opengraph.githubassets.com/ddd4dcd9bbc695f324e23c767f003cf9c4e554fd933916349c601805d5d7c3eb/IfcOpenShell/IfcOpenShell/issues/10050
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/ddd4dcd9bbc695f324e23c767f003cf9c4e554fd933916349c601805d5d7c3eb/IfcOpenShell/IfcOpenShell/issues/10050
og:image:altBug Description Found while testing the structural analysis workflow discussed here: https://community.osarch.org/discussion/3699/structural-analysis-in-bonsai-what-im-working-on Environment Bonsai...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamebalrobs
hostnamegithub.com
expected-hostnamegithub.com
None9c099f1b85def81ca352464c276510dfef32deaf3c305404e65b8d270284a58b
turbo-cache-controlno-preview
go-importgithub.com/IfcOpenShell/IfcOpenShell git https://github.com/IfcOpenShell/IfcOpenShell.git
octolytics-dimension-user_id13692563
octolytics-dimension-user_loginIfcOpenShell
octolytics-dimension-repository_id40473201
octolytics-dimension-repository_nwoIfcOpenShell/IfcOpenShell
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id40473201
octolytics-dimension-repository_network_root_nwoIfcOpenShell/IfcOpenShell
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasecf73f57448d52b3a7b619195e182b33d3b3454ca
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/IfcOpenShell/IfcOpenShell/issues/10050#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FIfcOpenShell%2FIfcOpenShell%2Fissues%2F10050
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FIfcOpenShell%2FIfcOpenShell%2Fissues%2F10050
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=IfcOpenShell%2FIfcOpenShell
Reloadhttps://github.com/IfcOpenShell/IfcOpenShell/issues/10050
Reloadhttps://github.com/IfcOpenShell/IfcOpenShell/issues/10050
Reloadhttps://github.com/IfcOpenShell/IfcOpenShell/issues/10050
IfcOpenShellhttps://github.com/IfcOpenShell
IfcOpenShellhttps://github.com/IfcOpenShell/IfcOpenShell
Codehttps://github.com/IfcOpenShell/IfcOpenShell
Issues1.2k (1.2k)https://github.com/IfcOpenShell/IfcOpenShell/issues
Pull requests937 (937)https://github.com/IfcOpenShell/IfcOpenShell/pulls
Discussionshttps://github.com/IfcOpenShell/IfcOpenShell/discussions
Actionshttps://github.com/IfcOpenShell/IfcOpenShell/actions
Projectshttps://github.com/IfcOpenShell/IfcOpenShell/projects
Wikihttps://github.com/IfcOpenShell/IfcOpenShell/wiki
Security and qualityhttps://github.com/IfcOpenShell/IfcOpenShell/security
Insightshttps://github.com/IfcOpenShell/IfcOpenShell/insights
https://github.com/IfcOpenShell/IfcOpenShell
New issuehttps://github.com/login?return_to=https://github.com/IfcOpenShell/IfcOpenShell/issues/10050
New issuehttps://github.com/login?return_to=https://github.com/IfcOpenShell/IfcOpenShell/issues/10050
Bughttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=type:"Bug"
#10072https://github.com/IfcOpenShell/IfcOpenShell/pull/10072
Assigning a MaterialProfileSet to an IfcStructuralCurveMember destroys its IfcEdge topology → "Show Loads" crashes with AttributeErrorhttps://github.com/IfcOpenShell/IfcOpenShell/issues/10050#top
#10072https://github.com/IfcOpenShell/IfcOpenShell/pull/10072
https://github.com/balrobs
balrobshttps://github.com/balrobs
on Oct 24, 2026https://github.com/IfcOpenShell/IfcOpenShell/issues/10050#issue-6010363121
https://community.osarch.org/discussion/3699/structural-analysis-in-bonsai-what-im-working-onhttps://community.osarch.org/discussion/3699/structural-analysis-in-bonsai-what-im-working-on
simply_supported_beam_01-07.ziphttps://github.com/user-attachments/files/33899928/simply_supported_beam_01-07.zip
balrobshttps://github.com/balrobs
Bughttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=type:"Bug"
on Oct 24, 2026https://github.com/IfcOpenShell/IfcOpenShell/issues/10050#event-34115740338
brunopostlehttps://github.com/brunopostle
completedhttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#10072https://github.com/IfcOpenShell/IfcOpenShell/pull/10072
on Nov 11, 2026https://github.com/IfcOpenShell/IfcOpenShell/issues/10050#event-35773064385
myoualidhttps://github.com/myoualid
on Nov 11, 2026https://github.com/IfcOpenShell/IfcOpenShell/issues/10050#event-35775684909
Preserve structural curve member edges when assigning profile sets (I…https://github.com/myoualid/IfcOpenShell/commit/b0ab9ec2f50699854911c9621182929a525bb420
I…https://github.com/IfcOpenShell/IfcOpenShell/pull/10072
https://docs.github.com/articles/closing-issues-via-commit-messages
b0ab9echttps://github.com/myoualid/IfcOpenShell/commit/b0ab9ec2f50699854911c9621182929a525bb420
Sign up for freehttps://github.com/signup?return_to=https://github.com/IfcOpenShell/IfcOpenShell/issues/10050
Sign in to commenthttps://github.com/login?return_to=https://github.com/IfcOpenShell/IfcOpenShell/issues/10050
Bughttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=type:"Bug"
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.