Skip to content

Commit 1f5cfeb

Browse files
committed
Adding 2 more graphical changes from rubae
1 parent c374cfe commit 1f5cfeb

File tree

2 files changed

+80
-60
lines changed

2 files changed

+80
-60
lines changed

FastBuildings/Input/BaseClasses/Partial_SIM.mo

Lines changed: 67 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -13,45 +13,73 @@ an inner \"sim\" component is not defined.
1313
For simulation drag a sim from FastBuildings.Input
1414
into your model to specify your Simulation Input Manager.", Diagram(coordinateSystem(extent = {{-100,-100},{100,100}}, preserveAspectRatio = false, initialScale = 0.1, grid = {2,2}), graphics), Icon(coordinateSystem(extent={{-100,
1515
-100},{100,100}}, preserveAspectRatio=false, initialScale = 0.1, grid = {2,2}), graphics={
16-
Text(origin={
17-
0.3881,85.1468}, fillColor=
18-
{0,0,255}, extent={{
19-
-99.6119,13.1468},{99.6119,-13.1468}},
20-
textString="%name",
21-
lineColor={0,0,255}),
22-
Ellipse(
23-
extent={{-32,24},{30,-34}},
24-
lineColor={0,0,255},
25-
fillPattern=FillPattern.Solid,
26-
fillColor={0,0,255}),
27-
Line(
28-
points={{14,26},{34,54}},
29-
color={0,0,255},
30-
thickness=0.5,
31-
smooth=Smooth.None),
32-
Line(
33-
points={{36,-8},{38,-8},{74,-12}},
34-
color={0,0,255},
35-
thickness=0.5,
36-
smooth=Smooth.None),
37-
Line(
38-
points={{16,-34},{30,-66}},
39-
color={0,0,255},
40-
thickness=0.5,
41-
smooth=Smooth.None),
42-
Line(
43-
points={{-18,-34},{-34,-64}},
44-
color={0,0,255},
45-
thickness=0.5,
46-
smooth=Smooth.None),
16+
Rectangle(
17+
extent={{-60,50},{60,-50}},
18+
lineColor={95,95,95},
19+
fillPattern=FillPattern.Solid,
20+
fillColor={95,95,95}),
21+
Rectangle(
22+
extent={{-50,40},{50,-30}},
23+
fillPattern=FillPattern.Solid,
24+
fillColor={255,255,255},
25+
pattern=LinePattern.None),
26+
Rectangle(
27+
extent={{-10,-60},{10,-50}},
28+
pattern=LinePattern.None,
29+
fillColor={95,95,95},
30+
fillPattern=FillPattern.Solid,
31+
lineColor={0,0,0}),
32+
Polygon(
33+
points={{-40,-60},{-40,-60}},
34+
pattern=LinePattern.None,
35+
smooth=Smooth.None,
36+
fillColor={0,0,0},
37+
fillPattern=FillPattern.Solid),
38+
Polygon(
39+
points={{-40,-60},{40,-60},{50,-70},{-52,-70},{-40,-60}},
40+
smooth=Smooth.None,
41+
fillColor={95,95,95},
42+
fillPattern=FillPattern.Solid,
43+
pattern=LinePattern.None),
44+
Rectangle(
45+
extent={{44,-26},{38,14}},
46+
fillColor={0,0,127},
47+
fillPattern=FillPattern.Solid,
48+
pattern=LinePattern.None),
49+
Rectangle(
50+
extent={{34,-26},{28,-14}},
51+
fillColor={0,127,255},
52+
fillPattern=FillPattern.Solid,
53+
pattern=LinePattern.None),
54+
Rectangle(
55+
extent={{24,-26},{18,30}},
56+
fillColor={0,0,127},
57+
fillPattern=FillPattern.Solid,
58+
pattern=LinePattern.None),
59+
Rectangle(
60+
extent={{14,-26},{8,10}},
61+
fillColor={175,175,175},
62+
fillPattern=FillPattern.Solid,
63+
pattern=LinePattern.None),
64+
Rectangle(
65+
extent={{4,-26},{-2,-14}},
66+
fillColor={0,127,255},
67+
fillPattern=FillPattern.Solid,
68+
pattern=LinePattern.None),
4769
Line(
48-
points={{-36,-6},{-76,-4}},
49-
color={0,0,255},
50-
thickness=0.5,
70+
points={{-6,-26},{-46,-26}},
71+
color={0,0,127},
5172
smooth=Smooth.None),
52-
Line(
53-
points={{-22,24},{-40,52}},
54-
color={0,0,255},
55-
thickness=0.5,
56-
smooth=Smooth.None)}));
73+
Text(
74+
extent={{-50,40},{-20,0}},
75+
lineColor={95,95,95},
76+
fillColor={95,95,95},
77+
fillPattern=FillPattern.Solid,
78+
textStyle={TextStyle.Italic},
79+
fontName="Bookman Old Style",
80+
textString="i"),
81+
Text(
82+
extent={{-100,100},{100,60}},
83+
lineColor={0,0,193},
84+
textString="%name")}));
5785
end Partial_SIM;

FastBuildings/Zones/Windows/PartialWindow.mo

Lines changed: 13 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -10,34 +10,26 @@ partial model PartialWindow "Partial window model"
1010
-0.52412}, extent = {{-12,-12},{12,12}}, rotation = 0)));
1111

1212
annotation(Diagram(graphics),
13-
Icon(coordinateSystem(preserveAspectRatio=false, extent={
14-
{-100,-100},{100,100}}),
13+
Icon(coordinateSystem(preserveAspectRatio=false, extent={{-100,
14+
-100},{100,100}}),
1515
graphics={
1616
Rectangle(
1717
extent={{-60,80},{60,-80}},
1818
lineColor={95,95,95},
19-
lineThickness=0.5),
20-
Line(
21-
points={{0,56},{20,56},{20,76},{50,76}},
22-
color={95,95,95},
23-
smooth=Smooth.None),
24-
Line(
25-
points={{0,-24},{20,-24},{20,-74},{20,-74},{50,-74}},
26-
color={95,95,95},
27-
smooth=Smooth.None),
28-
Line(
29-
points={{0,56},{0,62},{0,96},{50,96}},
30-
color={95,95,95},
31-
smooth=Smooth.None),
32-
Line(
33-
points={{0,-24},{0,-94},{50,-94}},
34-
color={95,95,95},
35-
smooth=Smooth.None),
19+
lineThickness=1),
3620
Text(
37-
extent={{-100,102},{100,82}},
21+
extent={{-100,120},{100,92}},
3822
lineColor={95,95,95},
3923
lineThickness=0.5,
4024
fillColor={95,95,95},
4125
fillPattern=FillPattern.Solid,
42-
textString="%name")}));
26+
textString="%name"),
27+
Line(
28+
points={{0,80},{0,-80}},
29+
color={95,95,95},
30+
smooth=Smooth.None),
31+
Line(
32+
points={{-60,0},{54,0},{60,0}},
33+
color={95,95,95},
34+
smooth=Smooth.None)}));
4335
end PartialWindow;

0 commit comments

Comments
 (0)