Skip to content

Commit

Permalink
Delete obsolete parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
tobolar committed Dec 5, 2023
1 parent d8c529c commit ea1e798
Show file tree
Hide file tree
Showing 7 changed files with 27 additions and 21 deletions.
3 changes: 0 additions & 3 deletions PlanarMechanics/Sensors/CutForce.mo
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ model CutForce "Measure cut force vector"
input Real N_to_m(unit="N/m") = planarWorld.defaultN_to_m
"Force arrow scaling (length = force/N_to_m)"
annotation (Dialog(group="if animation = true", enable=animation));
input SI.Diameter forceDiameter = planarWorld.defaultArrowDiameter
"Has no longer an effect and is only kept for backwards compatibility (arrow visualization by Vector now)"
annotation (Dialog(group="if animation = true", enable=animation));
input MB.Types.Color forceColor = Modelica.Mechanics.MultiBody.Types.Defaults.ForceColor
"Color of force arrow"
annotation (HideResult=true, Dialog(colorSelector=true, group="if animation = true", enable=animation));
Expand Down
6 changes: 0 additions & 6 deletions PlanarMechanics/Sensors/CutForceAndTorque.mo
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,6 @@ model CutForceAndTorque "Measure cut force vector and cut torque"
input Real Nm_to_m(unit="N.m/m") = planarWorld.defaultNm_to_m
"Torque arrow scaling (length = torque/Nm_to_m)"
annotation (Dialog(group="if animation = true", enable=animation));
input SI.Diameter forceDiameter = planarWorld.defaultArrowDiameter
"Has no longer an effect and is only kept for backwards compatibility (arrow visualization by Vector now)"
annotation (Dialog(group="if animation = true", enable=animation));
input SI.Diameter torqueDiameter = forceDiameter
"Has no longer an effect and is only kept for backwards compatibility (arrow visualization by Vector now)"
annotation (Dialog(group="if animation = true", enable=animation));
input MB.Types.Color forceColor = Modelica.Mechanics.MultiBody.Types.Defaults.ForceColor
"Color of force arrow"
annotation (HideResult=true, Dialog(colorSelector=true, group="if animation = true", enable=animation));
Expand Down
3 changes: 0 additions & 3 deletions PlanarMechanics/Sensors/CutTorque.mo
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ model CutTorque "Measure cut torque"
input Real Nm_to_m(unit="N.m/m") = planarWorld.defaultNm_to_m
"Torque arrow scaling (length = torque/Nm_to_m)"
annotation (Dialog(group="if animation = true", enable=animation));
input SI.Diameter torqueDiameter = planarWorld.defaultArrowDiameter
"Has no longer an effect and is only kept for backwards compatibility (arrow visualization by Vector now)"
annotation (Dialog(group="if animation = true", enable=animation));
input MB.Types.Color torqueColor = Modelica.Mechanics.MultiBody.Types.Defaults.TorqueColor
"Color of torque arrow"
annotation (HideResult=true, Dialog(colorSelector=true, group="if animation = true", enable=animation));
Expand Down
3 changes: 0 additions & 3 deletions PlanarMechanics/Sources/QuadraticSpeedDependentForce.mo
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,6 @@ public
"Torque arrow scaling (length = torque/Nm_to_m)"
annotation (Dialog(tab="Animation",group="If animation = true", enable=animation));

input SI.Diameter diameter=planarWorld.defaultArrowDiameter
"Has no longer an effect and is only kept for backwards compatibility (arrow visualization by Vector now)"
annotation (Dialog(tab="Animation",group="If animation = true", enable=animation));
parameter SI.Length zPosition = planarWorld.defaultZPosition
"Position z of cylinder representing the fixed translation" annotation (Dialog(
tab="Animation",group="If animation = true", enable=animation));
Expand Down
3 changes: 0 additions & 3 deletions PlanarMechanics/Sources/RelativeForce.mo
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ model RelativeForce "Input signal acting as force and torque on two frames"
"Torque arrow scaling (length = torque/Nm_to_m)"
annotation (Dialog(tab="Animation",group="If animation = true", enable=animation));

input SI.Diameter diameter=planarWorld.defaultArrowDiameter
"Has no longer an effect and is only kept for backwards compatibility (arrow visualization by Vector now)"
annotation (Dialog(tab="Animation",group="If animation = true", enable=animation));
parameter SI.Length zPosition = planarWorld.defaultZPosition
"Position z of cylinder representing the fixed translation"
annotation (Dialog(tab="Animation",group="If animation = true", enable=animation));
Expand Down
3 changes: 0 additions & 3 deletions PlanarMechanics/Sources/WorldForce.mo
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@ model WorldForce
"Torque arrow scaling (length = torque/Nm_to_m)"
annotation (Dialog(tab="Animation",group="If animation = true", enable=animation));

input SI.Diameter diameter = planarWorld.defaultArrowDiameter
"Has no longer an effect and is only kept for backwards compatibility (arrow visualization by Vector now)"
annotation (Dialog(tab="Animation",group="If animation = true", enable=animation));
parameter SI.Length zPosition = planarWorld.defaultZPosition
"Position z of cylinder representing the fixed translation"
annotation (Dialog(tab="Animation",group="If animation = true", enable=animation));
Expand Down
27 changes: 27 additions & 0 deletions PlanarMechanics/UsersGuide/ReleaseNotes.mo
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,33 @@ It is backwards compatible to previous library versions.
</li>
</ul>
<p>Deleted parameters:</p>
<ul>
<li>
<a href=\"modelica://PlanarMechanics.Sources.RelativeForce\">Sources.RelativeForce</a>:
diameter
</li>
<li>
<a href=\"modelica://PlanarMechanics.Sources.WorldForce\">Sources.WorldForce</a>:
diameter
</li>
<li>
<a href=\"modelica://PlanarMechanics.Sources.QuadraticSpeedDependentForce\">Sources.QuadraticSpeedDependentForce</a>:
diameter
</li>
<li>
<a href=\"modelica://PlanarMechanics.Sensors.CutForce\">Sensors.CutForce</a>:
forceDiameter
</li>
<li>
<a href=\"modelica://PlanarMechanics.Sensors.CutForceAndTorque\">Sensors.CutForceAndTorque</a>:
forceDiameter, torqueDiameter
</li>
<li>
<a href=\"modelica://PlanarMechanics.Sensors.CutTorque\">Sensors.CutTorque</a>:
torqueDiameter
</li>
</ul>
<h4>Version 1.6.0, 2023-09-12</h4>
<p>
Expand Down

0 comments on commit ea1e798

Please sign in to comment.