Title: Custom IfcWindowType won't pick a representation when opening the file · Issue #5880 · IfcOpenShell/IfcOpenShell · GitHub
Open Graph Title: Custom IfcWindowType won't pick a representation when opening the file · Issue #5880 · IfcOpenShell/IfcOpenShell
X Title: Custom IfcWindowType won't pick a representation when opening the file · Issue #5880 · IfcOpenShell/IfcOpenShell
Description: Low Prio issue, but curious impact. Bit of a strange one. I have a custom window type I've created as a SKYLIGHT. When creating it I did futz around with the representations and deleted everything except the Model/Body/MODEL_VIEW, and it...
Open Graph Description: Low Prio issue, but curious impact. Bit of a strange one. I have a custom window type I've created as a SKYLIGHT. When creating it I did futz around with the representations and deleted everything ...
X Description: Low Prio issue, but curious impact. Bit of a strange one. I have a custom window type I've created as a SKYLIGHT. When creating it I did futz around with the representations and deleted everyth...
Opengraph URL: https://github.com/IfcOpenShell/IfcOpenShell/issues/5880
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Custom IfcWindowType won't pick a representation when opening the file","articleBody":"Low Prio issue, but curious impact.\r\n\r\nBit of a strange one. I have a custom window type I've created as a SKYLIGHT. When creating it I did futz around with the representations and deleted everything except the Model/Body/MODEL_VIEW, and it seems I broke something in the file. The reason for doing this being that a regular window footprint doesn't work for a skylight tilted at an angle. Now when opening the file, no representation is initially picked for the instances of this type, so I just have the manually cut roof hole, minus skylight. Now, I can go in and activate the representation for the instance/type, and this is fine until the next time I reload the file. If I forget to do this then any created drawings are missing the skylight, until I have activated the representation. I've tried \"Manually Save Representation\" and \"Convert to Tessellation\"... no effect. I've tried inspecting with the Debug panel, comparing it to a differently width-ed (but working) sibling. Even looking at that, I can't see an obvious culprit.\r\n\r\n[MessedUpWindow.zip](https://github.com/user-attachments/files/18142438/MessedUpWindow.zip)\r\n\r\nAttached test file just has the roof, a couple of skylight instances and the skylight types. The smaller skylight is the one causing problems. Setting the active representation on either the instance or the type will show the geometry. Save the ifc file, reload it, and the skylight is not represented again.\r\n\r\nIf I delete the instance, the type starts to behave as expected. I can then create a new instance, and the new instance is properly represented after a save/load cycle.\r\n\r\n```\r\nos: Linux\r\nos_version: #136-Ubuntu SMP Wed Nov 6 10:38:22 UTC 2024\r\npython_version: 3.11.7\r\narchitecture: ('64bit', 'ELF')\r\nmachine: x86_64\r\nprocessor: x86_64\r\nblender_version: 4.2.4 LTS\r\nbonsai_version: 0.8.1-alpha241201\r\nbonsai_commit_hash: 1ecf722\r\nlast_actions: \r\n\u003csnip - not relevant>\r\nlast_error: None\r\nifc: XXXXXXXXXXXXXXXX.ifc\r\nschema: IFC4\r\npreprocessor_version: IfcOpenShell 0.8.1-alpha241201\r\noriginating_system: Bonsai 0.8.1-alpha241201-1ecf722\r\n```","author":{"url":"https://github.com/sboddy","@type":"Person","name":"sboddy"},"datePublished":"2024-12-15T22:45:33Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/5880"}
| 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:725be74a-69dd-5128-ffa4-b6c1a6833621 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B500:171D41:A9D9C1:EC3F2A:6B048A33 |
| html-safe-nonce | 726587552f7222fc4f2f4e39260f0e7bc77a86c52bb929467fad03ae74b1141c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNTAwOjE3MUQ0MTpBOUQ5QzE6RUMzRjJBOjZCMDQ4QTMzIiwidmlzaXRvcl9pZCI6IjYzMDE5NDg2MjMwNTg3MjQzNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 92dd0ad785fcd5f360cfcdb3079e9cd352ba679e25cd16cae74d78f691a94f21 |
| hovercard-subject-tag | issue:2740953631 |
| 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/5880/issue_layout |
| twitter:image | https://opengraph.githubassets.com/53e2a71704b26b6fe46c65215949a51ea8a93fc526489bdb31e91561471c040f/IfcOpenShell/IfcOpenShell/issues/5880 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/53e2a71704b26b6fe46c65215949a51ea8a93fc526489bdb31e91561471c040f/IfcOpenShell/IfcOpenShell/issues/5880 |
| og:image:alt | Low Prio issue, but curious impact. Bit of a strange one. I have a custom window type I've created as a SKYLIGHT. When creating it I did futz around with the representations and deleted everything ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sboddy |
| hostname | github.com |
| expected-hostname | github.com |
| None | 1d5c152376e38b7d2e37f3d5179be29a73bee93b85110da28a4eebe1159cdc70 |
| 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 | f5017e8ff4ea25a8011fcf0f2a0e430c60dc86c8 |
| 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