René's URL Explorer Experiment


Title: get_info() and get_info_2() produce different output · Issue #1692 · IfcOpenShell/IfcOpenShell · GitHub

Open Graph Title: get_info() and get_info_2() produce different output · Issue #1692 · IfcOpenShell/IfcOpenShell

X Title: get_info() and get_info_2() produce different output · Issue #1692 · IfcOpenShell/IfcOpenShell

Description: When evaluating get_info() and get_info_2(), I noticed that for the same IfcProduct, the output generated was slightly different even when using the same parameters. Python Script Snippet: import ifcopenshell ifc = ifcopenshell.open('XXX...

Open Graph Description: When evaluating get_info() and get_info_2(), I noticed that for the same IfcProduct, the output generated was slightly different even when using the same parameters. Python Script Snippet: import i...

X Description: When evaluating get_info() and get_info_2(), I noticed that for the same IfcProduct, the output generated was slightly different even when using the same parameters. Python Script Snippet: import i...

Mail addresses
models@ifcopenshell.org

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

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":"get_info() and get_info_2() produce different output","articleBody":"When evaluating get_info() and get_info_2(), I noticed that for the same IfcProduct, the output generated was slightly different even when using the same parameters.\r\n\r\nPython Script Snippet:\r\n```python\r\nimport ifcopenshell\r\nifc = ifcopenshell.open('XXX')\r\nproducts = ifc.by_type('IfcProduct')\r\nprint(products[401].get_info(include_identifier = True, recursive = True, return_type = dict, ignore = []))\r\nprint(products[401].get_info_2(include_identifier = True, recursive = True, return_type = dict, ignore = []))\r\n```\r\n\r\nI then copied both outputs produced, 'sorted' the JSON (JSTool Plug-In in Notepad++) and then did a line-by-line comparison.\r\n\r\nAs per the screenshot below, everything was identical except for IfcDirection and IfcCartesianPoint.\r\n\r\nI would have expected the output to be identical.\r\n\r\nUnfortunately I'm unable to share the file to reproduce this output but I'm happy to try bug fixes locally and report back if the issue is resolved.\r\n\r\n![image](https://user-images.githubusercontent.com/33851715/130758953-2e7c5a13-9608-4c62-8cbb-2312a9a2f64b.png)\r\n\r\nPS: I'm using ifcopenshell version: 0.6.0b0 on Windows 10 with Python 3.9.1 (Miniconda).\r\n","author":{"url":"https://github.com/benihildebrand","@type":"Person","name":"benihildebrand"},"datePublished":"2021-08-25T08:49:26Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/1692"}

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:570992ce-5287-7caf-950a-b8d8fd2bd18e
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idE3F6:18CB59:19124E:225414:6B04B41F
html-safe-nonce988e1a33c8ee4ce3beef408b494d0390d584fdf6202dc781ff40fe8b846ca451
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFM0Y2OjE4Q0I1OToxOTEyNEU6MjI1NDE0OjZCMDRCNDFGIiwidmlzaXRvcl9pZCI6IjU2OTIwNDI3OTM5MzgzNjc1MTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac6431e83346d9fcda76b1d847014b97e89e6f6d1097c49a2f1d4277ed627e3964
hovercard-subject-tagissue:978886209
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/1692/issue_layout
twitter:imagehttps://opengraph.githubassets.com/eec477c778b969f7452f841a7375835161b5a801ba898e7f3a163451e497a8da/IfcOpenShell/IfcOpenShell/issues/1692
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/eec477c778b969f7452f841a7375835161b5a801ba898e7f3a163451e497a8da/IfcOpenShell/IfcOpenShell/issues/1692
og:image:altWhen evaluating get_info() and get_info_2(), I noticed that for the same IfcProduct, the output generated was slightly different even when using the same parameters. Python Script Snippet: import i...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamebenihildebrand
hostnamegithub.com
expected-hostnamegithub.com
None378bd702ac792b3550e484ad39d9a898fcd25bb52ba6962b0c9cc457c1ea71c7
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
releaseb032e77f1ea437ede6c115446a0a467709b468e7
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/IfcOpenShell/IfcOpenShell/issues/1692#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FIfcOpenShell%2FIfcOpenShell%2Fissues%2F1692
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%2F1692
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/1692
Reloadhttps://github.com/IfcOpenShell/IfcOpenShell/issues/1692
Reloadhttps://github.com/IfcOpenShell/IfcOpenShell/issues/1692
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/1692
New issuehttps://github.com/login?return_to=https://github.com/IfcOpenShell/IfcOpenShell/issues/1692
get_info() and get_info_2() produce different outputhttps://github.com/IfcOpenShell/IfcOpenShell/issues/1692#top
https://github.com/benihildebrand
benihildebrandhttps://github.com/benihildebrand
on Aug 25, 2021https://github.com/IfcOpenShell/IfcOpenShell/issues/1692#issue-978886209
https://user-images.githubusercontent.com/33851715/130758953-2e7c5a13-9608-4c62-8cbb-2312a9a2f64b.png
https://github.com/aothms
aothmshttps://github.com/aothms
on Aug 25, 2021https://github.com/IfcOpenShell/IfcOpenShell/issues/1692#issuecomment-905704471
https://github.com/benihildebrand
benihildebrandhttps://github.com/benihildebrand
on Aug 30, 2021https://github.com/IfcOpenShell/IfcOpenShell/issues/1692#issuecomment-907989286
https://github.com/aothms
aothmshttps://github.com/aothms
on Aug 31, 2021https://github.com/IfcOpenShell/IfcOpenShell/issues/1692#issuecomment-909017624
https://github.com/Moult
Moulthttps://github.com/Moult
on Aug 31, 2021https://github.com/IfcOpenShell/IfcOpenShell/issues/1692#issuecomment-909019825
@benihildebrandhttps://github.com/benihildebrand
https://github.com/IfcOpenShell/IfcOpenShell/blob/v0.6.0/src/ifcpatch/ifcpatch/recipes/ExtractElements.pyhttps://github.com/IfcOpenShell/IfcOpenShell/blob/v0.6.0/src/ifcpatch/ifcpatch/recipes/ExtractElements.py
https://github.com/Moult
Moulthttps://github.com/Moult
on Nov 11, 2021https://github.com/IfcOpenShell/IfcOpenShell/issues/1692#issuecomment-965965410
@benihildebrandhttps://github.com/benihildebrand
https://github.com/benihildebrand
benihildebrandhttps://github.com/benihildebrand
on Dec 13, 2021https://github.com/IfcOpenShell/IfcOpenShell/issues/1692#issuecomment-992047291
v0.7.0-b9ea741https://s3.amazonaws.com/ifcopenshell-builds/ifcopenshell-python-38-v0.7.0-b9ea741-linux64.zip
https://user-images.githubusercontent.com/33851715/145741608-f18a5315-ed27-47db-b66b-26a9c98931a8.png
aothmshttps://github.com/aothms
on Dec 13, 2021https://github.com/IfcOpenShell/IfcOpenShell/issues/1692#event-5755378998
#1692 memory leak in get_info_2()https://github.com/IfcOpenShell/IfcOpenShell/commit/3380158f55006b736a108cf1cd5d1f6001c5a84b
#1692https://github.com/IfcOpenShell/IfcOpenShell/issues/1692
3380158https://github.com/IfcOpenShell/IfcOpenShell/commit/3380158f55006b736a108cf1cd5d1f6001c5a84b
https://github.com/aothms
aothmshttps://github.com/aothms
on Dec 13, 2021https://github.com/IfcOpenShell/IfcOpenShell/issues/1692#issuecomment-992273155
@benihildebrandhttps://github.com/benihildebrand
@Moulthttps://github.com/Moult
https://github.com/benihildebrand
benihildebrandhttps://github.com/benihildebrand
on Dec 14, 2021https://github.com/IfcOpenShell/IfcOpenShell/issues/1692#issuecomment-994058825
https://github.com/Moult
Moulthttps://github.com/Moult
on Jan 10, 2022https://github.com/IfcOpenShell/IfcOpenShell/issues/1692#issuecomment-1008478971
@Moulthttps://github.com/Moult
https://github.com/benihildebrand
benihildebrandhttps://github.com/benihildebrand
on Jan 17, 2022https://github.com/IfcOpenShell/IfcOpenShell/issues/1692#issuecomment-1014086486
v0.7.0-482788a4https://github.com/IfcOpenBot/IfcOpenShell/commit/482788a46fb3288bd7d1d504743e787f9e0486f4#commitcomment-63973776
aothmshttps://github.com/aothms
on Jan 17, 2022https://github.com/IfcOpenShell/IfcOpenShell/issues/1692#event-5903319427
#1692 get_info_2() logicalhttps://github.com/IfcOpenShell/IfcOpenShell/commit/531805fefb5ba0d8d7e010e0b0ec503f76d35180
#1692https://github.com/IfcOpenShell/IfcOpenShell/issues/1692
531805fhttps://github.com/IfcOpenShell/IfcOpenShell/commit/531805fefb5ba0d8d7e010e0b0ec503f76d35180
https://github.com/aothms
aothmshttps://github.com/aothms
on Jan 17, 2022https://github.com/IfcOpenShell/IfcOpenShell/issues/1692#issuecomment-1014359080
@benihildebrandhttps://github.com/benihildebrand
https://github.com/benihildebrand
benihildebrandhttps://github.com/benihildebrand
on Jan 18, 2022https://github.com/IfcOpenShell/IfcOpenShell/issues/1692#issuecomment-1015907821
abovehttps://github.com/IfcOpenShell/IfcOpenShell/issues/1692#issuecomment-992047291
https://user-images.githubusercontent.com/33851715/150031936-9cfdf9db-63b3-4965-b81b-bfb3f68b766d.png
https://github.com/benihildebrand
benihildebrandhttps://github.com/benihildebrand
on Jan 26, 2022https://github.com/IfcOpenShell/IfcOpenShell/issues/1692#issuecomment-1021759038
https://raw.githubusercontent.com/mvaerle/python-ifc/master/testdata/MergeTest.ifchttps://raw.githubusercontent.com/mvaerle/python-ifc/master/testdata/MergeTest.ifc
https://user-images.githubusercontent.com/33851715/151083473-2fa4603f-1de2-4e07-81d9-290fcf106cc8.png
https://github.com/aothms
aothmshttps://github.com/aothms
on Jan 26, 2022https://github.com/IfcOpenShell/IfcOpenShell/issues/1692#issuecomment-1022190754
https://standards.buildingsmart.org/IFC/RELEASE/IFC2x3/TC1/HTML/ifctopologyresource/lexical/ifcfaceouterbound.htmhttps://standards.buildingsmart.org/IFC/RELEASE/IFC2x3/TC1/HTML/ifctopologyresource/lexical/ifcfaceouterbound.htm
https://github.com/benihildebrand
benihildebrandhttps://github.com/benihildebrand
on Jan 31, 2022https://github.com/IfcOpenShell/IfcOpenShell/issues/1692#issuecomment-1025463461
benihildebrandhttps://github.com/benihildebrand
completedhttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Jan 31, 2022https://github.com/IfcOpenShell/IfcOpenShell/issues/1692#event-5978693260
https://github.com/aothms
aothmshttps://github.com/aothms
on Jan 31, 2022https://github.com/IfcOpenShell/IfcOpenShell/issues/1692#issuecomment-1025464185
@benihildebrandhttps://github.com/benihildebrand
Sign up for freehttps://github.com/signup?return_to=https://github.com/IfcOpenShell/IfcOpenShell/issues/1692
Sign in to commenthttps://github.com/login?return_to=https://github.com/IfcOpenShell/IfcOpenShell/issues/1692
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.