Title: geom.tree does not retain wrapped_data.file leading to slowdowns and transaction bugs · Issue #3189 · IfcOpenShell/IfcOpenShell · GitHub
Open Graph Title: geom.tree does not retain wrapped_data.file leading to slowdowns and transaction bugs · Issue #3189 · IfcOpenShell/IfcOpenShell
X Title: geom.tree does not retain wrapped_data.file leading to slowdowns and transaction bugs · Issue #3189 · IfcOpenShell/IfcOpenShell
Description: So the quick fix in #1560 bit me when I realised tree.select/select_box does not give back elements with wrapped_data.file. I don't think BlenderBIM Add-on users are affected by this as we don't really use the tree much except indirectly...
Open Graph Description: So the quick fix in #1560 bit me when I realised tree.select/select_box does not give back elements with wrapped_data.file. I don't think BlenderBIM Add-on users are affected by this as we don't re...
X Description: So the quick fix in #1560 bit me when I realised tree.select/select_box does not give back elements with wrapped_data.file. I don't think BlenderBIM Add-on users are affected by this as we don&...
Opengraph URL: https://github.com/IfcOpenShell/IfcOpenShell/issues/3189
X: @github
Domain: github.com
IPv4 address: 140.82.113.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"geom.tree does not retain wrapped_data.file leading to slowdowns and transaction bugs","articleBody":"So the quick fix in #1560 bit me when I realised tree.select/select_box does not give back elements with wrapped_data.file. I don't think BlenderBIM Add-on users are affected by this as we don't really use the tree much except indirectly in IfcClash. However it does affect anybody using tree in their custom scripts and leads to huge equality check slowdowns like I was experiencing last week.\r\n\r\n@aothms I can take a shot at fixing this, but do you have an opinion on how it is to be fixed? Can tree work across multiple files? I see tree already has an optional file arg. Are you using tree in a way that you'd prefer graceful fallback behaviour?\r\n\r\nRight now I am simply patching it on my end by getting the results of `tree.select()` then doing `file.by_id(r.id()) for r in results`..","author":{"url":"https://github.com/Moult","@type":"Person","name":"Moult"},"datePublished":"2023-05-24T02:56:51Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/3189"}
| 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:10092924-2972-8d77-3052-0aab662b05f5 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E012:295BC8:47506:6368F:6B04AA2B |
| html-safe-nonce | 87d79a29bc07cafc077ebf57a526153cc12c2327068403e7faa79b1c671a07a5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMDEyOjI5NUJDODo0NzUwNjo2MzY4Rjo2QjA0QUEyQiIsInZpc2l0b3JfaWQiOiI2ODQwODA2MTk0Njc3MDY2MjgzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 2e564aa1e9081b9cbdebb3e22b60a36d59442b9b762f6ffeb101f1a38fbc20ea |
| hovercard-subject-tag | issue:1723095134 |
| 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/3189/issue_layout |
| twitter:image | https://opengraph.githubassets.com/941eae90ad1237ac874892e82d8ee6bd1a836ea5f541561ffed5cb4431ebaaa4/IfcOpenShell/IfcOpenShell/issues/3189 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/941eae90ad1237ac874892e82d8ee6bd1a836ea5f541561ffed5cb4431ebaaa4/IfcOpenShell/IfcOpenShell/issues/3189 |
| og:image:alt | So the quick fix in #1560 bit me when I realised tree.select/select_box does not give back elements with wrapped_data.file. I don't think BlenderBIM Add-on users are affected by this as we don't re... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Moult |
| hostname | github.com |
| expected-hostname | github.com |
| None | 188497a0f45a7aa8f7c866faa1950d1a7f8d82b59416adf549b222ad1d1dd19b |
| 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 | 557cfbac6cdb532730c95c90f2cefdc0c4128029 |
| 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