Title: IFC does not store geometry of items added via asset browser · Issue #8947 · IfcOpenShell/IfcOpenShell · GitHub
Open Graph Title: IFC does not store geometry of items added via asset browser · Issue #8947 · IfcOpenShell/IfcOpenShell
X Title: IFC does not store geometry of items added via asset browser · Issue #8947 · IfcOpenShell/IfcOpenShell
Description: Bug Description Bug Description Assigning an IFC class to an object that was added to the scene via Blender's Asset Browser can result in an IFC product with a null Representation ($). The product is created correctly (placement, class, ...
Open Graph Description: Bug Description Bug Description Assigning an IFC class to an object that was added to the scene via Blender's Asset Browser can result in an IFC product with a null Representation ($). The product ...
X Description: Bug Description Bug Description Assigning an IFC class to an object that was added to the scene via Blender's Asset Browser can result in an IFC product with a null Representation ($). The prod...
Opengraph URL: https://github.com/IfcOpenShell/IfcOpenShell/issues/8947
X: @github
Domain: github.com
IPv4 address: 140.82.113.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"IFC does not store geometry of items added via asset browser","articleBody":"### Bug Description\n\n## Bug Description\n\nAssigning an IFC class to an object that was added to the scene via Blender's **Asset Browser** can result in an IFC product with a **null `Representation`** (`$`). The product is created correctly (placement, class, name), but no geometry is ever attached to it. This is not obvious until the project is saved and reopened, at which point the object appears in the outliner/spatial tree with no visible mesh.\n\nObjects added the same way via normal **File > Append / Import** (not the Asset Browser) do not show this problem.\n\n## Steps to Reproduce\n\nMinimal repro, two cubes in the same project — one added via Append/Import, one via the Asset Browser:\n\n1. Add a plain cube via normal means (File > Append/Import and assign it an IFC class (`IfcFurniture`) — this one is named `Cube` in the attached example.\n2. Open the Asset Browser, locate the cube asset from step 1, and drag it into the scene — this one is named `CubeAsset` in the attached file.\n3. Select `CubeAsset` and use **Assign Class** to give it the same IFC class (`IfcFurniture`).\n4. Save the project (File > Save Project, writing to the linked `.ifc`).\n5. Close and reopen the `.ifc` project.\n\n## Expected Behavior\n\nBoth cubes' geometry is present after reopening.\n\n## Actual Behavior\n\n`Cube` (added via Append/Import) keeps its geometry. `CubeAsset` (added via Asset Browser) exists in the outliner/spatial tree but has no geometry.\nInspecting the saved `.ifc` file confirms `CubeAsset`'s `Representation` attribute is null (`$`), rather than pointing to an `IfcProductDefinitionShape`.\n\n## Evidence: IFC excerpt\n\nFrom the attached `CubeTest.ifc`, the two `IfcFurniture` entities side by\nside:\n\n```\n#63=IFCFURNITURE('1TEqqO3gT2fQefvf0NFjlb',$,'CubeAsset',$,'CubeAsset',#74,$,$,.USERDEFINED.);\n ^ representation is null ($)\n\n#84=IFCFURNITURE('1Osc3BgYPFeOcpwMbsDH$9',$,'Cube',$,'Cube',#90,#85,$,.USERDEFINED.);\n#85=IFCPRODUCTDEFINITIONSHAPE($,$,(#83)); \u003c- valid shape reference\n#83=IFCSHAPEREPRESENTATION(#11,'Body','Tessellation',(#82));\n#82=IFCPOLYGONALFACESET(#75,$,(#76,#77,#78,#79,#80,#81),$);\n#75=IFCCARTESIANPOINTLIST3D(((-1.,-1.,1.),(-1.,1.,1.),(-1.,-1.,-1.),(-1.,1.,-1.),(1.,-1.,1.),(1.,1.,1.),(1.,-1.,-1.),(1.,1.,-1.)));\n```\n\n`Cube` (added via Append/Import) has a full tessellated box representation — 8 vertices, 6 faces — as expected for a unit cube. `CubeAsset` (added via Asset Browser) has no representation at all — not a corrupted one, just never created. Both objects are in the same `IfcBuildingStorey` (`IfcRelContainedInSpatialStructure` #69 references both #84 and #63), so this isn't a spatial-structure or context issue — it isolates cleanly to the Asset Browser origin of `CubeAsset`. \n\n### Attachments\n\n\u003cimg width=\"1610\" height=\"964\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/82f3ebaf-e4aa-4c12-98ae-a92285da2ab9\" />\n\n### Debug and Error Output\n\n```true\n\n```","author":{"url":"https://github.com/iorhanV","@type":"Person","name":"iorhanV"},"datePublished":"2026-07-25T05:34:17Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/8947"}
| 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:39ca4794-ab76-ee4b-021a-7df7911e4adf |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A294:13C02D:597069:7E3C1E:6B04774B |
| html-safe-nonce | eda76eb59a0b639213010a3883a4e8d15954b674c027e8200457b1b99e990832 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMjk0OjEzQzAyRDo1OTcwNjk6N0UzQzFFOjZCMDQ3NzRCIiwidmlzaXRvcl9pZCI6IjU3ODU2MDAyODU1OTA0NTIwNDMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 25cc672861c3d6ceea5f855f6646f1d45db6d802efcbaeb40cbd0044a971c21d |
| hovercard-subject-tag | issue:4974388812 |
| 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/8947/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7dc00085d73f242f4ea83dbe86780b5c2d0bdde8169a452c4bd135cd36b5c7a2/IfcOpenShell/IfcOpenShell/issues/8947 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7dc00085d73f242f4ea83dbe86780b5c2d0bdde8169a452c4bd135cd36b5c7a2/IfcOpenShell/IfcOpenShell/issues/8947 |
| og:image:alt | Bug Description Bug Description Assigning an IFC class to an object that was added to the scene via Blender's Asset Browser can result in an IFC product with a null Representation ($). The product ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | iorhanV |
| 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