René's URL Explorer Experiment


Title: v0.8.0 - created shape materials attribute is inaccessible / has a memory leak · Issue #4833 · IfcOpenShell/IfcOpenShell · GitHub

Open Graph Title: v0.8.0 - created shape materials attribute is inaccessible / has a memory leak · Issue #4833 · IfcOpenShell/IfcOpenShell

X Title: v0.8.0 - created shape materials attribute is inaccessible / has a memory leak · Issue #4833 · IfcOpenShell/IfcOpenShell

Description: Have an issue trying to get shape's materials in v0.8.0, see example below (used file is - cube_test.ifc.txt). Build is from IfcOpenBot@90ae709 @aothms can you please take a look? import ifcopenshell import ifcopenshell.geom path = r"cub...

Open Graph Description: Have an issue trying to get shape's materials in v0.8.0, see example below (used file is - cube_test.ifc.txt). Build is from IfcOpenBot@90ae709 @aothms can you please take a look? import ifcopenshe...

X Description: Have an issue trying to get shape's materials in v0.8.0, see example below (used file is - cube_test.ifc.txt). Build is from IfcOpenBot@90ae709 @aothms can you please take a look? import ifcope...

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

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":"v0.8.0 - created shape materials attribute is inaccessible / has a memory leak","articleBody":"Have an issue trying to get shape's materials in v0.8.0, see example below (used file is - [cube_test.ifc.txt](https://github.com/user-attachments/files/15744266/cube_test.ifc.txt)). Build is from https://github.com/IfcOpenBot/IfcOpenShell/commit/90ae7091563348c42623220ea914c42d70485c03\r\n\r\n@aothms can you please take a look?\r\n\r\n```python\r\nimport ifcopenshell\r\nimport ifcopenshell.geom\r\n\r\npath = r\"cube_test.ifc\"\r\nifc_file = ifcopenshell.open(path)\r\n\r\nsettings = ifcopenshell.geom.settings()\r\nelement = ifc_file.by_id(100)\r\nshape = ifcopenshell.geom.create_shape(settings, element)\r\n# \u003cifcopenshell.ifcopenshell_wrapper.Triangulation; proxy of \u003cSwig Object of type 'IfcGeom::Representation::Triangulation *' at 0x000001A893AB8930> >\r\nprint(shape)\r\n# (\u003cSwig Object of type 'ifcopenshell::geometry::taxonomy::style *' at 0x0000015658A189F0>,)\r\n# swig/python detected a memory leak of type 'ifcopenshell::geometry::taxonomy::style *', no destructor found.\r\nprint(shape.materials)\r\n# Traceback (most recent call last):\r\n#   File \"test.py\", line 16, in \u003cmodule>\r\n#     print([m.instance_id() for m in shape.materials])\r\n#           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n#   File \"test.py\", line 16, in \u003clistcomp>\r\n#     print([m.instance_id() for m in shape.materials])\r\n#            ^^^^^^^^^^^^^\r\n# AttributeError: 'SwigPyObject' object has no attribute 'instance_id'\r\nprint([m.instance_id() for m in shape.materials])\r\n```\r\n\r\n\r\n\r\n#4832","author":{"url":"https://github.com/Andrej730","@type":"Person","name":"Andrej730"},"datePublished":"2024-06-07T19:54:41Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/4833"}

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:2d5dfc13-33c4-17a1-ac05-bc75aa5c381d
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id9D9C:2D1760:A5C7:D5FD:6B047CAB
html-safe-nonce0125c081f846a939ee721ae88be02aad7b92b85cf45b32d507c754d7928a8b74
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RDlDOjJEMTc2MDpBNUM3OkQ1RkQ6NkIwNDdDQUIiLCJ2aXNpdG9yX2lkIjoiODc2ODA2ODkyMDc0MjgwNDY1MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacb948991e0e01d1ec810f753127794b093834e2c9e922a79db994609e2b851276
hovercard-subject-tagissue:2341074911
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/4833/issue_layout
twitter:imagehttps://opengraph.githubassets.com/df2069581a311659b4f72a0144fc2da67099d643c862ba0cfdde71c0bae20259/IfcOpenShell/IfcOpenShell/issues/4833
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/df2069581a311659b4f72a0144fc2da67099d643c862ba0cfdde71c0bae20259/IfcOpenShell/IfcOpenShell/issues/4833
og:image:altHave an issue trying to get shape's materials in v0.8.0, see example below (used file is - cube_test.ifc.txt). Build is from IfcOpenBot@90ae709 @aothms can you please take a look? import ifcopenshe...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameAndrej730
hostnamegithub.com
expected-hostnamegithub.com
None0366ddfb372682a32e92a5d86155cb08fa83e5bbe79953a968789f2f7e24c511
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
releaseed3f2e01f6b7672780c586c8af0e72726374d7b6
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/IfcOpenShell/IfcOpenShell/issues/4833#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FIfcOpenShell%2FIfcOpenShell%2Fissues%2F4833
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%2F4833
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/4833
Reloadhttps://github.com/IfcOpenShell/IfcOpenShell/issues/4833
Reloadhttps://github.com/IfcOpenShell/IfcOpenShell/issues/4833
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/4833
New issuehttps://github.com/login?return_to=https://github.com/IfcOpenShell/IfcOpenShell/issues/4833
v0.8.0 - created shape materials attribute is inaccessible / has a memory leakhttps://github.com/IfcOpenShell/IfcOpenShell/issues/4833#top
IfcOpenShell-Corehttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=state%3Aopen%20label%3A%22IfcOpenShell-Core%22
IfcOpenShell-Pythonhttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=state%3Aopen%20label%3A%22IfcOpenShell-Python%22
https://github.com/Andrej730
Andrej730https://github.com/Andrej730
on Jun 7, 2024https://github.com/IfcOpenShell/IfcOpenShell/issues/4833#issue-2341074911
cube_test.ifc.txthttps://github.com/user-attachments/files/15744266/cube_test.ifc.txt
IfcOpenBot@90ae709https://github.com/IfcOpenBot/IfcOpenShell/commit/90ae7091563348c42623220ea914c42d70485c03
@aothmshttps://github.com/aothms
#4832https://github.com/IfcOpenShell/IfcOpenShell/issues/4832
Andrej730https://github.com/Andrej730
IfcOpenShell-Corehttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=state%3Aopen%20label%3A%22IfcOpenShell-Core%22
IfcOpenShell-Pythonhttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=state%3Aopen%20label%3A%22IfcOpenShell-Python%22
on Jun 7, 2024https://github.com/IfcOpenShell/IfcOpenShell/issues/4833#event-13084969722
https://github.com/Moult
Moulthttps://github.com/Moult
on Jun 8, 2024https://github.com/IfcOpenShell/IfcOpenShell/issues/4833#issuecomment-2155793924
https://github.com/Andrej730
Andrej730https://github.com/Andrej730
on Jun 10, 2024https://github.com/IfcOpenShell/IfcOpenShell/issues/4833#issuecomment-2158252485
aothmshttps://github.com/aothms
on Jun 10, 2024https://github.com/IfcOpenShell/IfcOpenShell/issues/4833#event-13105702075
shared_ptr styles all over #4833https://github.com/IfcOpenShell/IfcOpenShell/commit/c01263d721b9053e93ce65a143b75b86b1b26df0
#4833https://github.com/IfcOpenShell/IfcOpenShell/issues/4833
c01263dhttps://github.com/IfcOpenShell/IfcOpenShell/commit/c01263d721b9053e93ce65a143b75b86b1b26df0
https://github.com/aothms
aothmshttps://github.com/aothms
on Jun 10, 2024https://github.com/IfcOpenShell/IfcOpenShell/issues/4833#issuecomment-2159005887
aothmshttps://github.com/aothms
on Jun 10, 2024https://github.com/IfcOpenShell/IfcOpenShell/issues/4833#event-13106507677
Re #4833https://github.com/IfcOpenShell/IfcOpenShell/commit/2ccc598270a9dfce64d97d304e8b7f7ad445040b
#4833https://github.com/IfcOpenShell/IfcOpenShell/issues/4833
2ccc598https://github.com/IfcOpenShell/IfcOpenShell/commit/2ccc598270a9dfce64d97d304e8b7f7ad445040b
https://github.com/Moult
Moulthttps://github.com/Moult
on Jun 11, 2024https://github.com/IfcOpenShell/IfcOpenShell/issues/4833#issuecomment-2159537725
https://github.com/aothms
aothmshttps://github.com/aothms
on Jun 11, 2024https://github.com/IfcOpenShell/IfcOpenShell/issues/4833#issuecomment-2160159211
https://github.com/Moult
Moulthttps://github.com/Moult
on Jun 11, 2024https://github.com/IfcOpenShell/IfcOpenShell/issues/4833#issuecomment-2160588233
@Andrej730https://github.com/Andrej730
Andrej730https://github.com/Andrej730
completedhttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Jun 11, 2024https://github.com/IfcOpenShell/IfcOpenShell/issues/4833#event-13116119904
Andrej730https://github.com/Andrej730
on Jun 11, 2024https://github.com/IfcOpenShell/IfcOpenShell/issues/4833#event-13117273005
Set apply default materials to False #4833https://github.com/IfcOpenShell/IfcOpenShell/commit/6630db21eed15cc65598063f5b09c17671a3516c
#4833https://github.com/IfcOpenShell/IfcOpenShell/issues/4833
6630db2https://github.com/IfcOpenShell/IfcOpenShell/commit/6630db21eed15cc65598063f5b09c17671a3516c
https://github.com/Andrej730
Andrej730https://github.com/Andrej730
on Jun 12, 2024https://github.com/IfcOpenShell/IfcOpenShell/issues/4833#issuecomment-2162471075
#4851https://github.com/IfcOpenShell/IfcOpenShell/pull/4851
FrogsInSpacehttps://github.com/FrogsInSpace
on Jun 13, 2024https://github.com/IfcOpenShell/IfcOpenShell/issues/4833#event-13148266593
shared_ptr styles all over IfcOpenShell#4833https://github.com/FrogsInSpace/IfcOpenShell/commit/432f23a6f503dae98dff50be878c8b8c6982b65e
IfcOpenShell#4833https://github.com/IfcOpenShell/IfcOpenShell/issues/4833
432f23ahttps://github.com/FrogsInSpace/IfcOpenShell/commit/432f23a6f503dae98dff50be878c8b8c6982b65e
Re IfcOpenShell#4833https://github.com/FrogsInSpace/IfcOpenShell/commit/de81647c72a152734291fd88341f199936ba4bf4
IfcOpenShell#4833https://github.com/IfcOpenShell/IfcOpenShell/issues/4833
de81647https://github.com/FrogsInSpace/IfcOpenShell/commit/de81647c72a152734291fd88341f199936ba4bf4
Set apply default materials to False IfcOpenShell#4833https://github.com/FrogsInSpace/IfcOpenShell/commit/7c3c1b006b21c45aa121315f32f93da6a9867af8
IfcOpenShell#4833https://github.com/IfcOpenShell/IfcOpenShell/issues/4833
7c3c1b0https://github.com/FrogsInSpace/IfcOpenShell/commit/7c3c1b006b21c45aa121315f32f93da6a9867af8
Sign up for freehttps://github.com/signup?return_to=https://github.com/IfcOpenShell/IfcOpenShell/issues/4833
Sign in to commenthttps://github.com/login?return_to=https://github.com/IfcOpenShell/IfcOpenShell/issues/4833
IfcOpenShell-Corehttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=state%3Aopen%20label%3A%22IfcOpenShell-Core%22
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.