Title: Bonsai: structural analysis models it can't author completely (self-weight, unset conditions, surface thickness, units, materials) · Issue #10189 · IfcOpenShell/IfcOpenShell · GitHub
Open Graph Title: Bonsai: structural analysis models it can't author completely (self-weight, unset conditions, surface thickness, units, materials) · Issue #10189 · IfcOpenShell/IfcOpenShell
X Title: Bonsai: structural analysis models it can't author completely (self-weight, unset conditions, surface thickness, units, materials) · Issue #10189 · IfcOpenShell/IfcOpenShell
Description: Part of #9866. The analysis-model data that Bonsai can't write, or writes as unknown, so that a model authored in Bonsai can't be analysed without editing the IFC by other means. Found by reading v0.9.0 and by running Bonsai models throu...
Open Graph Description: Part of #9866. The analysis-model data that Bonsai can't write, or writes as unknown, so that a model authored in Bonsai can't be analysed without editing the IFC by other means. Found by reading v...
X Description: Part of #9866. The analysis-model data that Bonsai can't write, or writes as unknown, so that a model authored in Bonsai can't be analysed without editing the IFC by other means. Found by r...
Opengraph URL: https://github.com/IfcOpenShell/IfcOpenShell/issues/10189
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Bonsai: structural analysis models it can't author completely (self-weight, unset conditions, surface thickness, units, materials)","articleBody":"Part of #9866. The analysis-model data that Bonsai can't write, or writes as unknown, so that a model authored in Bonsai can't be analysed without editing the IFC by other means. Found by reading v0.9.0 and by running Bonsai models through [ifc_structural_mechanics](https://github.com/brunopostle/ifc_structural_mechanics), which refuses missing values rather than guessing them. Things already in open PRs are left out (#10072, #10174, #10175, and the stack from #9868).\n\n1. **No self-weight.** The load case editor hides `SelfWeightCoefficients` on purpose (`bim/module/structural/operator.py:585`, `import_attributes_callback` returns False for it). An `IfcStructuralLoadCase` is the only place IFC says that a case includes the members' weight, so no Bonsai load case can include it. Show the three coefficients, perhaps with a \"self-weight downwards\" button that sets (0, 0, -1).\n\n2. **New boundary conditions are unknown, not free.** `structural.add_structural_boundary_condition` creates the condition with only a `Name`, so all six stiffnesses are unset, and the editor lets them stay that way. Unset means unknown in IFC, not released. Start them at `IfcBoolean(False)` (free), as the API's default or in Bonsai, or show unset values as unset so the user sets them.\n\n3. **Surface members have no panel.** The structural member panel draws `TODO` for anything that isn't a curve member (`bim/module/structural/ui.py:249`, and the same for connections at line 311). `IfcStructuralSurfaceMember.Thickness` is unset on creation and can only be reached through generic attributes. A surface member without a thickness can't be analysed.\n\n4. **Load and stiffness units are undeclared in a new project.** `core/unit.py` `assign_scene_units` declares length, area, volume, mass and time (and with #9990, plane angle). Loads and stiffnesses are then in units made of the length unit, so in the default millimetre project an area load typed as 5000 for 5 kN/m² means 5000 N/mm², a linear load is N/mm, and a spring stiffness N/mm. The UI shows no unit beside these values. Either declare FORCEUNIT, LINEARFORCEUNIT, PLANARFORCEUNIT, MOMENTUNIT, LINEARMOMENTUNIT, PRESSUREUNIT, MODULUSOFELASTICITYUNIT and the stiffness units in new projects, or show the unit that applies next to each value.\n\n5. **Material values aren't asked for.** An analysis needs Young's modulus, Poisson's ratio or shear modulus, and for self-weight or modal analysis the mass density (Pset_MaterialMechanical, Pset_MaterialCommon). A structural member can be given a material with none of them, and nothing says so.\n\n6. **No link between a member and the building element it idealises.** `structural.assign_product` (an `IfcRelAssignsToProduct`) has no UI, and nothing generates structural members from building elements. Without the link, nothing can check the analysis model against the building (`ifc-analysis check` in ifc_structural_mechanics does this when the link is there).\n\nAI disclosure: drafted with the assistance of Claude Code, checked against v0.9.0 by me.\n","author":{"url":"https://github.com/brunopostle","@type":"Person","name":"brunopostle"},"datePublished":"2026-11-09T23:45:50Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/10189"}
| 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:9099c5c2-1420-9794-56ca-f5cda6fab315 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B398:199A13:25FFA8:356089:6B0468F9 |
| html-safe-nonce | 47b6a171eda3658d1d870e404f2fb8b85befe0432830c39fe3d2b531af8cc396 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMzk4OjE5OUExMzoyNUZGQTg6MzU2MDg5OjZCMDQ2OEY5IiwidmlzaXRvcl9pZCI6IjU1MjY5NTcxODc1MjE2MDM4MzMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 71d1e601dcc505ade6ab770ecaf56da75ce9a51bb1970284010787f0659de32f |
| hovercard-subject-tag | issue:6297018289 |
| 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/10189/issue_layout |
| twitter:image | https://opengraph.githubassets.com/04aaf6a7544c30ec1e9931bb58f7ed6314f4ae7c023926659ee87f782b7c06ff/IfcOpenShell/IfcOpenShell/issues/10189 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/04aaf6a7544c30ec1e9931bb58f7ed6314f4ae7c023926659ee87f782b7c06ff/IfcOpenShell/IfcOpenShell/issues/10189 |
| og:image:alt | Part of #9866. The analysis-model data that Bonsai can't write, or writes as unknown, so that a model authored in Bonsai can't be analysed without editing the IFC by other means. Found by reading v... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | brunopostle |
| hostname | github.com |
| expected-hostname | github.com |
| None | 83e4c0e58c5162177f3c161c5fbad38527ae04c11ac14980f9f9d85ae2027b1f |
| 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 | ca4d07a7cef4e4b75f821dc25e7300d80c1450a9 |
| 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