From ea1e798934504bc04d3c0709fd26965e56ed2dc9 Mon Sep 17 00:00:00 2001 From: tobolar Date: Wed, 15 Nov 2023 09:53:37 +0100 Subject: [PATCH] Delete obsolete parameters --- PlanarMechanics/Sensors/CutForce.mo | 3 --- PlanarMechanics/Sensors/CutForceAndTorque.mo | 6 ----- PlanarMechanics/Sensors/CutTorque.mo | 3 --- .../Sources/QuadraticSpeedDependentForce.mo | 3 --- PlanarMechanics/Sources/RelativeForce.mo | 3 --- PlanarMechanics/Sources/WorldForce.mo | 3 --- PlanarMechanics/UsersGuide/ReleaseNotes.mo | 27 +++++++++++++++++++ 7 files changed, 27 insertions(+), 21 deletions(-) diff --git a/PlanarMechanics/Sensors/CutForce.mo b/PlanarMechanics/Sensors/CutForce.mo index 23d26bf..0cf659b 100644 --- a/PlanarMechanics/Sensors/CutForce.mo +++ b/PlanarMechanics/Sensors/CutForce.mo @@ -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)); diff --git a/PlanarMechanics/Sensors/CutForceAndTorque.mo b/PlanarMechanics/Sensors/CutForceAndTorque.mo index aa4ba91..257d572 100644 --- a/PlanarMechanics/Sensors/CutForceAndTorque.mo +++ b/PlanarMechanics/Sensors/CutForceAndTorque.mo @@ -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)); diff --git a/PlanarMechanics/Sensors/CutTorque.mo b/PlanarMechanics/Sensors/CutTorque.mo index 796b14e..2eebe26 100644 --- a/PlanarMechanics/Sensors/CutTorque.mo +++ b/PlanarMechanics/Sensors/CutTorque.mo @@ -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)); diff --git a/PlanarMechanics/Sources/QuadraticSpeedDependentForce.mo b/PlanarMechanics/Sources/QuadraticSpeedDependentForce.mo index 56be43f..5da6462 100644 --- a/PlanarMechanics/Sources/QuadraticSpeedDependentForce.mo +++ b/PlanarMechanics/Sources/QuadraticSpeedDependentForce.mo @@ -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)); diff --git a/PlanarMechanics/Sources/RelativeForce.mo b/PlanarMechanics/Sources/RelativeForce.mo index bba6f14..6374d51 100644 --- a/PlanarMechanics/Sources/RelativeForce.mo +++ b/PlanarMechanics/Sources/RelativeForce.mo @@ -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)); diff --git a/PlanarMechanics/Sources/WorldForce.mo b/PlanarMechanics/Sources/WorldForce.mo index 040f504..69e992e 100644 --- a/PlanarMechanics/Sources/WorldForce.mo +++ b/PlanarMechanics/Sources/WorldForce.mo @@ -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)); diff --git a/PlanarMechanics/UsersGuide/ReleaseNotes.mo b/PlanarMechanics/UsersGuide/ReleaseNotes.mo index 5478a13..2145b7d 100644 --- a/PlanarMechanics/UsersGuide/ReleaseNotes.mo +++ b/PlanarMechanics/UsersGuide/ReleaseNotes.mo @@ -32,6 +32,33 @@ It is backwards compatible to previous library versions. +

Deleted parameters:

+

Version 1.6.0, 2023-09-12