Title: Bugs in light simulation · Issue #5033 · IfcOpenShell/IfcOpenShell · GitHub
Open Graph Title: Bugs in light simulation · Issue #5033 · IfcOpenShell/IfcOpenShell
X Title: Bugs in light simulation · Issue #5033 · IfcOpenShell/IfcOpenShell
Description: I was testing out the light simulation feature newly merged in BlenderBIM. Following points require correction. When selecting a JSON path error is shown in linux showing both source and destination file paths used by shutil.copy as same...
Open Graph Description: I was testing out the light simulation feature newly merged in BlenderBIM. Following points require correction. When selecting a JSON path error is shown in linux showing both source and destinatio...
X Description: I was testing out the light simulation feature newly merged in BlenderBIM. Following points require correction. When selecting a JSON path error is shown in linux showing both source and destinatio...
Opengraph URL: https://github.com/IfcOpenShell/IfcOpenShell/issues/5033
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Bugs in light simulation","articleBody":"I was testing out the light simulation feature newly merged in BlenderBIM. Following points require correction.\r\n\r\n1. When selecting a JSON path error is shown in linux showing both source and destination file paths used by `shutil.copy` as same. Source of the error seems to be the below line which only works on windows.\r\nhttps://github.com/IfcOpenShell/IfcOpenShell/blob/9bf68db0806e451ae927ccb8a64a6c8ecbc13622/src/blenderbim/blenderbim/bim/module/light/operator.py#L156\r\nOn Linux this requires modification to `json_dest_path = os.path.join(blend_file_dir, json_file_path.split(\"/\")[-1])` to work correctly. Probably it may be better to use a platform agnostic method to achieve the logic.\r\n\r\n2. When path to the project directory contains white spaces, following error is reported when running 'Radiance Render'. It may be needed to escape the white spaces in the file paths before sub-process is called.\r\n\r\n\r\n\r\nFurther in the interface I find the following observations for improvement.\r\n\r\n\r\n\r\n1. I would question why the `IFC filename` field is required at all since the information is available for an active project. \r\n2. Also the `JSON file` field cannot be understood by the lay user. It should be possible to render out the project even if this field is missing by using the default parameters. Also better documentation is required in the tool tip explaining what is the JSON file.\r\n3. I would rename the `Export to OBJ` button to `Export Geometry for Render` and disable the `Radiance Render` button until geometry is exported.\r\n\r\nPlatform: `Ubuntu 22.04`\r\nBlender: `4.2`\r\nBlenderBIM: `0.7.10.240714`\r\n\r\n@chiragsingh1711 ","author":{"url":"https://github.com/manuvarkey","@type":"Person","name":"manuvarkey"},"datePublished":"2024-07-18T05:57:10Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/5033"}
| 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:36049eef-366b-ea61-4c35-122cae838385 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D8DA:20CE16:EA969:144062:6B04B0BF |
| html-safe-nonce | 73f316439da502be41cb1c18e893e2b0b2752484b478b3ee34bf8e18be42bb37 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOERBOjIwQ0UxNjpFQTk2OToxNDQwNjI6NkIwNEIwQkYiLCJ2aXNpdG9yX2lkIjoiNDc5MDI5OTEzNzIzOTQ2MjA4MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 75cc561568ca463cad9e756f03a224834e6235c77036cb5593c96c86a3adcc89 |
| hovercard-subject-tag | issue:2415431832 |
| 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/5033/issue_layout |
| twitter:image | https://opengraph.githubassets.com/00c0b6252988d0344a9544510ccd3d066275df83a82a2fed9317c9183ee45299/IfcOpenShell/IfcOpenShell/issues/5033 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/00c0b6252988d0344a9544510ccd3d066275df83a82a2fed9317c9183ee45299/IfcOpenShell/IfcOpenShell/issues/5033 |
| og:image:alt | I was testing out the light simulation feature newly merged in BlenderBIM. Following points require correction. When selecting a JSON path error is shown in linux showing both source and destinatio... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | manuvarkey |
| 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