Bonsai_Tutorials/055000_20250224_1227 - Using GIT to see the DIFFs between IFC versions/055000_20250224_1227 -Using GIT to see the DIFFs between IFC versions.srt

56 lines
2.3 KiB
Text

1
00:00:00,000 --> 00:00:14,000
So as you probably already guessed, every video has its own kind of folder and then within that folder is obviously the video and then the files associated with that lesson.
2
00:00:15,000 --> 00:00:18,000
So this is where we started the IFC file.
3
00:00:19,000 --> 00:00:26,000
This one I don't think we made any many changes, but it saved it anyways. This third one is when we changed those cubes.
4
00:00:26,000 --> 00:00:37,000
But I also added this model folder here, underscore model folder, where I saved the change of the IFC file after every video.
5
00:00:38,000 --> 00:00:50,000
And the reason I do that is because you can visualize the changes, the diffs essentially, using Git between one iteration of the file to the next.
6
00:00:50,000 --> 00:01:03,000
And so if you go to the hub, opening design, and go to model, and then click on the IFC file, you can view history.
7
00:01:04,000 --> 00:01:16,000
And it basically tells you, if you click on one of these commits, it tells you what the changes were in the actual IFC file from the previous one.
8
00:01:16,000 --> 00:01:20,000
So here you can tell some of the faces have changed on those cubes.
9
00:01:21,000 --> 00:01:33,000
That's the nice thing about how Bonsai and also FreeCAD manages IFC files is that it doesn't rewrite the whole file over again.
10
00:01:34,000 --> 00:01:49,000
It only adds those changes essentially to, it appends it to the end of the IFC file, or if you're changing some parameter, it actually just changes the parameter in the file.
11
00:01:50,000 --> 00:01:59,000
So you can then use these industry-wide tools in the software development world to actually diff these IFC files.
12
00:01:59,000 --> 00:02:17,000
And there's some exciting implications for that where obviously here you can see what was ultimately changed, but then you can tie it to a visual interface, and I'll show that later, where you actually visually see what has changed and what has not.
13
00:02:18,000 --> 00:02:25,000
For example, objects will turn green if they're new, or blue I think if they've changed, or red if they've been deleted.
14
00:02:25,000 --> 00:02:35,000
So that's an exciting part of what Bonsai and FreeCAD does in utilizing the native IFC approach, as it's called.