René's URL Explorer Experiment


Title: ifcjs - fail to load project without TrueNorth / assigned units (Memory access out of bounds) · Issue #5646 · IfcOpenShell/IfcOpenShell · GitHub

Open Graph Title: ifcjs - fail to load project without TrueNorth / assigned units (Memory access out of bounds) · Issue #5646 · IfcOpenShell/IfcOpenShell

X Title: ifcjs - fail to load project without TrueNorth / assigned units (Memory access out of bounds) · Issue #5646 · IfcOpenShell/IfcOpenShell

Description: Hello! I am creating a simple house using ifcopenshell-python. Below is a part of my script. Everything is okay in OpenIFCViewer but I can not load the IFC in IFCLoader or online ifc viewers. The problem is when I have 4 walls I can load...

Open Graph Description: Hello! I am creating a simple house using ifcopenshell-python. Below is a part of my script. Everything is okay in OpenIFCViewer but I can not load the IFC in IFCLoader or online ifc viewers. The p...

X Description: Hello! I am creating a simple house using ifcopenshell-python. Below is a part of my script. Everything is okay in OpenIFCViewer but I can not load the IFC in IFCLoader or online ifc viewers. The p...

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.4


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"ifcjs - fail to load project without TrueNorth / assigned units (Memory access out of bounds)","articleBody":"Hello!\r\nI am creating a simple house using ifcopenshell-python. Below is a part of my script. Everything is okay in OpenIFCViewer but I can not load the IFC in IFCLoader or online ifc viewers. The problem is when I have 4 walls I can load IFC in IFCLoader but when I add just one more element, either wall or door or window etc, then I get memory access out of bounds and when I remove that 5th element everything is fine again. Am I missing something?\r\n\r\n```python\r\ndef create_ifc_wall(model, body, wall_info, wall_point_left, wall_point_right, storey, wall_id):\r\n    wall = ifcopenshell.api.root.create_entity(model, ifc_class=\"IfcWall\" , name=str(wall_id))\r\n    representation_wall = ifcopenshell.api.geometry.create_2pt_wall(model, element=wall, context=body, p1=(wall_point_left[0], wall_point_left[1]), p2=(wall_point_right[0], wall_point_right[1]), elevation=0, height=float(wall_info[0]), thickness=0.02)\r\n    ifcopenshell.api.geometry.assign_representation(model, product=wall, representation=representation_wall)\r\n    ifcopenshell.api.spatial.assign_container(model, products=[wall], relating_structure=storey) \r\n\r\nproject = ifcopenshell.api.root.create_entity(model, ifc_class=\"IfcProject\")\r\nsite = ifcopenshell.api.root.create_entity(model, ifc_class=\"IfcSite\")\r\nbuilding = ifcopenshell.api.root.create_entity(model, ifc_class=\"IfcBuilding\")\r\nstorey = ifcopenshell.api.root.create_entity(model, ifc_class=\"IfcBuildingStorey\")\r\ncontext = ifcopenshell.api.context.add_context(model, context_type=\"Model\")\r\nbody = ifcopenshell.api.context.add_context(model, context_type=\"Model\",\r\n              context_identifier=\"Body\", target_view=\"MODEL_VIEW\", parent=context)\r\n\r\nifcopenshell.api.aggregate.assign_object(model, products=[site], relating_object=project)\r\nifcopenshell.api.aggregate.assign_object(model, products=[building], relating_object=site)\r\nifcopenshell.api.aggregate.assign_object(model, products=[storey], relating_object=building)\r\n\r\n# Create walls\r\nfor wall in data['walls']:\r\n          wall_info = [wall['height'], wall['width']]\r\n          create_ifc_wall(model, body, wall_info, wall['leftmost_point'], wall['rightmost_point'], storey, wall['id'])\r\n```","author":{"url":"https://github.com/monemati","@type":"Person","name":"monemati"},"datePublished":"2024-10-28T08:54:31Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/5646"}

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:4563a6e6-f3fa-568b-a7a1-6ff6625f523d
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id9E3A:E08F0:5D7D21:83C399:6B0477FD
html-safe-nonceb9fc9f1114dbf928cc322b7654304ba9c9b84168599bb5510e7d21f6bcf2e5a4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RTNBOkUwOEYwOjVEN0QyMTo4M0MzOTk6NkIwNDc3RkQiLCJ2aXNpdG9yX2lkIjoiMzE0Njk1MDYzNDYxMjEyMTMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmaca554ff122f635ea3803eeccd18e992a6b80fc3fe5bbe74bf427863b7a9388a21
hovercard-subject-tagissue:2617736328
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/5646/issue_layout
twitter:imagehttps://opengraph.githubassets.com/65797edcc24d74ef1c08a057634d1edcf8ba4601449e3fad695e473a1f51fdd6/IfcOpenShell/IfcOpenShell/issues/5646
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/65797edcc24d74ef1c08a057634d1edcf8ba4601449e3fad695e473a1f51fdd6/IfcOpenShell/IfcOpenShell/issues/5646
og:image:altHello! I am creating a simple house using ifcopenshell-python. Below is a part of my script. Everything is okay in OpenIFCViewer but I can not load the IFC in IFCLoader or online ifc viewers. The p...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemonemati
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/5646#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FIfcOpenShell%2FIfcOpenShell%2Fissues%2F5646
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%2F5646
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/5646
Reloadhttps://github.com/IfcOpenShell/IfcOpenShell/issues/5646
Reloadhttps://github.com/IfcOpenShell/IfcOpenShell/issues/5646
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/5646
New issuehttps://github.com/login?return_to=https://github.com/IfcOpenShell/IfcOpenShell/issues/5646
ifcjs - fail to load project without TrueNorth / assigned units (Memory access out of bounds)https://github.com/IfcOpenShell/IfcOpenShell/issues/5646#top
IfcOpenShell-Pythonhttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=state%3Aopen%20label%3A%22IfcOpenShell-Python%22
https://github.com/monemati
monematihttps://github.com/monemati
on Oct 28, 2024https://github.com/IfcOpenShell/IfcOpenShell/issues/5646#issue-2617736328
https://github.com/Andrej730
Andrej730https://github.com/Andrej730
on Oct 28, 2024https://github.com/IfcOpenShell/IfcOpenShell/issues/5646#issuecomment-2441086243
@monematihttps://github.com/monemati
Andrej730https://github.com/Andrej730
IfcOpenShell-Pythonhttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=state%3Aopen%20label%3A%22IfcOpenShell-Python%22
on Oct 28, 2024https://github.com/IfcOpenShell/IfcOpenShell/issues/5646#event-14953553934
https://github.com/monemati
monematihttps://github.com/monemati
on Oct 28, 2024https://github.com/IfcOpenShell/IfcOpenShell/issues/5646#issuecomment-2441114796
@Andrej730https://github.com/Andrej730
IFC.JShttps://github.com/ThatOpen/engine_components
herehttps://viewer.sortdesk.com/
model-8walls.ziphttps://github.com/user-attachments/files/17540646/model-8walls.zip
https://github.com/monemati
monematihttps://github.com/monemati
on Oct 28, 2024https://github.com/IfcOpenShell/IfcOpenShell/issues/5646#issuecomment-2441125066
@Andrej730https://github.com/Andrej730
model-4walls.ziphttps://github.com/user-attachments/files/17540700/model-4walls.zip
https://github.com/monemati
monematihttps://github.com/monemati
on Oct 28, 2024https://github.com/IfcOpenShell/IfcOpenShell/issues/5646#issuecomment-2441140456
https://github.com/monemati
monematihttps://github.com/monemati
on Oct 28, 2024https://github.com/IfcOpenShell/IfcOpenShell/issues/5646#issuecomment-2441210286
@Andrej730https://github.com/Andrej730
thishttps://www.ifcwiki.org/images/e/e3/AC20-FZK-Haus.ifc
model-8walls.ziphttps://github.com/user-attachments/files/17540646/model-8walls.zip
https://github.com/Andrej730
Andrej730https://github.com/Andrej730
on Oct 28, 2024https://github.com/IfcOpenShell/IfcOpenShell/issues/5646#issuecomment-2441361603
@monematihttps://github.com/monemati
https://ifc43-docs.standards.buildingsmart.org/IFC/RELEASE/IFC4x3/HTML/lexical/IfcGeometricRepresentationContext.htmhttps://ifc43-docs.standards.buildingsmart.org/IFC/RELEASE/IFC4x3/HTML/lexical/IfcGeometricRepresentationContext.htm
https://viewer.sortdesk.com/https://viewer.sortdesk.com/
https://github.com/monemati
monematihttps://github.com/monemati
on Oct 28, 2024https://github.com/IfcOpenShell/IfcOpenShell/issues/5646#issuecomment-2441522018
@Andrej730https://github.com/Andrej730
https://github.com/Andrej730
Andrej730https://github.com/Andrej730
on Oct 28, 2024https://github.com/IfcOpenShell/IfcOpenShell/issues/5646#issuecomment-2441569466
@monematihttps://github.com/monemati
https://github.com/monemati
monematihttps://github.com/monemati
on Oct 28, 2024https://github.com/IfcOpenShell/IfcOpenShell/issues/5646#issuecomment-2441597450
@Andrej730https://github.com/Andrej730
https://private-user-images.githubusercontent.com/58460889/380732262-7efa235d-8f7a-4ffe-a437-b9907717f460.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTU0NTUyNzUsIm5iZiI6MTc5NTQ1NDk3NSwicGF0aCI6Ii81ODQ2MDg4OS8zODA3MzIyNjItN2VmYTIzNWQtOGY3YS00ZmZlLWE0MzctYjk5MDc3MTdmNDYwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjExMjMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYxMTIzVDE3MjkzNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWRhMWM0NmQ0NDQ3MmIzNWE0OTc0ZWU1MDk5ZGU0MDZiNWFhZDM3NmQzMzdiYWJiYWMyM2M3NjhmN2NlNGM0NDkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.YxxK5yFQu7YKePeNo9OpA2BJPYsIadGaVtiC3mT-cJA
https://github.com/monemati
monematihttps://github.com/monemati
on Oct 28, 2024https://github.com/IfcOpenShell/IfcOpenShell/issues/5646#issuecomment-2441626993
herehttps://www.ifcwiki.org/images/e/e3/AC20-FZK-Haus.ifc
https://github.com/monemati
monematihttps://github.com/monemati
on Oct 28, 2024https://github.com/IfcOpenShell/IfcOpenShell/issues/5646#issuecomment-2441716373
https://github.com/Andrej730
Andrej730https://github.com/Andrej730
on Oct 28, 2024https://github.com/IfcOpenShell/IfcOpenShell/issues/5646#issuecomment-2441722956
https://github.com/monemati
monematihttps://github.com/monemati
on Oct 28, 2024https://github.com/IfcOpenShell/IfcOpenShell/issues/5646#issuecomment-2441796400
@Andrej730https://github.com/Andrej730
https://github.com/Andrej730
Andrej730https://github.com/Andrej730
on Oct 28, 2024https://github.com/IfcOpenShell/IfcOpenShell/issues/5646#issuecomment-2441805231
@monematihttps://github.com/monemati
Andrej730https://github.com/Andrej730
completedhttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Oct 28, 2024https://github.com/IfcOpenShell/IfcOpenShell/issues/5646#event-14962152737
Andrej730https://github.com/Andrej730
on Oct 28, 2024https://github.com/IfcOpenShell/IfcOpenShell/issues/5646#event-14962168750
Sign up for freehttps://github.com/signup?return_to=https://github.com/IfcOpenShell/IfcOpenShell/issues/5646
Sign in to commenthttps://github.com/login?return_to=https://github.com/IfcOpenShell/IfcOpenShell/issues/5646
IfcOpenShell-Pythonhttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=state%3Aopen%20label%3A%22IfcOpenShell-Python%22
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.