Title: Making a window/door from the Demo template parametric removes the materials · Issue #7652 · IfcOpenShell/IfcOpenShell · GitHub
Open Graph Title: Making a window/door from the Demo template parametric removes the materials · Issue #7652 · IfcOpenShell/IfcOpenShell
X Title: Making a window/door from the Demo template parametric removes the materials · Issue #7652 · IfcOpenShell/IfcOpenShell
Description: Bug Description When adding doors or windows and make them parametric, materials are lost. The problem lies with the demo template IFC: Imported windows have Blender materials ("Frame", "Glass") with IfcSurfaceStyle for appearance But no...
Open Graph Description: Bug Description When adding doors or windows and make them parametric, materials are lost. The problem lies with the demo template IFC: Imported windows have Blender materials ("Frame", "Glass") wi...
X Description: Bug Description When adding doors or windows and make them parametric, materials are lost. The problem lies with the demo template IFC: Imported windows have Blender materials ("Frame", &...
Opengraph URL: https://github.com/IfcOpenShell/IfcOpenShell/issues/7652
X: @github
Domain: github.com
IPv4 address: 140.82.112.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Making a window/door from the Demo template parametric removes the materials","articleBody":"### Bug Description\n\nWhen adding doors or windows and make them parametric, materials are lost. The problem lies with the demo template IFC:\n1. Imported windows have Blender materials (\"Frame\", \"Glass\") with IfcSurfaceStyle for appearance\n2. But no IfcMaterial entities exist - styles are orphaned (not associated with physical materials)\n3. When converting to parametric, update_window_modifier_representation checks props.lining_material etc.\n4. These props are \"0\" (no material selected), so it removes any existing material assignment\n\nThis probelm can be fixed in the demo file or with a mod in the python script that fixes the materials assignations when they follow this pattern. \n\n\n### Attachments\n\n_No response_\n\n### Debug and Error Output\n\n```true\n\n```","author":{"url":"https://github.com/jaliste","@type":"Person","name":"jaliste"},"datePublished":"2026-02-08T22:57:42Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/7652"}
| 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:e979c58b-46d2-8486-3946-64b3e6c89b18 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BC42:130418:24DBC:33540:6B04A98F |
| html-safe-nonce | 6fe467992f720feeac43ebba823e90375168a70e1f287092f85c8d4600e28e8c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQzQyOjEzMDQxODoyNERCQzozMzU0MDo2QjA0QTk4RiIsInZpc2l0b3JfaWQiOiI2MDY3ODMyNjM2ODM0MDk3NTUxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 66633daa8c42616385bf22fd92f90479fdbd93c2af056f7f52fd5253b96815f2 |
| hovercard-subject-tag | issue:3913752559 |
| 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/7652/issue_layout |
| twitter:image | https://opengraph.githubassets.com/33d499e4ab58e2194d8a429f08ff3e60f4446685a39a1f55680590eaf54cdaa5/IfcOpenShell/IfcOpenShell/issues/7652 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/33d499e4ab58e2194d8a429f08ff3e60f4446685a39a1f55680590eaf54cdaa5/IfcOpenShell/IfcOpenShell/issues/7652 |
| og:image:alt | Bug Description When adding doors or windows and make them parametric, materials are lost. The problem lies with the demo template IFC: Imported windows have Blender materials ("Frame", "Glass") wi... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jaliste |
| hostname | github.com |
| expected-hostname | github.com |
| None | f1d110ea058a0915c1d8aa3fc2069fa15801e128f591e5762525abe77490ecb1 |
| 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 | ffa22a65e4c46d376940fe34b05e6a7e9c7fdb9b |
| ui-target | canary-1 |
| 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