Skip to content

Commit

Permalink
Big fix to read rot_axisA2 as optional argument indeed
Browse files Browse the repository at this point in the history
  • Loading branch information
kccwing authored Oct 17, 2024
1 parent 369c2dd commit b662a7f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion sharpy/utils/generate_cases.py
Original file line number Diff line number Diff line change
Expand Up @@ -2026,7 +2026,11 @@ def generate_multibody_file(list_LagrangeConstraints, list_Bodies, route, case_n
data=getattr(constraint, "penaltyFactor"))
except:
pass

try:
constraint_id.create_dataset("rot_axisA2",
data=getattr(constraint, "rot_axisA2"))
except:
pass
iconstraint += 1

# Write the body information
Expand Down

1 comment on commit b662a7f

@kccwing
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

*bug, 🤣

Please sign in to comment.