summaryrefslogtreecommitdiff
path: root/Connections/Shear/Finplate/nutBoltPlacement.py
diff options
context:
space:
mode:
authordeepa-chaudhari2015-06-12 19:09:54 +0530
committerdeepa-chaudhari2015-06-12 19:09:54 +0530
commitf2feca225837ad425a37d96fa5bc547abdfea73a (patch)
tree3bea6f2e60d3b5865a82915002d2be5f13facd5d /Connections/Shear/Finplate/nutBoltPlacement.py
parent3a33538fa928154000843c6ebf6bc836ee2cafeb (diff)
downloadOsdagLive-f2feca225837ad425a37d96fa5bc547abdfea73a.tar.gz
OsdagLive-f2feca225837ad425a37d96fa5bc547abdfea73a.tar.bz2
OsdagLive-f2feca225837ad425a37d96fa5bc547abdfea73a.zip
error handling
Diffstat (limited to 'Connections/Shear/Finplate/nutBoltPlacement.py')
-rw-r--r--Connections/Shear/Finplate/nutBoltPlacement.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Connections/Shear/Finplate/nutBoltPlacement.py b/Connections/Shear/Finplate/nutBoltPlacement.py
index 627f9c9..5956037 100644
--- a/Connections/Shear/Finplate/nutBoltPlacement.py
+++ b/Connections/Shear/Finplate/nutBoltPlacement.py
@@ -54,9 +54,9 @@ class NutBoltArray():
for rw in range(self.row):
for col in range(self.col):
pos = self.origin
- pos = pos + self.edge * self.gaugeDir
+ pos = pos + self.end * self.gaugeDir
pos = pos + col * self.gauge * self.gaugeDir
- pos = pos + self.end * self.pitchDir
+ pos = pos + self.edge * self.pitchDir
pos = pos + rw * self.pitch * self.pitchDir
self.positions.append(pos)