Bonsai_Tutorials/095000_20250313_1301 - Changing the default.css/095000_20250313_1301 - Changing the default.css.srt

136 lines
3.5 KiB
Text

1
00:00:00,000 --> 00:00:05,160
So let's try to change some of these assets and see how they affect our
2
00:00:05,160 --> 00:00:12,840
drawing. So before I change anything I'm just gonna run a drawing to see what it
3
00:00:12,840 --> 00:00:16,520
looks like without changing anything.
4
00:00:16,520 --> 00:00:35,560
Okay, alright. So let us go to the default CSS here. So let's just for fun change
5
00:00:35,560 --> 00:00:42,720
that to red and save it. Then go back to your Blender file. So here's a little
6
00:00:42,760 --> 00:00:52,120
trick. If you've run the drawing and your background shading doesn't change you
7
00:00:52,120 --> 00:00:56,760
can click on this and so it'll use the cache settings so it won't run the
8
00:00:56,760 --> 00:01:03,420
rendering which takes a long time or longer when you run your drawings. So
9
00:01:03,420 --> 00:01:11,400
with a cache enabled and you hit run your drawing it should go faster. So here
10
00:01:11,400 --> 00:01:17,920
you can see what that rule that we changed what it affects the actual text
11
00:01:17,920 --> 00:01:23,000
in the file. You can see it's red. So let's change a couple of other things.
12
00:01:23,000 --> 00:01:36,920
Let's do a cut pattern. Let's do a fill. I don't know a yellow fill and let's do a
13
00:01:37,080 --> 00:01:55,200
magenta stroke. So save. Run the drawing again and beautiful. Yes. Keep going here.
14
00:01:55,200 --> 00:02:10,520
Annotation. Let's try that. Let's try blue maybe. Save. Like here. Run the drawing.
15
00:02:12,880 --> 00:02:22,400
There you go. You can see there's only a few things that get changed there. Let us...
16
00:02:22,400 --> 00:02:28,720
Oh I have CNT. That's probably what we wanted. So I'm going to change that to I
17
00:02:28,720 --> 00:02:42,680
don't know that kind of color. Save. Run the drawing. There we go. So that leader
18
00:02:42,680 --> 00:02:50,440
line work changed the color and the grid lines. So a little trick if you're using
19
00:02:50,600 --> 00:02:57,760
Google Chrome or a lot of these browsers do this. If you zoom into some geometry
20
00:02:57,760 --> 00:03:04,840
and the right-click on it and say inspect you can actually see those rules
21
00:03:04,840 --> 00:03:14,160
that apply to that geometry and you can actually change it here if you want to.
22
00:03:14,200 --> 00:03:21,840
So you could change the color here. It doesn't save it back into the CSS file
23
00:03:21,840 --> 00:03:28,560
so you would have to just copy it here and then go back and paste in that
24
00:03:28,560 --> 00:03:34,400
information into the file here. But it's kind of a nice way to work out the
25
00:03:34,400 --> 00:03:42,800
colors and line thicknesses that you're looking to achieve. Also too you
26
00:03:42,800 --> 00:03:49,840
can tell what rule is applied to that. You know obviously this IFC annotation
27
00:03:49,840 --> 00:03:56,720
class rule is applied to that but also there's this rule that's affecting the
28
00:03:56,720 --> 00:04:04,000
dashed line. So you can just change it here if you want just to see how it's
29
00:04:04,000 --> 00:04:12,000
affected. And then if you like that ultimately you can copy. Then we got to
30
00:04:12,000 --> 00:04:17,839
find that rule back in our file.
31
00:04:19,200 --> 00:04:27,760
Oh there we go. So yeah you can reapply it here. Make sure you get your curly
32
00:04:27,760 --> 00:04:30,520
brackets in there.
33
00:04:30,520 --> 00:04:47,039
And save. And if we go back to the drawing again those styles for
34
00:04:47,039 --> 00:04:50,039
that line have changed.