Title: ifcdiff: property diff compares pset STEP ids; geometry skipped without MODEL_VIEW; shape fingerprint misses symmetric edits · Issue #9610 · IfcOpenShell/IfcOpenShell · GitHub
Open Graph Title: ifcdiff: property diff compares pset STEP ids; geometry skipped without MODEL_VIEW; shape fingerprint misses symmetric edits · Issue #9610 · IfcOpenShell/IfcOpenShell
X Title: ifcdiff: property diff compares pset STEP ids; geometry skipped without MODEL_VIEW; shape fingerprint misses symmetric edits · Issue #9610 · IfcOpenShell/IfcOpenShell
Description: Bug Description I found these while diffing consecutive versions of the public Schependomlaan weekly models, with elements paired by Tag. The same code is on v0.8.0, v0.9.0 and master (checked 2026-09-27). The container/aggregate cross-f...
Open Graph Description: Bug Description I found these while diffing consecutive versions of the public Schependomlaan weekly models, with elements paired by Tag. The same code is on v0.8.0, v0.9.0 and master (checked 2026...
X Description: Bug Description I found these while diffing consecutive versions of the public Schependomlaan weekly models, with elements paired by Tag. The same code is on v0.8.0, v0.9.0 and master (checked 2026...
Opengraph URL: https://github.com/IfcOpenShell/IfcOpenShell/issues/9610
X: @github
Domain: github.com
IPv4 address: 140.82.113.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"ifcdiff: property diff compares pset STEP ids; geometry skipped without MODEL_VIEW; shape fingerprint misses symmetric edits","articleBody":"### Bug Description\n\nI found these while diffing consecutive versions of the public Schependomlaan weekly models, with elements paired by `Tag`. The same code is on `v0.8.0`, `v0.9.0` and `master` (checked 2026-09-27). The container/aggregate cross-file comparison also showed up, but that is already tracked in #4110 / #9312.\n\n**1. `property`: the `id` exclusion never matches.**\n- `diff_element_relationships` passes `exclude_regex_paths=[r\".*id$\"]`.\n- deepdiff reports the path as `root['Pset_X']['id']`. That ends in `']`, so the regex never matches and the pset's STEP id gets compared.\n- When two versions of a model number their entities differently, every element with a pset is flagged. On a real weekly pair (1,025 elements matched by Tag), all 1,025 were flagged, e.g. `{\"root['SynchroResourceProperty']['id']\": {\"old_value\": 36170, \"new_value\": 72159}}`. With `r\".*\\['id'\\]$\"` excluded instead, 0 were.\n- `diff_representation_item` already uses `r\".*id']$\"`. The same pattern would fix this one.\n\n**2. Geometry is queued only for elements with a `Model/Body/MODEL_VIEW` representation.**\n- Files whose body context has no `MODEL_VIEW` target view get no geometry check at all, and nothing reports that. The Schependomlaan weekly models are an example.\n- Calling `summarise_shapes` directly on the same elements works.\n\n**3. The shape fingerprint misses edits that keep its four numbers.**\n- `summarise_shapes` reduces a shape to:\n - `total_verts` and `sum_verts`;\n - `min_vert` / `max_vert`, pooled over x, y and z;\n - the placement matrix, plus openings and projections.\n- An edit that keeps all four numbers is not reported. Example on a Schependomlaan weekly model: an `IfcWallStandardCase` thickened 1.5× about its own centre.\n - Its brep x values go from `[0, 40]` to `[-10, 50]` mm.\n - The vertex count and sum are unchanged, and the pooled min and max come from the other axes.\n - Diffing it against the original gives an empty `change_register`.\n- A move or an asymmetric reshape of the same element is caught.\n- Per-axis bounds, or a hash of the rounded vertex array, would catch it. If the fingerprint is a deliberate speed trade-off, documenting it would help.\n\nHappy to open a PR for 1 if that helps.\n\n### Attachments\n\nThe weekly models are the public Schependomlaan `*_incl_planningsdata.ifc` series. I can upload a trimmed pair if that helps.\n\n### Debug and Error Output\n\nifcopenshell 0.8.5, ifcdiff 0.8.5, deepdiff 9.1.0, orderly-set 5.5.0 (PyPI), Python 3.12.3, Linux (WSL2).\n","author":{"url":"https://github.com/ronmikailov","@type":"Person","name":"ronmikailov"},"datePublished":"2026-09-27T17:20:24Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/9610"}
| 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:cee761a9-999a-a76f-b3f3-2c9dff7dc3f5 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DAD6:20EE9C:60017B:872B5B:6B04780D |
| html-safe-nonce | 590d4a2e7481736fc82dc6e2735c45f280e4f1e034a1b855b2745309e2aca8cf |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQUQ2OjIwRUU5Qzo2MDAxN0I6ODcyQjVCOjZCMDQ3ODBEIiwidmlzaXRvcl9pZCI6IjM0NTUyMTUwMTI5MDg2NjA3NDkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | b6d02e2ad7a9ae5094f0affc83ab80591202cbe7aefa306d393ce67bcf0608ad |
| hovercard-subject-tag | issue:5604707557 |
| 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/9610/issue_layout |
| twitter:image | https://opengraph.githubassets.com/efcf65cf2d56095a832ead4a22fce02a9b86dacd443feedbf5b2873627d47c1a/IfcOpenShell/IfcOpenShell/issues/9610 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/efcf65cf2d56095a832ead4a22fce02a9b86dacd443feedbf5b2873627d47c1a/IfcOpenShell/IfcOpenShell/issues/9610 |
| og:image:alt | Bug Description I found these while diffing consecutive versions of the public Schependomlaan weekly models, with elements paired by Tag. The same code is on v0.8.0, v0.9.0 and master (checked 2026... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ronmikailov |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9c099f1b85def81ca352464c276510dfef32deaf3c305404e65b8d270284a58b |
| 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 | cf73f57448d52b3a7b619195e182b33d3b3454ca |
| 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