Title: Assets are not tracked in BBIM IFC Git repositories · Issue #3783 · IfcOpenShell/IfcOpenShell · GitHub
Open Graph Title: Assets are not tracked in BBIM IFC Git repositories · Issue #3783 · IfcOpenShell/IfcOpenShell
X Title: Assets are not tracked in BBIM IFC Git repositories · Issue #3783 · IfcOpenShell/IfcOpenShell
Description: Although a Git repository can track many files, the BlenderBIM IFC Git functionality tracks one IFC file at a time (you can have multiple IFC files in a repo, but you need to commit them separately, which I think works ok conceptually si...
Open Graph Description: Although a Git repository can track many files, the BlenderBIM IFC Git functionality tracks one IFC file at a time (you can have multiple IFC files in a repo, but you need to commit them separately...
X Description: Although a Git repository can track many files, the BlenderBIM IFC Git functionality tracks one IFC file at a time (you can have multiple IFC files in a repo, but you need to commit them separately...
Opengraph URL: https://github.com/IfcOpenShell/IfcOpenShell/issues/3783
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Assets are not tracked in BBIM IFC Git repositories","articleBody":"Although a Git repository can track many files, the BlenderBIM IFC Git functionality tracks one IFC file at a time (you can have multiple IFC files in a repo, but you need to commit them separately, which I think works ok conceptually since BlenderBIM only does one file at a time).\r\n\r\nBut a BlenderBIM project can have non-IFC assets and these should be tracked in the repo too:\r\n\r\n* There are files related to generating drawings, these are paths relative to the IFC file: `stylesheet_path`, `markers_path`, `symbols_path`, `patterns_path`, and all files in `titleblocks_dir`.\r\n* I think that everything in `sheets_dir` and `layouts_dir` is generated, so it *shouldn't* be tracked.\r\n* There are IFC files in `pset_dir`, do these need to be shared when the project is shared?\r\n* There is a JSON file in `shading_styles_path`, I'm not sure what this does. It doesn't look like something you would want to share with other users.\r\n* There are also externally defined styles that would be .blend files and maybe JPEG, PNG etc..\r\n* Anything else?\r\n\r\nSo there are some problems here:\r\n\r\n1. The IFC Git interface can handle a merge conflict with IFC files, but it can't resolve JSON, CSS, SVG conflicts (unless it arbitrarily clobbers files).\r\n2. IFC project files can be in sub-folders within the repository, if these paths are relative to the parent IFC these assets may exist multiple times in a single repository. Whereas IFC files in the same folder typically share assets, except when they don't.\r\n3. The relative paths such as `stylesheet_path` are actually blender user settings, but they are then stored in the IFC, once per 'drawing'. Similarly IfcExternallyDefinedSurfaceStyle has a URI defined in the IFC project itself. If I want to track every asset needed to share the current IFC project I need to iterate through all the drawings and external defined styles in the IFC, and collect the stored paths, determine if the files exist in the repo folder, add, commit them etc..\r\n4. Titleblocks need to be shared, but the IFC internally doesn't distinguish these with layouts and drawings which are generated.\r\n5. SVG files can include other files, they would also need to be parsed (recursively) to collect everything needed to generate drawings. \r\n\r\nI think that attempting to track all this in Git with BlenderBIM is likely to break horribly, particularly I don't have a good solution for (1), everything else is doable. So for the time being users need to use an external Git GUI for this stuff.\r\n\r\nAnyway, just needed to put this in writing and see if anyone has ideas for resolving (1).","author":{"url":"https://github.com/brunopostle","@type":"Person","name":"brunopostle"},"datePublished":"2023-09-21T12:29:24Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/3783"}
| 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:4e8a7b9b-4736-d3c1-c457-5cff2bc9a5e6 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 86F6:27570E:47457:62352:6B04AE29 |
| html-safe-nonce | c7335725cc1891127ef5367f6ab9cde68fbf960fbfc0820e24236fa6c2da9499 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NkY2OjI3NTcwRTo0NzQ1Nzo2MjM1Mjo2QjA0QUUyOSIsInZpc2l0b3JfaWQiOiI0MjY3NTg5NTYxMzQzMDYxNTQ1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 45a3daa328626641337f7738d1834980fca71eaea73ba3cf1b54018574dfc6dd |
| hovercard-subject-tag | issue:1906865121 |
| 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/3783/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5c25f947e5ce8f3726230b20c9b76351f4b6c7db4d467793ab55c6c04cdcb3c2/IfcOpenShell/IfcOpenShell/issues/3783 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5c25f947e5ce8f3726230b20c9b76351f4b6c7db4d467793ab55c6c04cdcb3c2/IfcOpenShell/IfcOpenShell/issues/3783 |
| og:image:alt | Although a Git repository can track many files, the BlenderBIM IFC Git functionality tracks one IFC file at a time (you can have multiple IFC files in a repo, but you need to commit them separately... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | brunopostle |
| 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