kib-lap 0.5__cp313-cp313-win_amd64.whl

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.
Files changed (64) hide show
  1. Examples/Cross_Section_Thin.py +61 -0
  2. Examples/__init__.py +0 -0
  3. KIB_LAP/Betonbau/Bemessung_Polygon.py +667 -0
  4. KIB_LAP/Betonbau/Bemessung_Zust_II.py +648 -0
  5. KIB_LAP/Betonbau/Cross_Section_Kappa.py +925 -0
  6. KIB_LAP/Betonbau/Druckglied_KGV.py +179 -0
  7. KIB_LAP/Betonbau/Iterative_Design.py +723 -0
  8. KIB_LAP/Betonbau/Materialkennwerte_Beton.py +196 -0
  9. KIB_LAP/Betonbau/Querschnittsbreite.py +194 -0
  10. KIB_LAP/Betonbau/Querschnittsbreite_Kreis.py +63 -0
  11. KIB_LAP/Betonbau/__init__.py +2 -0
  12. KIB_LAP/Betonbau/beam_plate_T.py +921 -0
  13. KIB_LAP/Betonbau/beam_plate_T_reverse.py +915 -0
  14. KIB_LAP/Betonbau/beam_rectangular.py +635 -0
  15. KIB_LAP/Betonbau/beam_sub_section.py +9 -0
  16. KIB_LAP/Dynamik/Cross_Section_Properties.py +155 -0
  17. KIB_LAP/Dynamik/Deformation_Method.py +587 -0
  18. KIB_LAP/Dynamik/Duhamel_SDOF.py +221 -0
  19. KIB_LAP/Dynamik/FFT.py +87 -0
  20. KIB_LAP/Dynamik/Kontinuum_Eigenmodes.py +418 -0
  21. KIB_LAP/Dynamik/Kontinuum_Schwingung.py +757 -0
  22. KIB_LAP/Dynamik/Pendulum_Spring_Linearized.py +91 -0
  23. KIB_LAP/Dynamik/Pendulum_Spring_Problem.py +94 -0
  24. KIB_LAP/Dynamik/__init__.py +0 -0
  25. KIB_LAP/Examples/Cross_Section_Thin.py +61 -0
  26. KIB_LAP/Examples/Cross_Section_Thin_2.py +14 -0
  27. KIB_LAP/Examples/Plattentragwerke.py +39 -0
  28. KIB_LAP/Examples/Plattentragwerke_2.py +60 -0
  29. KIB_LAP/Examples/ShearDesign.py +28 -0
  30. KIB_LAP/Examples/__init__.py +0 -0
  31. KIB_LAP/Plattenbeulen/Plate_Design.py +276 -0
  32. KIB_LAP/Plattenbeulen/Ritz_Optimiert.py +658 -0
  33. KIB_LAP/Plattenbeulen/__init__.py +2 -0
  34. KIB_LAP/Plattenbeulen/dist/__init__.py +0 -0
  35. KIB_LAP/Plattenbeulen/plate_buckling.cpp +561 -0
  36. KIB_LAP/Plattenbeulen/plate_buckling_cpp.cp313-win_amd64.pyd +0 -0
  37. KIB_LAP/Plattenbeulen/plate_buckling_cpp.cpp +561 -0
  38. KIB_LAP/Plattenbeulen/setup.py +35 -0
  39. KIB_LAP/Plattentragwerke/Functions.cpp +326 -0
  40. KIB_LAP/Plattentragwerke/Functions.h +41 -0
  41. KIB_LAP/Plattentragwerke/NumInte.cpp +23 -0
  42. KIB_LAP/Plattentragwerke/NumericalIntegration.cpp +23 -0
  43. KIB_LAP/Plattentragwerke/PlateBendingKirchhoff.py +843 -0
  44. KIB_LAP/Plattentragwerke/__init__.py +1 -0
  45. KIB_LAP/Plattentragwerke/plate_bending.cpp +341 -0
  46. KIB_LAP/Plattentragwerke/plate_bending_cpp.cp313-win_amd64.pyd +0 -0
  47. KIB_LAP/Plattentragwerke/setup.py +39 -0
  48. KIB_LAP/Querschnittswerte/Querschnitt_Duenn.py +526 -0
  49. KIB_LAP/Querschnittswerte/__init__.py +1 -0
  50. KIB_LAP/STABRAUM/InputData.py +92 -0
  51. KIB_LAP/STABRAUM/Programm.py +1403 -0
  52. KIB_LAP/STABRAUM/Steifigkeitsmatrix.py +275 -0
  53. KIB_LAP/STABRAUM/__init__.py +3 -0
  54. KIB_LAP/Stahlbau/__init__.py +0 -0
  55. KIB_LAP/Verbundbau/Verbundtraeger_Bemessung.py +766 -0
  56. KIB_LAP/Verbundbau/__init__.py +0 -0
  57. KIB_LAP/__init__.py +4 -0
  58. KIB_LAP/main.py +2 -0
  59. KIB_LAP/plate_bending_cpp.cp313-win_amd64.pyd +0 -0
  60. KIB_LAP/plate_buckling_cpp.cp313-win_amd64.pyd +0 -0
  61. kib_lap-0.5.dist-info/METADATA +25 -0
  62. kib_lap-0.5.dist-info/RECORD +64 -0
  63. kib_lap-0.5.dist-info/WHEEL +5 -0
  64. kib_lap-0.5.dist-info/top_level.txt +1 -0
