René's URL Explorer Experiment


Title: Error w/ manual quantification · Issue #7147 · IfcOpenShell/IfcOpenShell · GitHub

Open Graph Title: Error w/ manual quantification · Issue #7147 · IfcOpenShell/IfcOpenShell

X Title: Error w/ manual quantification · Issue #7147 · IfcOpenShell/IfcOpenShell

Description: Bug Description When i try and do bim.calculate_single_quantity on something like the following object, I get the following error GlobalId = "3Bwmk9gjDFHgxXMQJ71Nuk" file: https://hub.openingdesign.com/OpeningDesign/Restaurant_Brookfield...

Open Graph Description: Bug Description When i try and do bim.calculate_single_quantity on something like the following object, I get the following error GlobalId = "3Bwmk9gjDFHgxXMQJ71Nuk" file: https://hub.openingdesign...

X Description: Bug Description When i try and do bim.calculate_single_quantity on something like the following object, I get the following error GlobalId = "3Bwmk9gjDFHgxXMQJ71Nuk" file: https://hub.ope...

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.3


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Error w/ manual quantification","articleBody":"### Bug Description\n\nWhen i try and do  `bim.calculate_single_quantity` on something like the following object, I get the following error\n\nGlobalId = \"3Bwmk9gjDFHgxXMQJ71Nuk\"\n\nfile: https://hub.openingdesign.com/OpeningDesign/Restaurant_Brookfield/src/commit/c9c115a985b3babcca740f46be994595108edd88/Open/Models/Bonsai/Restaurant_Brookfield.ifc\n\n\u003cimg width=\"292\" height=\"149\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/56bc2a65-5ef8-476c-b3b3-672291041e8d\" />\n\n\n\n### Attachments\n\n_No response_\n\n### Debug and Error Output\n\n```true\nPython: Traceback (most recent call last):\n  File \"C:\\Users\\Ryan Schultz\\AppData\\Roaming\\Blender Foundation\\Blender\\4.5\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\bim\\ifc.py\", line 526, in execute_ifc_operator\n    result = getattr(operator, \"_execute\")(context)\n             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"C:\\Users\\Ryan Schultz\\AppData\\Roaming\\Blender Foundation\\Blender\\4.5\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\bim\\module\\qto\\operator.py\", line 151, in _execute\n    results = ifc5d.qto.quantify(ifc_file, elements, rules)\n              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"C:\\Users\\Ryan Schultz\\AppData\\Roaming\\Blender Foundation\\Blender\\4.5\\extensions\\.local\\lib\\python3.11\\site-packages\\ifc5d\\qto.py\", line 112, in quantify\n    calculator.calculate(ifc_file, filtered_elements, qtos, results)\n  File \"C:\\Users\\Ryan Schultz\\AppData\\Roaming\\Blender Foundation\\Blender\\4.5\\extensions\\.local\\lib\\python3.11\\site-packages\\ifc5d\\qto.py\", line 355, in calculate\n    value = formula_functions[formula](geometry)\n            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"C:\\Users\\Ryan Schultz\\AppData\\Roaming\\Blender Foundation\\Blender\\4.5\\extensions\\.local\\lib\\python3.11\\site-packages\\ifcopenshell\\util\\shape.py\", line 118, in get_z\n    return (np.max(verts_flat[2::3]) - np.min(verts_flat[2::3])).item()\n            ^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"C:\\Program Files\\Blender Foundation\\Blender 4.5\\4.5\\python\\Lib\\site-packages\\numpy\\core\\fromnumeric.py\", line 2810, in max\n    return _wrapreduction(a, np.maximum, 'max', axis, None, out,\n           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"C:\\Program Files\\Blender Foundation\\Blender 4.5\\4.5\\python\\Lib\\site-packages\\numpy\\core\\fromnumeric.py\", line 88, in _wrapreduction\n    return ufunc.reduce(obj, axis, dtype, out, **passkwargs)\n           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nValueError: zero-size array to reduction operation maximum which has no identity\n```","author":{"url":"https://github.com/theoryshaw","@type":"Person","name":"theoryshaw"},"datePublished":"2025-09-21T15:23:31Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/7147"}

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:d4764563-bd22-4e8e-bc5d-43b29721f6a1
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idBE74:D410B:38B1E:4AA50:6B04AE1E
html-safe-noncefde2d27b24c229438aca212118a12097b99a9e32ef7d30def32f96fface0dd5b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRTc0OkQ0MTBCOjM4QjFFOjRBQTUwOjZCMDRBRTFFIiwidmlzaXRvcl9pZCI6IjgzNjI0NDM2NTgwMjg2OTA5NzQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacd07b6dcace450e3bbc9ea156e36d08323ea8908c9c0e31631882632be65bfded
hovercard-subject-tagissue:3438341252
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/7147/issue_layout
twitter:imagehttps://opengraph.githubassets.com/85037325dee53fdb4ea273a677f629e404304f7714e879c97ddaf03aad105aee/IfcOpenShell/IfcOpenShell/issues/7147
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/85037325dee53fdb4ea273a677f629e404304f7714e879c97ddaf03aad105aee/IfcOpenShell/IfcOpenShell/issues/7147
og:image:altBug Description When i try and do bim.calculate_single_quantity on something like the following object, I get the following error GlobalId = "3Bwmk9gjDFHgxXMQJ71Nuk" file: https://hub.openingdesign...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernametheoryshaw
hostnamegithub.com
expected-hostnamegithub.com
Nonef1d110ea058a0915c1d8aa3fc2069fa15801e128f591e5762525abe77490ecb1
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
releaseffa22a65e4c46d376940fe34b05e6a7e9c7fdb9b
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/IfcOpenShell/IfcOpenShell/issues/7147#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FIfcOpenShell%2FIfcOpenShell%2Fissues%2F7147
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%2F7147
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/7147
Reloadhttps://github.com/IfcOpenShell/IfcOpenShell/issues/7147
Reloadhttps://github.com/IfcOpenShell/IfcOpenShell/issues/7147
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 requests940 (940)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/7147
New issuehttps://github.com/login?return_to=https://github.com/IfcOpenShell/IfcOpenShell/issues/7147
Bughttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=type:"Bug"
Error w/ manual quantificationhttps://github.com/IfcOpenShell/IfcOpenShell/issues/7147#top
Bonsaihttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=state%3Aopen%20label%3A%22Bonsai%22
PR Proposedhttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=state%3Aopen%20label%3A%22PR%20Proposed%22
https://github.com/theoryshaw
theoryshawhttps://github.com/theoryshaw
on Sep 21, 2025https://github.com/IfcOpenShell/IfcOpenShell/issues/7147#issue-3438341252
https://hub.openingdesign.com/OpeningDesign/Restaurant_Brookfield/src/commit/c9c115a985b3babcca740f46be994595108edd88/Open/Models/Bonsai/Restaurant_Brookfield.ifchttps://hub.openingdesign.com/OpeningDesign/Restaurant_Brookfield/src/commit/c9c115a985b3babcca740f46be994595108edd88/Open/Models/Bonsai/Restaurant_Brookfield.ifc
https://private-user-images.githubusercontent.com/507113/492036565-56bc2a65-5ef8-476c-b3b3-672291041e8d.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTU0NjkxMzAsIm5iZiI6MTc5NTQ2ODgzMCwicGF0aCI6Ii81MDcxMTMvNDkyMDM2NTY1LTU2YmMyYTY1LTVlZjgtNDc2Yy1iM2IzLTY3MjI5MTA0MWU4ZC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjYxMTIzJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI2MTEyM1QyMTIwMzBaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT03NDM2NGVlMTIzMmMwOTExODUxMzVjZDkwZjUxOTYxZWZkM2JhMjA1MzNmMWRjMzU2NjQyODBlNjMxMjNhYjVhJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZyZXNwb25zZS1jb250ZW50LXR5cGU9aW1hZ2UlMkZwbmcifQ.92mE_0k0jFCO49c286IKqmwfui6s8P3Kck75xTvNYBs
theoryshawhttps://github.com/theoryshaw
Bughttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=type:"Bug"
on Sep 21, 2025https://github.com/IfcOpenShell/IfcOpenShell/issues/7147#event-19822794887
theoryshawhttps://github.com/theoryshaw
Bonsaihttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=state%3Aopen%20label%3A%22Bonsai%22
on Sep 21, 2025https://github.com/IfcOpenShell/IfcOpenShell/issues/7147#event-19822795014
petruconduraruhttps://github.com/petruconduraru
on Jul 6, 2026https://github.com/IfcOpenShell/IfcOpenShell/issues/7147#event-27607120017
Skip quantity takeoff for elements with empty geometry IfcOpenShell#7147https://github.com/BIMvoice/IfcOpenShell/commit/d85170095cb5d0486531b371997e8236ec9e2a73
IfcOpenShell#7147https://github.com/IfcOpenShell/IfcOpenShell/issues/7147
d851700https://github.com/BIMvoice/IfcOpenShell/commit/d85170095cb5d0486531b371997e8236ec9e2a73
Skip quantity takeoff for elements with empty geometry IfcOpenShell#7147https://github.com/BIMvoice/IfcOpenShell/commit/73360ab921635626516da7049cbb44d80a5952b9
IfcOpenShell#7147https://github.com/IfcOpenShell/IfcOpenShell/issues/7147
73360abhttps://github.com/BIMvoice/IfcOpenShell/commit/73360ab921635626516da7049cbb44d80a5952b9
petruconduraruhttps://github.com/petruconduraru
PR Proposedhttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=state%3Aopen%20label%3A%22PR%20Proposed%22
on Jul 7, 2026https://github.com/IfcOpenShell/IfcOpenShell/issues/7147#event-27663011486
Sign up for freehttps://github.com/signup?return_to=https://github.com/IfcOpenShell/IfcOpenShell/issues/7147
Sign in to commenthttps://github.com/login?return_to=https://github.com/IfcOpenShell/IfcOpenShell/issues/7147
Bonsaihttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=state%3Aopen%20label%3A%22Bonsai%22
PR Proposedhttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=state%3Aopen%20label%3A%22PR%20Proposed%22
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.