diff options
author | deepa-chaudhari | 2015-07-16 12:30:02 +0530 |
---|---|---|
committer | deepa-chaudhari | 2015-07-16 12:30:02 +0530 |
commit | 1c41b574c23e94cb6fae63a29b6a0c9bcf510b4f (patch) | |
tree | c026ce937a57bd49157b1a63bdb8ff93879c4770 /Connections/Shear/Finplate/colFlangeBeamWebConnectivity.py | |
parent | a679b8a25106617bc48da0236de4a62e2a0f133b (diff) | |
download | OsdagLive-1c41b574c23e94cb6fae63a29b6a0c9bcf510b4f.tar.gz OsdagLive-1c41b574c23e94cb6fae63a29b6a0c9bcf510b4f.tar.bz2 OsdagLive-1c41b574c23e94cb6fae63a29b6a0c9bcf510b4f.zip |
changes done for github
Diffstat (limited to 'Connections/Shear/Finplate/colFlangeBeamWebConnectivity.py')
-rw-r--r-- | Connections/Shear/Finplate/colFlangeBeamWebConnectivity.py | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/Connections/Shear/Finplate/colFlangeBeamWebConnectivity.py b/Connections/Shear/Finplate/colFlangeBeamWebConnectivity.py index 23b1d68..ea5f81a 100644 --- a/Connections/Shear/Finplate/colFlangeBeamWebConnectivity.py +++ b/Connections/Shear/Finplate/colFlangeBeamWebConnectivity.py @@ -4,6 +4,7 @@ Created on 11-May-2015 @author: deepa ''' from OCC.BRepPrimAPI import BRepPrimAPI_MakeSphere +from OCC.BRepAlgoAPI import BRepAlgoAPI_Cut ''' Created on 11-May-2015 @@ -108,7 +109,7 @@ class ColFlangeBeamWeb(object): pitchDir = -self.plate.vDir boltDir = self.plate.uDir self.nutBoltArray.place(nutboltArrayOrigin, gaugeDir, pitchDir, boltDir) - + def get_models(self): '''Returning 3D models ''' @@ -120,4 +121,18 @@ class ColFlangeBeamWeb(object): def get_nutboltmodels(self): return self.nutBoltArray.getModels() - #return self.nutBoltArray.getboltModels()
\ No newline at end of file + #return self.nutBoltArray.getboltModels() + + def get_beamModel(self): + nutBoltlist = self.nutBoltArray.getModels() + for nutBolt in nutBoltlist: + finalBeam = BRepAlgoAPI_Cut(self.beamModel,nutBolt).Shape() + return finalBeam + + + + + + + +
\ No newline at end of file |