From a9fc1d2cd56a02fd7c7370c52b6db2157ca43339 Mon Sep 17 00:00:00 2001 From: Rafael Date: Sat, 28 Sep 2024 17:41:15 -0300 Subject: [PATCH] fix: fixed the angle information from stress strain table. Version update --- composipy/core/strength.py | 8 ++++---- composipy/version.py | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/composipy/core/strength.py b/composipy/core/strength.py index 8a7acac..cfd85a6 100644 --- a/composipy/core/strength.py +++ b/composipy/core/strength.py @@ -210,8 +210,8 @@ def calculate_strain(self): data['ply'].append(cur_ply) data['position'].append('top') data['position'].append('bot') - data['angle'] = theta - data['angle'] = theta + data['angle'].append(theta) + data['angle'].append(theta) data['epsilonx'].append(epsilontop[0]) #plate direction data['epsilonx'].append(epsilonbot[0]) data['epsilony'].append(epsilontop[1]) @@ -266,8 +266,8 @@ def calculate_stress(self): data['ply'].append(cur_ply) data['position'].append('top') data['position'].append('bot') - data['angle'] = theta - data['angle'] = theta + data['angle'].append(theta) + data['angle'].append(theta) data['sigmax'].append(sigmatop[0]) #plate direction data['sigmax'].append(sigmabot[0]) data['sigmay'].append(sigmatop[1]) diff --git a/composipy/version.py b/composipy/version.py index 4b5bf2c..241893a 100644 --- a/composipy/version.py +++ b/composipy/version.py @@ -1 +1 @@ -__version__ = '1.4.2' \ No newline at end of file +__version__ = '1.4.3' \ No newline at end of file