summaryrefslogtreecommitdiff
path: root/Connections/Shear/Finplate/colWebBeamWebConnectivity.py
diff options
context:
space:
mode:
authordeepa-chaudhari2015-07-16 16:26:54 +0530
committerdeepa-chaudhari2015-07-16 16:26:54 +0530
commit47739d8ac5dfcc48a76d979bbbd31bde2f66bd1e (patch)
tree964f1a4c6ad033678a5e4cc83d77b7e1321b3b8f /Connections/Shear/Finplate/colWebBeamWebConnectivity.py
parent6cc97c660afc67f42158ddc9f9c6b5a3ac27ac97 (diff)
downloadOsdagLive-47739d8ac5dfcc48a76d979bbbd31bde2f66bd1e.tar.gz
OsdagLive-47739d8ac5dfcc48a76d979bbbd31bde2f66bd1e.tar.bz2
OsdagLive-47739d8ac5dfcc48a76d979bbbd31bde2f66bd1e.zip
Drilled BeamfinPlate_v1.1.1
Diffstat (limited to 'Connections/Shear/Finplate/colWebBeamWebConnectivity.py')
-rw-r--r--Connections/Shear/Finplate/colWebBeamWebConnectivity.py10
1 files changed, 8 insertions, 2 deletions
diff --git a/Connections/Shear/Finplate/colWebBeamWebConnectivity.py b/Connections/Shear/Finplate/colWebBeamWebConnectivity.py
index b49670b..8adc0c2 100644
--- a/Connections/Shear/Finplate/colWebBeamWebConnectivity.py
+++ b/Connections/Shear/Finplate/colWebBeamWebConnectivity.py
@@ -13,6 +13,7 @@ import copy
from OCC.BRepPrimAPI import BRepPrimAPI_MakeSphere
from OCC.gp import gp_Pnt
from nutBoltPlacement import NutBoltArray
+from OCC.BRepAlgoAPI import BRepAlgoAPI_Cut
class ColWebBeamWeb(object):
@@ -117,9 +118,14 @@ class ColWebBeamWeb(object):
def get_nutboltmodels(self):
-
return self.nutBoltArray.getModels()
#return self.nutBoltArray.getboltModels()
-
+
+ def get_beamModel(self):
+ finalBeam = self.beamModel
+ nutBoltlist = self.nutBoltArray.getModels()
+ for bolt in nutBoltlist[0:(len(nutBoltlist)//2)]:
+ finalBeam = BRepAlgoAPI_Cut(finalBeam,bolt).Shape()
+ return finalBeam
\ No newline at end of file