kib-lap 0.7__tar.gz → 0.7.12__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.
Files changed (92) hide show
  1. {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/FACHWERKEBEN/Iteration.py +10 -4
  2. kib_lap-0.7.12/KIB_LAP/FACHWERKEBEN/__init__.py +10 -0
  3. {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/STABRAUM/InputData.py +11 -0
  4. {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/STABRAUM/Output_Data.py +17 -14
  5. kib_lap-0.7.12/KIB_LAP/STABRAUM/Plotting.py +1453 -0
  6. {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/STABRAUM/Programm.py +445 -52
  7. kib_lap-0.7.12/KIB_LAP/STABRAUM/Steifigkeitsmatrix.py +496 -0
  8. kib_lap-0.7.12/KIB_LAP/STABRAUM/main.py +58 -0
  9. {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Scheibe/Assemble_Stiffness.py +13 -35
  10. {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Scheibe/Meshing.py +130 -24
  11. {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Scheibe/Output.py +6 -0
  12. kib_lap-0.7.12/KIB_LAP/Scheibe/Plotting.py +722 -0
  13. {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Scheibe/Shell_Calculation.py +224 -102
  14. kib_lap-0.7.12/KIB_LAP/Scheibe/Testing_Mesh.py +25 -0
  15. kib_lap-0.7.12/KIB_LAP/Scheibe/__init__.py +14 -0
  16. kib_lap-0.7.12/KIB_LAP/Scheibe/main.py +33 -0
  17. {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP.egg-info/PKG-INFO +1 -1
  18. {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP.egg-info/SOURCES.txt +1 -0
  19. {kib_lap-0.7 → kib_lap-0.7.12}/PKG-INFO +1 -1
  20. {kib_lap-0.7 → kib_lap-0.7.12}/setup.py +1 -1
  21. kib_lap-0.7/KIB_LAP/FACHWERKEBEN/__init__.py +0 -2
  22. kib_lap-0.7/KIB_LAP/STABRAUM/Plotting.py +0 -886
  23. kib_lap-0.7/KIB_LAP/STABRAUM/Steifigkeitsmatrix.py +0 -245
  24. kib_lap-0.7/KIB_LAP/STABRAUM/main.py +0 -53
  25. kib_lap-0.7/KIB_LAP/Scheibe/Plotting.py +0 -452
  26. kib_lap-0.7/KIB_LAP/Scheibe/__init__.py +0 -6
  27. kib_lap-0.7/KIB_LAP/Scheibe/main.py +0 -27
  28. {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Betonbau/Bemessung_Polygon.py +0 -0
  29. {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Betonbau/Cross_Section_Kappa.py +0 -0
  30. {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Betonbau/Druckglied_KGV.py +0 -0
  31. {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Betonbau/Materialkennwerte_Beton.py +0 -0
  32. {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Betonbau/Querschnittsbreite.py +0 -0
  33. {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Betonbau/Querschnittsbreite_Kreis.py +0 -0
  34. {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Betonbau/TEST_Rectangular.py +0 -0
  35. {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Betonbau/__init__.py +0 -0
  36. {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Betonbau/beam_plate_T.py +0 -0
  37. {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Betonbau/beam_plate_T_reverse.py +0 -0
  38. {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Betonbau/beam_rectangular.py +0 -0
  39. {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Betonbau/beam_sub_section.py +0 -0
  40. {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Dynamik/Cross_Section_Properties.py +0 -0
  41. {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Dynamik/Deformation_Method.py +0 -0
  42. {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Dynamik/Duhamel_SDOF.py +0 -0
  43. {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Dynamik/FFT.py +0 -0
  44. {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Dynamik/Kontinuum_Eigenmodes.py +0 -0
  45. {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Dynamik/Kontinuum_Schwingung.py +0 -0
  46. {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Dynamik/Pendulum_Spring_Linearized.py +0 -0
  47. {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Dynamik/Pendulum_Spring_Problem.py +0 -0
  48. {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Dynamik/__init__.py +0 -0
  49. {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Examples/Cross_Section_Thin.py +0 -0
  50. {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Examples/Cross_Section_Thin_2.py +0 -0
  51. {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Examples/Plattentragwerke.py +0 -0
  52. {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Examples/Plattentragwerke_2.py +0 -0
  53. {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Examples/ShearDesign.py +0 -0
  54. {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Examples/__init__.py +0 -0
  55. {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/FACHWERKEBEN/Elements.py +0 -0
  56. {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/FACHWERKEBEN/InputData.py +0 -0
  57. {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/FACHWERKEBEN/Materials.py +0 -0
  58. {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/FACHWERKEBEN/Plotting.py +0 -0
  59. {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/FACHWERKEBEN/main.py +0 -0
  60. {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Plattenbeulen/Plate_Design.py +0 -0
  61. {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Plattenbeulen/Ritz_Optimiert.py +0 -0
  62. {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Plattenbeulen/__init__.py +0 -0
  63. {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Plattenbeulen/dist/__init__.py +0 -0
  64. {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Plattenbeulen/plate_buckling.cpp +0 -0
  65. {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Plattenbeulen/plate_buckling_cpp.cp313-win_amd64.pyd +0 -0
  66. {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Plattenbeulen/plate_buckling_cpp.cpp +0 -0
  67. {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Plattenbeulen/setup.py +0 -0
  68. {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Plattentragwerke/Functions.cpp +0 -0
  69. {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Plattentragwerke/Functions.h +0 -0
  70. {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Plattentragwerke/PlateBendingKirchhoff.py +0 -0
  71. {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Plattentragwerke/__init__.py +0 -0
  72. {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Plattentragwerke/plate_bending.cpp +0 -0
  73. {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Plattentragwerke/setup.py +0 -0
  74. {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Querschnittswerte/Querschnitt_Duenn.py +0 -0
  75. {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Querschnittswerte/__init__.py +0 -0
  76. {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/STABRAUM/__init__.py +0 -0
  77. {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/STABRAUM/results.py +0 -0
  78. {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Scheibe/Element_Stiffness.py +0 -0
  79. {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/StabEbenRitz/Biegedrillknicken.py +0 -0
  80. {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/StabEbenRitz/Biegedrillknicken_Trigeometry.py +0 -0
  81. {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/StabEbenRitz/Querschnittswerte.py +0 -0
  82. {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/StabEbenRitz/Stabberechnung_Klasse.py +0 -0
  83. {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/StabEbenRitz/__init__.py +0 -0
  84. {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Stahlbau/__init__.py +0 -0
  85. {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Verbundbau/Verbundtraeger_Bemessung.py +0 -0
  86. {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/Verbundbau/__init__.py +0 -0
  87. {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP/__init__.py +0 -0
  88. {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP.egg-info/dependency_links.txt +0 -0
  89. {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP.egg-info/requires.txt +0 -0
  90. {kib_lap-0.7 → kib_lap-0.7.12}/KIB_LAP.egg-info/top_level.txt +0 -0
  91. {kib_lap-0.7 → kib_lap-0.7.12}/README.md +0 -0
  92. {kib_lap-0.7 → kib_lap-0.7.12}/setup.cfg +0 -0
@@ -9,10 +9,16 @@ from glob import glob # Allows check that file exists before import
9
9
  from numpy import genfromtxt # For importing structure data from csv
10
10
  import pandas as pd
11
11
 
12
- from InputData import Input
13
- from Materials import Material
14
- from Elements import Rope_Elements_III
15
- from Elements import BarElements_I
12
+ try:
13
+ from InputData import Input
14
+ from Materials import Material
15
+ from Elements import Rope_Elements_III
16
+ from Elements import BarElements_I
17
+ except:
18
+ from KIB_LAP.FACHWERKEBEN.InputData import Input
19
+ from KIB_LAP.FACHWERKEBEN.Materials import Material
20
+ from KIB_LAP.FACHWERKEBEN.Elements import Rope_Elements_III
21
+ from KIB_LAP.FACHWERKEBEN.Elements import BarElements_I
16
22
 
17
23
  class IterationClass:
18
24
  def __init__(self, use_iteration=False):
@@ -0,0 +1,10 @@
1
+ try:
2
+ from .Iteration import IterationClass
3
+ from .Plotting import PlottingStructure
4
+ from .Iteration import IterationClass
5
+ from .Plotting import PlottingStructure
6
+ except:
7
+ from KIB_LAP.FACHWERKEBEN.Iteration import IterationClass
8
+ from KIB_LAP.FACHWERKEBEN.Plotting import PlottingStructure
9
+ from KIB_LAP.FACHWERKEBEN.Iteration import IterationClass
10
+ from KIB_LAP.FACHWERKEBEN.Plotting import PlottingStructure
@@ -20,6 +20,7 @@ class Input:
20
20
  self.ElementLoads()
21
21
  self.MaterialData()
22
22
  self.CrossSectionData()
23
+ self.Springs()
23
24
 
24
25
  def MaterialData(self):
25
26
  try:
@@ -72,6 +73,16 @@ class Input:
72
73
  df_numeric = df[numeric_columns]
73
74
  self.RestraintData = df_numeric
74
75
 
76
+ def Springs(self):
77
+ if not glob("data/Springs.csv"):
78
+ self.SpringsData = pd.DataFrame(columns=["node_a","node_e","dof","cp[MN]"])
79
+ print("⚠️ Springs.csv not found (optional)")
80
+ return
81
+
82
+ df = pd.read_csv("data/Springs.csv")
83
+ self.SpringsData = df[["node_a","node_e","dof","cp[MN]"]].copy()
84
+ print("🟢 Springs.csv imported")
85
+
75
86
  def NodalForces(self):
76
87
  df = pd.read_csv("data/NodalForces.csv")
77
88
  self.NodalForces = df
@@ -1,6 +1,7 @@
1
1
  import pandas as pd
2
2
  import numpy as np
3
3
 
4
+
4
5
  class OutputData:
5
6
  def __init__(self):
6
7
  print("Init OutputData")
@@ -28,31 +29,33 @@ class OutputData:
28
29
  3: ("Fz", "MN"),
29
30
  4: ("My", "MNm"),
30
31
  5: ("Mx", "MNm"),
31
- 6: ("W", "-"),
32
+ 6: ("W", "-"),
32
33
  }
33
34
 
34
35
  rows = []
35
36
  for _, row in dfR.iterrows():
36
37
  node = int(row["Node"])
37
- dof = int(row["Dof"])
38
- k = float(row["Cp[MN/m]/[MNm/m]"])
38
+ dof = int(row["Dof"])
39
+ k = float(row["Cp[MN/m]/[MNm/m]"])
39
40
 
40
41
  gdof = 7 * (node - 1) + dof
41
- ui = float(u[gdof])
42
- u0 = float(u0_default)
42
+ ui = float(u[gdof])
43
+ u0 = float(u0_default)
43
44
 
44
45
  Ri = k * (ui - u0)
45
46
 
46
47
  name, unit = dof_name.get(dof, (f"DOF{dof}", ""))
47
48
 
48
- rows.append({
49
- "Node": node,
50
- "DOF": dof,
51
- "Type": name,
52
- "k": k,
53
- "u": ui,
54
- "R_spring": Ri,
55
- "Unit": unit
56
- })
49
+ rows.append(
50
+ {
51
+ "Node": node,
52
+ "DOF": dof,
53
+ "Type": name,
54
+ "k": k,
55
+ "u": ui,
56
+ "R_spring": Ri,
57
+ "Unit": unit,
58
+ }
59
+ )
57
60
 
58
61
  return pd.DataFrame(rows).sort_values(["Node", "DOF"]).reset_index(drop=True)