Changeset 1046

Show
Ignore:
Timestamp:
02/24/2008 08:00:22 AM (11 months ago)
Author:
otter
Message:

Changed thickness and lineThickness annotation by dividing the current value by 4
(the previous value was not according to the Modelica 3.0 specification)

Location:
Modelica/trunk/Modelica
Files:
53 modified

Legend:

Unmodified
Added
Removed
  • Modelica/trunk/Modelica/Blocks/Continuous.mo

    r1044 r1046  
    12781278        points={{0,-120},{0,-92},{-92,-92},{-92,44},{-82,44}}, 
    12791279        color={0,0,127}, 
    1280         thickness=2)); 
     1280        thickness=0.5)); 
    12811281    connect(u_m, addD.u2) annotation (Line( 
    12821282        points={{0,-120},{0,-92},{-92,-92},{-92,-6},{-82,-6}}, 
    12831283        color={0,0,127}, 
    1284         thickness=2)); 
     1284        thickness=0.5)); 
    12851285    connect(u_m, addI.u2) annotation (Line( 
    12861286        points={{0,-120},{0,-92},{-92,-92},{-92,-50},{-82,-50}}, 
    12871287        color={0,0,127}, 
    1288         thickness=2)); 
     1288        thickness=0.5)); 
    12891289    connect(Dzero.y, addPID.u2) annotation (Line(points={{-19.5,25},{-14,25},{ 
    12901290            -14,0},{-2,0}}, color={0,0,127})); 
  • Modelica/trunk/Modelica/Blocks/Discrete.mo

    r1044 r1046  
    286286            points={{40,0},{-44,0}}, 
    287287            color={0,0,0}, 
    288             thickness=2), 
     288            thickness=0.5), 
    289289          Text( 
    290290            extent={{-54,54},{54,4}}, 
  • Modelica/trunk/Modelica/Blocks/Logical.mo

    r1044 r1046  
    533533            color={255,0,255}, 
    534534            pattern=LinePattern.Solid, 
    535             thickness=1, 
     535            thickness=0.25, 
    536536            arrow={Arrow.None,Arrow.None}), 
    537537          Line( 
     
    539539            color={255,0,255}, 
    540540            pattern=LinePattern.Solid, 
    541             thickness=1, 
     541            thickness=0.25, 
    542542            arrow={Arrow.None,Arrow.None}), 
    543543          Line( 
     
    545545            color={255,0,255}, 
    546546            pattern=LinePattern.Solid, 
    547             thickness=1, 
     547            thickness=0.25, 
    548548            arrow={Arrow.None,Arrow.None}), 
    549549          Line(points={{-40,12},{-40,-10}}, color={255,0,255}), 
     
    552552            points={{-40,80},{8,2}}, 
    553553            color={255,0,127}, 
    554             thickness=4), 
     554            thickness=1), 
    555555          Ellipse( 
    556556            extent={{2,8},{18,-6}}, 
     
    598598            points={{12,0},{100,0}}, 
    599599            pattern=LinePattern.Solid, 
    600             thickness=1, 
     600            thickness=0.25, 
    601601            arrow={Arrow.None,Arrow.None}, 
    602602            color={0,0,255}), 
     
    605605            color={255,0,127}, 
    606606            pattern=LinePattern.Solid, 
    607             thickness=1, 
     607            thickness=0.25, 
    608608            arrow={Arrow.None,Arrow.None}), 
    609609          Line( 
    610610            points={{-100,-80},{-40,-80},{-40,-80}}, 
    611611            pattern=LinePattern.Solid, 
    612             thickness=1, 
     612            thickness=0.25, 
    613613            arrow={Arrow.None,Arrow.None}, 
    614614            color={0,0,255}), 
     
    617617          Line( 
    618618            points={{-38,80},{6,2}}, 
    619             thickness=4, 
     619            thickness=1, 
    620620            color={0,0,255}), 
    621621          Ellipse( 
     
    671671            points={{-80,-70},{30,-70}}, 
    672672            color={0,0,0}, 
    673             thickness=2), 
     673            thickness=0.5), 
    674674          Line( 
    675675            points={{-50,10},{80,10}}, 
    676676            color={0,0,0}, 
    677             thickness=2), 
     677            thickness=0.5), 
    678678          Line( 
    679679            points={{-50,10},{-50,-70}}, 
    680680            color={0,0,0}, 
    681             thickness=2), 
     681            thickness=0.5), 
    682682          Line( 
    683683            points={{30,10},{30,-70}}, 
    684684            color={0,0,0}, 
    685             thickness=2), 
     685            thickness=0.5), 
    686686          Line( 
    687687            points={{-10,-65},{0,-70},{-10,-75}}, 
    688688            color={0,0,0}, 
    689             thickness=2), 
     689            thickness=0.5), 
    690690          Line( 
    691691            points={{-10,15},{-20,10},{-10,5}}, 
    692692            color={0,0,0}, 
    693             thickness=2), 
     693            thickness=0.5), 
    694694          Line( 
    695695            points={{-55,-20},{-50,-30},{-44,-20}}, 
    696696            color={0,0,0}, 
    697             thickness=2), 
     697            thickness=0.5), 
    698698          Line( 
    699699            points={{25,-30},{30,-19},{35,-30}}, 
    700700            color={0,0,0}, 
    701             thickness=2), 
     701            thickness=0.5), 
    702702          Text( 
    703703            extent={{-99,2},{-70,18}}, 
     
    800800            extent={{-92,74},{44,44}}, 
    801801            lineColor={0,0,0}, 
    802             lineThickness=2, 
     802            lineThickness=0.5, 
    803803            textString="reference"), 
    804804          Text( 
  • Modelica/trunk/Modelica/Blocks/Math.mo

    r1044 r1046  
    770770            points={{26,42},{-34,42},{6,2},{-34,-38},{26,-38}}, 
    771771            color={0,0,0}, 
    772             thickness=1), Text( 
     772            thickness=0.25), Text( 
    773773            extent={{-150,150},{150,110}}, 
    774774            textString="%name", 
     
    784784            points={{26,42},{-34,42},{6,2},{-34,-38},{26,-38}}, 
    785785            color={0,0,0}, 
    786             thickness=1)})); 
     786            thickness=0.25)})); 
    787787      equation 
    788788        y = k*u; 
     
    851851            extent={{-20,20},{20,-20}}, 
    852852            pattern=LinePattern.Solid, 
    853             lineThickness=1, 
     853            lineThickness=0.25, 
    854854            fillColor={235,235,235}, 
    855855            fillPattern=FillPattern.Solid, 
  • Modelica/trunk/Modelica/Blocks/Sources.mo

    r1044 r1046  
    246246            points={{0,0},{-50,50}}, 
    247247            color={0,0,0}, 
    248             thickness=2), 
     248            thickness=0.5), 
    249249          Line( 
    250250            points={{0,0},{40,0}}, 
    251251            color={0,0,0}, 
    252             thickness=2), 
     252            thickness=0.5), 
    253253          Text( 
    254254            extent={{-150,-150},{150,-110}}, 
     
    268268            points={{-80,0},{-10,0},{60,70}}, 
    269269            color={0,0,255}, 
    270             thickness=2), 
     270            thickness=0.5), 
    271271          Line(points={{-90,-70},{82,-70}}, color={95,95,95}), 
    272272          Polygon( 
     
    379379            points={{-80,0},{80,0}}, 
    380380            color={0,0,255}, 
    381             thickness=2), 
     381            thickness=0.5), 
    382382          Line(points={{-90,-70},{82,-70}}, color={95,95,95}), 
    383383          Polygon( 
     
    456456            points={{-80,-18},{0,-18},{0,50},{80,50}}, 
    457457            color={0,0,255}, 
    458             thickness=2), 
     458            thickness=0.5), 
    459459          Line(points={{-90,-70},{82,-70}}, color={95,95,95}), 
    460460          Polygon( 
     
    582582            points={{-80,-20},{-20,-20},{50,50}}, 
    583583            color={0,0,255}, 
    584             thickness=2), 
     584            thickness=0.5), 
    585585          Line(points={{-90,-70},{82,-70}}, color={95,95,95}), 
    586586          Polygon( 
     
    597597            points={{-40,-20},{-40,-70}}, 
    598598            color={95,95,95}, 
    599             thickness=1, 
     599            thickness=0.25, 
    600600            arrow={Arrow.None,Arrow.None}), 
    601601          Polygon( 
     
    632632            points={{-19,-20},{50,-20}}, 
    633633            color={95,95,95}, 
    634             thickness=1, 
     634            thickness=0.25, 
    635635            arrow={Arrow.None,Arrow.None}), 
    636636          Line( 
    637637            points={{50,50},{101,50}}, 
    638638            color={0,0,255}, 
    639             thickness=2), 
     639            thickness=0.5), 
    640640          Line( 
    641641            points={{50,50},{50,-20}}, 
    642642            color={95,95,95}, 
    643             thickness=1, 
     643            thickness=0.25, 
    644644            arrow={Arrow.None,Arrow.None}), 
    645645          Polygon( 
     
    749749                63.1,-61.9},{67.9,-47.2},{74,-24.8},{80,0}}, 
    750750            color={0,0,255}, 
    751             thickness=2), 
     751            thickness=0.5), 
    752752          Line( 
    753753            points={{-41,-2},{-80,-2}}, 
    754754            color={0,0,255}, 
    755             thickness=2), 
     755            thickness=0.5), 
    756756          Text( 
    757757            extent={{-87,12},{-40,0}}, 
     
    878878                -18},{80,-12.1}}, 
    879879            color={0,0,255}, 
    880             thickness=2), 
     880            thickness=0.5), 
    881881          Text( 
    882882            extent={{-80,17},{-57,-3}}, 
     
    907907            points={{-50,0},{-86,0}}, 
    908908            color={0,0,255}, 
    909             thickness=2), 
     909            thickness=0.5), 
    910910          Line(points={{-50,77},{-50,0}}, color={95,95,95}), 
    911911          Line(points={{18,-1},{18,76}}, color={95,95,95}), 
     
    10241024                -17.3},{80.9,-22.5},{90.8,-26.8},{100,-29.4}}, 
    10251025            color={0,0,255}, 
    1026             thickness=2), 
     1026            thickness=0.5), 
    10271027          Polygon( 
    10281028            points={{-80,86},{-86,64},{-74,64},{-80,86}}, 
     
    10571057            points={{-39,-34},{-80,-34}}, 
    10581058            color={0,0,255}, 
    1059             thickness=2), 
     1059            thickness=0.5), 
    10601060          Text( 
    10611061            extent={{-62,-76},{-17,-85}}, 
     
    11981198                50}}, 
    11991199            color={0,0,255}, 
    1200             thickness=2), 
     1200            thickness=0.5), 
    12011201          Line(points={{-10,88},{-10,49}}, color={95,95,95}), 
    12021202          Line(points={{30,74},{30,50}}, color={95,95,95}), 
     
    12371237            points={{90,50},{90,0},{100,0}}, 
    12381238            color={0,0,255}, 
    1239             thickness=2), 
     1239            thickness=0.5), 
    12401240          Polygon( 
    12411241            points={{-10,69},{-1,71},{-1,67},{-10,69}}, 
     
    14051405            points={{-80,-20},{-10,-20},{30,60},{30,-20},{72,60},{72,-20}}, 
    14061406            color={0,0,255}, 
    1407             thickness=2)}), 
     1407            thickness=0.5)}), 
    14081408      Documentation(info="<html> 
    14091409<p> 
     
    15971597                40},{99,40}}, 
    15981598            color={0,0,255}, 
    1599             thickness=2), 
     1599            thickness=0.5), 
    16001600          Polygon( 
    16011601            points={{-40,40},{-42,29},{-38,29},{-40,40}}, 
     
    17181718                60,-70},{60,0},{68,0}}, 
    17191719            color={0,0,0}, 
    1720             thickness=1), 
     1720            thickness=0.25), 
    17211721          Text( 
    17221722            extent={{2,80},{80,20}}, 
     
    17471747                60,-70},{60,0},{68,0}}, 
    17481748            color={0,0,255}, 
    1749             thickness=2), 
     1749            thickness=0.5), 
    17501750          Text( 
    17511751            extent={{-73,95},{-16,80}}, 
     
    18881888                {5,-70},{5,0},{18,0}}, 
    18891889            color={0,0,0}, 
    1890             thickness=1), 
     1890            thickness=0.25), 
    18911891          Text( 
    18921892            extent={{34,96},{94,66}}, 
     
    19331933                60,-70},{60,0},{68,0}}, 
    19341934            color={0,0,255}, 
    1935             thickness=2), 
     1935            thickness=0.5), 
    19361936          Text( 
    19371937            extent={{-72,96},{-15,81}}, 
     
    27972797            points={{-70,0},{80,0}}, 
    27982798            color={0,0,255}, 
    2799             thickness=2), 
     2799            thickness=0.5), 
    28002800          Text( 
    28012801            extent={{-69,20},{-49,0}}, 
     
    28452845            points={{-80,-70},{0,-70},{0,50},{80,50}}, 
    28462846            color={0,0,255}, 
    2847             thickness=2), 
     2847            thickness=0.5), 
    28482848          Text( 
    28492849            extent={{-15,-74},{20,-82}}, 
     
    29152915                20},{100,20}}, 
    29162916            color={0,0,255}, 
    2917             thickness=2), 
     2917            thickness=0.5), 
    29182918          Line(points={{-40,61},{-40,21}}, color={95,95,95}), 
    29192919          Line(points={{20,44},{20,20}}, color={95,95,95}), 
     
    30553055            points={{0,-70},{0,19}}, 
    30563056            color={0,0,255}, 
    3057             thickness=2), 
     3057            thickness=0.5), 
    30583058          Line( 
    30593059            points={{-30,-70},{-30,19}}, 
    30603060            color={0,0,255}, 
    3061             thickness=2), 
     3061            thickness=0.5), 
    30623062          Line( 
    30633063            points={{30,-70},{30,19}}, 
    30643064            color={0,0,255}, 
    3065             thickness=2), 
     3065            thickness=0.5), 
    30663066          Line( 
    30673067            points={{60,-70},{60,19}}, 
    30683068            color={0,0,255}, 
    3069             thickness=2)}), 
     3069            thickness=0.5)}), 
    30703070        Documentation(info="<html> 
    30713071<p> 
     
    32373237            points={{-80,0},{80,0}}, 
    32383238            color={0,0,255}, 
    3239             thickness=2), 
     3239            thickness=0.5), 
    32403240          Line(points={{-90,-70},{82,-70}}, color={95,95,95}), 
    32413241          Polygon( 
     
    33083308            points={{-80,-18},{0,-18},{0,50},{80,50}}, 
    33093309            color={0,0,255}, 
    3310             thickness=2), 
     3310            thickness=0.5), 
    33113311          Line(points={{-90,-70},{82,-70}}, color={95,95,95}), 
    33123312          Polygon( 
  • Modelica/trunk/Modelica/Blocks/package.mo

    r1044 r1046  
    393393      <b>extends</b> Modelica.Icons.ControlBus; 
    394394      <b>annotation</b> (Icon(Rectangle(extent=[-20, 2; 22, -2],  
    395                        style(rgbcolor={255,204,51}, thickness=2)))); 
     395                       style(rgbcolor={255,204,51}, thickness=0.5)))); 
    396396  <b>end</b> ControlBus; 
    397397</pre> 
     
    403403visible). As a result, when connecting from an instance of this 
    404404connector to another connector instance, the connecting line has 
    405 the color of the \"ControlBus\" with double width (due to \"thickness=2\"). 
     405the color of the \"ControlBus\" with double width (due to \"thickness=0.5\"). 
    406406</p> 
    407407 
     
    505505        points={{-40,-70},{30,-70},{30,2}}, 
    506506        color={255,204,51}, 
    507         thickness=2, 
     507        thickness=0.5, 
    508508        smooth=Smooth.None)); 
    509509    connect(gain.u, controlBus.realSignal1) annotation (Line( 
     
    534534                extent={{-20,2},{22,-2}}, 
    535535                lineColor={255,204,51}, 
    536                 lineThickness=2)}), 
     536                lineThickness=0.5)}), 
    537537          Diagram(coordinateSystem(preserveAspectRatio=true, extent={{-100,-100}, 
    538538                  {100,100}}), 
     
    559559                extent={{-20,2},{22,-2}}, 
    560560                lineColor={255,204,51}, 
    561                 lineThickness=2)}), 
     561                lineThickness=0.5)}), 
    562562          Documentation(info="<html> 
    563563<p> 
     
    590590                  extent={{-20,2},{22,-2}}, 
    591591                  lineColor={255,204,51}, 
    592                   lineThickness=2)}), 
     592                  lineThickness=0.5)}), 
    593593            Diagram(graphics), 
    594594            Documentation(info="<html> 
     
    614614                  extent={{-20,2},{22,-2}}, 
    615615                  lineColor={255,204,51}, 
    616                   lineThickness=2)}), 
     616                  lineThickness=0.5)}), 
    617617            Documentation(info="<html>