Skip to content

Commit

Permalink
Rename old DoubleS to ConstJerk
Browse files Browse the repository at this point in the history
  • Loading branch information
dariofusai93 committed Sep 17, 2024
1 parent aff336d commit 40e1ba2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ChronoSolidworksAddIn/ChModelExporterCSharp.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1147,7 +1147,7 @@ private void ExportChMotor(Feature swFeat, ChMarker newmarker)
else
motfun = new ChFunctionCycloidal();
break;
case "DoubleS":
case "ConstJerk":
if (numericInputs.Length != 0)
motfun = new ChFunctionConstJerk(numericInputs[0], numericInputs[1], numericInputs[2], numericInputs[3], numericInputs[4], numericInputs[5], numericInputs[6]);
else
Expand Down
2 changes: 1 addition & 1 deletion ChronoSolidworksAddIn/EditChMotor.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ChronoSolidworksAddIn/EditChMotor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ private bool checkMotlawInputsSanity()
case "Cycloidal":
isInputSane = (numericInputs.Length == 2) ? true : false;
break;
case "DoubleS":
case "ConstJerk":
isInputSane = (numericInputs.Length == 7) ? true : false;
break;
case "Poly345":
Expand Down

0 comments on commit 40e1ba2

Please sign in to comment.