Bonsai_Tutorials/097000_20250313_1542 - Creating a demolition plan with CSS rules/097000_20250313_1542 - Creating a demolition plan with CSS rules.srt

152 lines
3.6 KiB
Text

1
00:00:00,000 --> 00:00:06,640
So now with our newfound knowledge of how to change the default CSS file, let's use
2
00:00:06,640 --> 00:00:14,920
that knowledge to create a demolition plan where objects that we're going to demo in
3
00:00:14,920 --> 00:00:23,480
a certain phase will render red or dashed lines that are red and then the existing objects
4
00:00:23,480 --> 00:00:26,540
will be rendered blue.
5
00:00:26,540 --> 00:00:36,280
So before I do that, let me isolate the walls here just so I can better select things.
6
00:00:36,280 --> 00:00:44,140
So we are, if you remember last time we added this pset wall common with the status existing
7
00:00:44,140 --> 00:00:54,420
to that wall, I am going to select all those wall types and I'm going to remove that pset
8
00:00:54,420 --> 00:01:04,379
and instead I'm going to add an epset status there and add it and these are going to be
9
00:01:04,379 --> 00:01:13,180
existing and I got a copy to all of the selected ones.
10
00:01:13,180 --> 00:01:21,180
And I'm going to just duplicate this and I'm going to just extend it to there, extend that
11
00:01:21,180 --> 00:01:29,260
to there and I'm going to just duplicate this and move it over a little bit.
12
00:01:29,260 --> 00:01:36,620
Select these two new walls, actually they're going to be existing walls and add that pset
13
00:01:36,620 --> 00:01:41,620
to it, to those again and then they're going to be existing, I'm going to pull this out
14
00:01:41,620 --> 00:01:45,180
so you can see it, existing and demolition.
15
00:01:45,180 --> 00:01:50,020
Copy it to both walls and say okay.
16
00:01:50,300 --> 00:02:02,780
Now we want to tell the drawing to export that information to the SVG file.
17
00:02:02,780 --> 00:02:10,500
So go back to the drawing properties again and now we're going to still keep that because
18
00:02:10,500 --> 00:02:11,500
we want that.
19
00:02:11,500 --> 00:02:18,740
We're going to add a comma and we're going to add in this here, this epset status dot
20
00:02:18,740 --> 00:02:24,700
status so that's going to export out whether it's a demolished wall or whether it's existing
21
00:02:24,700 --> 00:02:25,700
wall.
22
00:02:25,700 --> 00:02:26,700
Say okay.
23
00:02:26,700 --> 00:02:41,060
Now we run the drawing and we're going to just select those walls there and just see
24
00:02:41,060 --> 00:02:44,500
what classes came out of it.
25
00:02:44,540 --> 00:02:51,220
So here it exported out that status information as you can see there.
26
00:02:51,220 --> 00:02:59,460
So now in our default CSS file, which is over here, we can add in those new classes and
27
00:02:59,460 --> 00:03:05,860
you can see off camera I've already added those in and commented them out so I'm going
28
00:03:05,860 --> 00:03:09,140
to comment them out.
29
00:03:09,140 --> 00:03:13,860
So this is the rule for existing objects.
30
00:03:13,860 --> 00:03:15,300
We're going to color blue.
31
00:03:15,300 --> 00:03:23,300
I have this different stroke colored blue and when you line them up one class to the
32
00:03:23,300 --> 00:03:33,780
next connected with a dot, it basically requires that you satisfy both the rules.
33
00:03:33,780 --> 00:03:40,020
So an object needs to have both a cut class and this class.
34
00:03:40,020 --> 00:03:45,340
And so again off camera I added this too.
35
00:03:45,340 --> 00:03:49,900
So this will render the demolished walls.
36
00:03:49,900 --> 00:03:58,100
So if I save that, go back here and rerun the drawing, hopefully things will change.
37
00:03:58,100 --> 00:04:01,460
Ah there we go.
38
00:04:01,460 --> 00:04:08,580
So the walls, existing walls are blue and that wall demoed walls is the red dash red.