Title: Revit IFC to Blender/Bonsai render, problems with faces and shading styles · Issue #6283 · IfcOpenShell/IfcOpenShell · GitHub
Open Graph Title: Revit IFC to Blender/Bonsai render, problems with faces and shading styles · Issue #6283 · IfcOpenShell/IfcOpenShell
X Title: Revit IFC to Blender/Bonsai render, problems with faces and shading styles · Issue #6283 · IfcOpenShell/IfcOpenShell
Description: Using Blender and Bonsai on IFC 4 exported from Revit. I've tried to assign styles for render. I encounter problems with: site: overlapping meshes (non manifold?); Some exterior walls contain overlapping faces. Several floors, walls and ...
Open Graph Description: Using Blender and Bonsai on IFC 4 exported from Revit. I've tried to assign styles for render. I encounter problems with: site: overlapping meshes (non manifold?); Some exterior walls contain overl...
X Description: Using Blender and Bonsai on IFC 4 exported from Revit. I've tried to assign styles for render. I encounter problems with: site: overlapping meshes (non manifold?); Some exterior walls contain o...
Opengraph URL: https://github.com/IfcOpenShell/IfcOpenShell/issues/6283
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Revit IFC to Blender/Bonsai render, problems with faces and shading styles","articleBody":"Using Blender and Bonsai on IFC 4 exported from Revit. I've tried to assign styles for render. I encounter problems with: \n1) site: overlapping meshes (non manifold?); \n2) Some exterior walls contain overlapping faces. \n3) Several floors, walls and parapets have wrong face orientation.\n4) I don't understand how to save bitmaps to Shading Style.\n\n1. To reproduce this, open uploaded file \n2. Click on 'face orientation' in viewport overlays\n3. See error\n\n**Attachments**\nIf applicable, add screenshots to help explain your problem. Please also drag-drop any files necessary to show the error (rename the file extension from .ifc to .txt to upload). Private files can be uploaded to https://ifcopenshell.org/upload.html - only viewed by core developers and will be deleted afterwards.\n\n\n\n**Debug information**\nIf this is in Bonsai, paste the output from the Copy Debug Information option in Bonsai. It can be found under Quality and Coordination -> Quality Control -> Debug. If this is a general software issue, if relevant include details about IfcOpenShell version, operating system, Python version, etc.\n```\nos: Windows\nos_version: 10.0.26100\npython_version: 3.11.9\narchitecture: ('64bit', 'WindowsPE')\nmachine: AMD64\nprocessor: Intel64 Family 6 Model 158 Stepping 10, GenuineIntel\nblender_version: 4.3.2\nbonsai_version: 0.8.2-alpha250305\nbonsai_commit_hash: 7c6e124\nlast_actions: \n# ifcopenshell.api: geometry.validate_type\n>>> {}\n# operator: BIM_OT_override_mode_set_edit\n# operator: BIM_OT_override_mode_set_edit\n# operator: BIM_OT_edit_surface_style\n# ifcopenshell.api: style.add_surface_style\n>>> {\"style\": {\"cast_type\": \"entity_instance\", \"value\": 71226, \"Name\": \"NLRS_s1_asfalt_rood\"}, \"ifc_class\": \"IfcSurfaceStyleShading\", \"attributes\": \"{'SurfaceColour': {'Red': 0.37777918577194214, 'Green': 0.06949714571237564, 'Blue': 0.05159121751785278}, 'Transparency': None}\"}\n# ifcopenshell.api: style.edit_surface_style\n>>> {\"style\": {\"cast_type\": \"entity_instance\", \"value\": 414761, \"Name\": null}, \"attributes\": \"{'SurfaceColour': {'Red': 0.37777918577194214, 'Green': 0.06949714571237564, 'Blue': 0.05159121751785278}, 'Transparency': None}\"}\n# ifcopenshell.api: style.remove_surface_style\n>>> {\"style\": {\"cast_type\": \"entity_instance\", \"value\": 71225, \"Name\": null}}\n# operator: BIM_OT_edit_surface_style\n# ifcopenshell.api: style.add_surface_style\n>>> {\"style\": {\"cast_type\": \"entity_instance\", \"value\": 71443, \"Name\": \"NLRS_s1_asfalt_zwart\"}, \"ifc_class\": \"IfcSurfaceStyleShading\", \"attributes\": \"{'SurfaceColour': {'Red': 0.11723829805850983, 'Green': 0.11490847170352936, 'Blue': 0.11490847170352936}, 'Transparency': None}\"}\n# ifcopenshell.api: style.edit_surface_style\n>>> {\"style\": {\"cast_type\": \"entity_instance\", \"value\": 414763, \"Name\": null}, \"attributes\": \"{'SurfaceColour': {'Red': 0.11723829805850983, 'Green': 0.11490847170352936, 'Blue': 0.11490847170352936}, 'Transparency': None}\"}\n# ifcopenshell.api: style.remove_surface_style\n>>> {\"style\": {\"cast_type\": \"entity_instance\", \"value\": 71442, \"Name\": null}}\n# operator: BIM_OT_override_mode_set_edit\n# operator: BIM_OT_override_mode_set_edit\n# operator: BIM_OT_override_mode_set_edit\n# operator: BIM_OT_override_mode_set_edit\n# operator: BIM_OT_override_mode_set_edit\n# operator: BIM_OT_override_mode_set_edit\n# operator: BIM_OT_override_mode_set_object\n# operator: BIM_OT_edit_extrusion_profile\n# operator: BIM_OT_override_object_delete\nlast_error: Traceback (most recent call last):\n File \"C:\\Users\\t_lang\\AppData\\Roaming\\Blender Foundation\\Blender\\4.3\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\bim\\ifc.py\", line 456, in execute_ifc_operator\n result = getattr(operator, \"_invoke\")(context, event)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"C:\\Users\\t_lang\\AppData\\Roaming\\Blender Foundation\\Blender\\4.3\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\bim\\module\\geometry\\operator.py\", line 2192, in _invoke\n bpy.ops.bim.edit_extrusion_profile()\n File \"C:\\Program Files\\WindowsApps\\BlenderFoundation.Blender_4.3.2.0_x64__ppwjx1n5r4v9t\\Blender\\4.3\\scripts\\modules\\bpy\\ops.py\", line 109, in __call__\n ret = _op_call(self.idname_py(), kw)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nRuntimeError: Error: Python: Traceback (most recent call last):\n File \"C:\\Users\\t_lang\\AppData\\Roaming\\Blender Foundation\\Blender\\4.3\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\bim\\ifc.py\", line 454, in execute_ifc_operator\n result = getattr(operator, \"_execute\")(context)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"C:\\Users\\t_lang\\AppData\\Roaming\\Blender Foundation\\Blender\\4.3\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\bim\\module\\model\\slab.py\", line 710, in _execute\n existing_x_angle = tool.Model.get_existing_x_angle(extrusion)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"C:\\Users\\t_lang\\AppData\\Roaming\\Blender Foundation\\Blender\\4.3\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\tool\\model.py\", line 2045, in get_existing_x_angle\n x, y, z = extrusion.ExtrudedDirection.DirectionRatios\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\nAttributeError: 'NoneType' object has no attribute 'ExtrudedDirection'\nLocation: C:\\Program Files\\WindowsApps\\BlenderFoundation.Blender_4.3.2.0_x64__ppwjx1n5r4v9t\\Blender\\4.3\\scripts\\modules\\bpy\\ops.py:109\n\n\nifc: 22_069_Unioncasa_N_Estense_LS_2022_IFC_4 RVA_rev_A.ifc\nschema: IFC4\npreprocessor_version: IfcOpenShell 0.8.2-alpha250305\noriginating_system: Bonsai 0.8.2-alpha250305-7c6e124\n```","author":{"url":"https://github.com/thorstenlang","@type":"Person","name":"thorstenlang"},"datePublished":"2025-03-06T14:13:03Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/6283"}
| 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:ce3ec257-2494-d6c9-0d94-b08a37d88368 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C560:26F6D6:FF31D:15F937:6B04B120 |
| html-safe-nonce | 16c75b3fcd7de360195dc65251c9e77f4d952fc492a06088470074e62679f98a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNTYwOjI2RjZENjpGRjMxRDoxNUY5Mzc6NkIwNEIxMjAiLCJ2aXNpdG9yX2lkIjoiNzQyOTMyNTc5MzUxMzQ4NDU3NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | d11351487e37ef24e85b3f5985a11fe71b7b99bf7f744e9b0bd2019f1339f279 |
| hovercard-subject-tag | issue:2900531275 |
| 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/6283/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9adc4e508541d0a4bb09981f0a528ca5b87975db2725c60230cce8e57b9ab19f/IfcOpenShell/IfcOpenShell/issues/6283 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9adc4e508541d0a4bb09981f0a528ca5b87975db2725c60230cce8e57b9ab19f/IfcOpenShell/IfcOpenShell/issues/6283 |
| og:image:alt | Using Blender and Bonsai on IFC 4 exported from Revit. I've tried to assign styles for render. I encounter problems with: site: overlapping meshes (non manifold?); Some exterior walls contain overl... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | thorstenlang |
| 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 | 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