Upload files to "TM1"
parent
b420a8086c
commit
0308340456
|
@ -52,9 +52,10 @@ class truss:
|
|||
|
||||
# find deltaX and deltaY of beam to calculate force components
|
||||
vy, vx = 0, 0
|
||||
if (
|
||||
b < (2 * ni) and ni > 0
|
||||
): # find force direction for beams on left side of node
|
||||
# if (
|
||||
# b < (2 * ni) and ni > 0
|
||||
# ): # find force direction for beams on left side of node
|
||||
if self.beams[b][0] != ni:
|
||||
vy = y1 - y2
|
||||
vx = x1 - x2
|
||||
else: # different force direction for nodes on right side of node
|
||||
|
|
Loading…
Reference in New Issue