diff --git a/PlanarMechanics/Types/Color.mo b/PlanarMechanics/Types/Color.mo deleted file mode 100644 index fcc35649..00000000 --- a/PlanarMechanics/Types/Color.mo +++ /dev/null @@ -1,36 +0,0 @@ -within PlanarMechanics.Types; -type Color = Modelica.Icons.TypeInteger[3] (each min=0, each max=255) - "RGB representation of color (will be improved with a color editor)" - annotation ( - obsolete = "Obsolete type - use Modelica.Mechanics.MultiBody.Types.Color instead", - Dialog(colorSelector), - choices( - choice={0,0,0} "{0,0,0} \"black\"", - choice={155,0,0} "{155,0,0} \"dark red\"", - choice={255,0,0} "{255,0,0 } \"red\"", - choice={255,65,65} "{255,65,65} \"light red\"", - choice={0,128,0} "{0,128,0} \"dark green\"", - choice={0,180,0} "{0,180,0} \"green\"", - choice={0,230,0} "{0,230,0} \"light green\"", - choice={0,0,200} "{0,0,200} \"dark blue\"", - choice={0,0,255} "{0,0,255} \"blue\"", - choice={0,128,255} "{0,128,255} \"light blue\"", - choice={255,255,0} "{255,255,0} \"yellow\"", - choice={255,0,255} "{255,0,255} \"pink\"", - choice={100,100,100} "{100,100,100} \"dark grey\"", - choice={155,155,155} "{155,155,155} \"grey\"", - choice={255,255,255} "{255,255,255} \"white\""), - Documentation(revisions=" -

-\"DLR -Developed 2010 at the DLR Institute of System Dynamics and Control -

-", info=" -

-Type Color is an Integer vector with 3 elements, -{r, g, b}, and specifies the color of a shape. -{r,g,b} are the "red", "green" and "blue" -color parts. -Note, r g, b are given in the range 0 .. 255. -

-")); diff --git a/PlanarMechanics/Types/SpecularCoefficient.mo b/PlanarMechanics/Types/SpecularCoefficient.mo deleted file mode 100644 index 2eadd5e9..00000000 --- a/PlanarMechanics/Types/SpecularCoefficient.mo +++ /dev/null @@ -1,22 +0,0 @@ -within PlanarMechanics.Types; -type SpecularCoefficient = Modelica.Icons.TypeReal(min=0) - "Reflection of ambient light (= 0: light is completely absorbed)" - annotation ( - obsolete = "Obsolete type - use Modelica.Mechanics.MultiBody.Types.SpecularCoefficient instead", - choices(choice=0 "\"0.0 (dull)\"",choice=0.7 "\"0.7 (medium)\"", choice=1 - "\"1.0 (glossy)\""), - Documentation(info=" -

-Type SpecularCoefficient defines the reflection of -ambient light on shape surfaces. If value = 0, the light -is completely absorbed. Often, 0.7 is a reasonable value. -It might be that from some viewing directions, a body is no -longer visible, if the SpecularCoefficient value is too high. -In the following image, the different values of SpecularCoefficient -are shown for a cylinder: -

- -
-\"SpecularCoefficient -
-")); diff --git a/PlanarMechanics/Types/package.order b/PlanarMechanics/Types/package.order index 8b553321..e4bf3f28 100644 --- a/PlanarMechanics/Types/package.order +++ b/PlanarMechanics/Types/package.order @@ -1,3 +1 @@ -Color -SpecularCoefficient Defaults diff --git a/PlanarMechanics/UsersGuide/ReleaseNotes.mo b/PlanarMechanics/UsersGuide/ReleaseNotes.mo index bcfc4189..5478a130 100644 --- a/PlanarMechanics/UsersGuide/ReleaseNotes.mo +++ b/PlanarMechanics/UsersGuide/ReleaseNotes.mo @@ -5,6 +5,34 @@ class ReleaseNotes "Release notes" annotation ( Documentation( info=" +

Version 2.0.0, 2024-mm-dd

+

+This version requires the Modelica 4.0.0 Library. +It is backwards compatible to previous library versions. +

+ +

New components:

+ + +

Deleted components (conversion script provided):

+ + +

Version 1.6.0, 2023-09-12

This version requires the Modelica 4.0.0 Library.