@@ -0,0 +1,61 @@
1
+
2
+ import pandas as pd
3
+ import os
4
+ import sys
5
+ import numpy as np
6
+
7
+ # Absoluten Pfad des Projekts und des KIB-Ordners berechnen
8
+ project_root = os.path.abspath(os.path.join(os.path.dirname(__file__), ".."))
9
+ kib_directory = os.path.join(project_root, "KIB_LAP")
10
+
11
+ # Debug-Ausgabe, um die Pfade zu überprüfen
12
+ print("Project Root:", project_root)
13
+ print("KIB Directory:", kib_directory)
14
+
15
+ # Füge das KIB-Verzeichnis zum sys.path hinzu, falls es nicht vorhanden ist
16
+ if kib_directory not in sys.path:
17
+ sys.path.insert(0, kib_directory)
18
+
19
+ # Importieren des Moduls
20
+ try:
21
+ from Querschnittswerte.Querschnitt_Duenn import CrossSectionThin
22
+ print("Import erfolgreich!")
23
+ except ModuleNotFoundError as e:
24
+ print("Fehler beim Import:", e)
25
+
26
+
27
+ Node_Cords = pd.DataFrame({
28
+ "Nr.": [1, 2, 3, 4, 5, 6],
29
+ "y": [-0.35, 0, 0.35, 0, -0.30, 0.30],
30
+ "z": [0, 0, 0, 0.400, 0.400, 0.400]
31
+ })
32
+
33
+
34
+ CrossSectionElements = pd.DataFrame({
35
+ "nr": [1, 2, 3, 4, 5],
36
+ "npa": [1, 2, 2, 4, 4],
37
+ "npe": [2, 3, 4, 5, 6],
38
+ "t [m]": [0.02, 0.02, 0.01, 0.02, 0.02]
39
+ })
40
+
41
+ Class = CrossSectionThin(
42
+ 2.1e5,
43
+ 0.3,
44
+ Node_Cords,
45
+ CrossSectionElements,
46
+ "Calculation"
47
+ )
48
+
49
+
50
+ Class.read_node_input()
51
+ Class.CalculateElementStiffness()
52
+ Class.Calculate_GesMat()
53
+ Class.SolverTorsion()
54
+ Class.CalculateAyzw()
55
+ Class.Update_SMP()
56
+ Class.Calculate_IwIt()
57
+ Class.Calculate_WoWu()
58
+ Class.Calculate_ShearStress_Vz()
59
+ Class.Calculate_imryrzrw()
60
+ Class.Export_Controll_Data()
61
+ Class.Export_Cross_Section_Data()
Examples/__init__.py ADDED
File without changes