struct_utils 0.0.1__tar.gz → 0.0.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {struct_utils-0.0.1 → struct_utils-0.0.3}/PKG-INFO +3 -1
- {struct_utils-0.0.1 → struct_utils-0.0.3}/pyproject.toml +4 -1
- {struct_utils-0.0.1 → struct_utils-0.0.3}/src/struct_utils/structural_utils/NASA_TM_108378_fitting_factor.py +3 -9
- {struct_utils-0.0.1 → struct_utils-0.0.3}/src/struct_utils/structural_utils/bolt_pattern_elastic_method.py +2 -2
- {struct_utils-0.0.1 → struct_utils-0.0.3}/LICENSE.txt +0 -0
- {struct_utils-0.0.1 → struct_utils-0.0.3}/README.md +0 -0
- {struct_utils-0.0.1 → struct_utils-0.0.3}/src/struct_utils/__init__.py +0 -0
- {struct_utils-0.0.1 → struct_utils-0.0.3}/src/struct_utils/general_utils/__init__.py +0 -0
- {struct_utils-0.0.1 → struct_utils-0.0.3}/src/struct_utils/general_utils/logprint.py +0 -0
- {struct_utils-0.0.1 → struct_utils-0.0.3}/src/struct_utils/software_utils/__init__.py +0 -0
- {struct_utils-0.0.1 → struct_utils-0.0.3}/src/struct_utils/software_utils/folder_structure_tree.py +0 -0
- {struct_utils-0.0.1 → struct_utils-0.0.3}/src/struct_utils/structural_utils/__init__.py +0 -0
- {struct_utils-0.0.1 → struct_utils-0.0.3}/src/struct_utils/structural_utils/bolt_pattern_elastic_method_README.md +0 -0
- {struct_utils-0.0.1 → struct_utils-0.0.3}/src/struct_utils/structural_utils/margin_table.py +0 -0
- {struct_utils-0.0.1 → struct_utils-0.0.3}/src/struct_utils/structural_utils/shared_helpers.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: struct_utils
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.3
|
|
4
4
|
Summary: Development package consisting of many small utility functions, mainly oriented towards structural engineering. Currently structured for personal use, hit me up if there is interest in further development of additional or extended functionality. Published functions should be feature complete. USERS ASSUME FULL RISK AND RESPONSIBILITY FOR VERIFYING THAT THE RESULTS ARE ACCURATE AND APPROPRIATE FOR THEIR APPLICATION.
|
|
5
5
|
License: MIT License
|
|
6
6
|
|
|
@@ -36,6 +36,7 @@ Classifier: Programming Language :: Python :: 3
|
|
|
36
36
|
Classifier: Programming Language :: Python :: 3.10
|
|
37
37
|
Classifier: Programming Language :: Python :: 3.11
|
|
38
38
|
Classifier: Programming Language :: Python :: 3.12
|
|
39
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
39
40
|
Classifier: License :: OSI Approved :: MIT License
|
|
40
41
|
Classifier: Operating System :: OS Independent
|
|
41
42
|
Requires-Dist: matplotlib (>=3.7)
|
|
@@ -47,6 +48,7 @@ Requires-Dist: uncertainties (>=3.2.3)
|
|
|
47
48
|
Project-URL: Homepage, https://github.com/A-Thomas-eng/
|
|
48
49
|
Project-URL: Owner_contact, https://www.linkedin.com/in/andrade-t/
|
|
49
50
|
Project-URL: PIP, https://pypi.org/user/eng_calcs/
|
|
51
|
+
Project-URL: SRC, https://github.com/A-Thomas-eng/stuct_utils/tree/main
|
|
50
52
|
Description-Content-Type: text/markdown
|
|
51
53
|
|
|
52
54
|
Development package consisting of many small utility functions, mostly for structural engineering. Currently oriented for personal use, hit me up if there is interest in further development of these tools. USERS ASSUME FULL RISK AND RESPONSIBILITY FOR VERIFYING THAT THE RESULTS ARE ACCURATE AND APPROPRIATE FOR THEIR APPLICATION.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "struct_utils"
|
|
3
|
-
version = "0.0.
|
|
3
|
+
version = "0.0.3"
|
|
4
4
|
description = "Development package consisting of many small utility functions, mainly oriented towards structural engineering. Currently structured for personal use, hit me up if there is interest in further development of additional or extended functionality. Published functions should be feature complete. USERS ASSUME FULL RISK AND RESPONSIBILITY FOR VERIFYING THAT THE RESULTS ARE ACCURATE AND APPROPRIATE FOR THEIR APPLICATION."
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
license = { file = "LICENSE.txt" }
|
|
@@ -21,6 +21,8 @@ classifiers = [
|
|
|
21
21
|
"Programming Language :: Python :: 3.10",
|
|
22
22
|
"Programming Language :: Python :: 3.11",
|
|
23
23
|
"Programming Language :: Python :: 3.12",
|
|
24
|
+
"Programming Language :: Python :: 3.13",
|
|
25
|
+
|
|
24
26
|
"License :: OSI Approved :: MIT License",
|
|
25
27
|
"Operating System :: OS Independent",
|
|
26
28
|
]
|
|
@@ -48,6 +50,7 @@ build-backend = "poetry.core.masonry.api"
|
|
|
48
50
|
Homepage = "https://github.com/A-Thomas-eng/"
|
|
49
51
|
PIP = "https://pypi.org/user/eng_calcs/"
|
|
50
52
|
Owner_contact = "https://www.linkedin.com/in/andrade-t/"
|
|
53
|
+
SRC = "https://github.com/A-Thomas-eng/stuct_utils/tree/main"
|
|
51
54
|
|
|
52
55
|
# ── Ruff (linting) ─────────────────────────────────────────────────────────────
|
|
53
56
|
[tool.ruff]
|
|
@@ -184,16 +184,10 @@ def NASA_TM_108378_fitting_factor (input_matrix): #input={D_b, CL
|
|
|
184
184
|
|
|
185
185
|
return Clearanced_fitting_factor
|
|
186
186
|
#----------------------------------------------------------------------------
|
|
187
|
-
####
|
|
187
|
+
#### Example->
|
|
188
188
|
#----------------------------------------------------------------------------
|
|
189
189
|
|
|
190
|
-
"""
|
|
191
|
-
Program function: Programmatic implementation of NASA TM - 108378 (https://ntrs.nasa.gov/api/citations/19930003231/downloads/19930003231.pdf). Validated output against NASA_TM_108378 table 5. Returns a knockdown for fitting factor due to hole clearance.
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
Warning: This calculator should only be used for assessing the strength of unshimmed bolted joints, with threads not in the shear plane. This calculator only assesses the increased shear load in the bolt, and does not assess flange health, tensile loading, among other factors. If stacking more than two flanges, define a new material near the top of this script with the maximum poissons and maximum Youngs modulus in the stackup. The thickness of that composite flange should be input as the sum of the constituent thicknesses.
|
|
195
|
-
"""
|
|
196
|
-
|
|
190
|
+
"""
|
|
197
191
|
input_matrix_validation1= { # Table 5 validation.
|
|
198
192
|
"D_b" : 0.196, # Units: Inches | LMC fastener diameter.
|
|
199
193
|
"CL" : 0.02, # Units: Inches | CL=D_h-D_b (diameter of hole ho minus diameter of bolt). Larger values of CL are conservative.
|
|
@@ -222,7 +216,7 @@ input_matrix_validation2= { # Appendix D validation.
|
|
|
222
216
|
"bolt_limit_shear" : 16014 # Units: lbf | Max nominal shear loading for a single fastener, accounting for peaking, do not enter fastener strength.
|
|
223
217
|
}
|
|
224
218
|
|
|
225
|
-
Output_clearanced_fitting_factor=NASA_TM_108378_fitting_factor(input_matrix_validation2)
|
|
219
|
+
Output_clearanced_fitting_factor=NASA_TM_108378_fitting_factor(input_matrix_validation2) """
|
|
226
220
|
# To increase Conservatism, choose:
|
|
227
221
|
# min(D_b, bolt_limit_shear, bolt_material[2])
|
|
228
222
|
# max(n, CL, FOS, f1_thick, f2_thick, f2_mat[0:1], f2_mat[0:1], bolt_material[0:1])
|
|
@@ -711,7 +711,7 @@ def print_results(results: list[BoltResult], analysis: BoltPatternAnalysis) -> N
|
|
|
711
711
|
# ---------------------------------------------------------------------------
|
|
712
712
|
|
|
713
713
|
|
|
714
|
-
if __name__ == "__main__":
|
|
714
|
+
""" if __name__ == "__main__":
|
|
715
715
|
import os
|
|
716
716
|
HERE = os.path.dirname(os.path.abspath(__file__))
|
|
717
717
|
|
|
@@ -741,7 +741,7 @@ if __name__ == "__main__":
|
|
|
741
741
|
show=False,
|
|
742
742
|
save_dir=save_dir,
|
|
743
743
|
)
|
|
744
|
-
|
|
744
|
+
"""
|
|
745
745
|
|
|
746
746
|
|
|
747
747
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{struct_utils-0.0.1 → struct_utils-0.0.3}/src/struct_utils/software_utils/folder_structure_tree.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{struct_utils-0.0.1 → struct_utils-0.0.3}/src/struct_utils/structural_utils/shared_helpers.py
RENAMED
|
File without changes
|