From f6743a741b3ebec50494a6d3b0712cd90c0ff5de Mon Sep 17 00:00:00 2001 From: deepa-chaudhari Date: Sat, 6 Jun 2015 21:32:56 +0530 Subject: platethicknesspopupmethosd implemented --- Connections/Shear/Finplate/colWebBeamWebConnectivity.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Connections/Shear/Finplate/colWebBeamWebConnectivity.py') diff --git a/Connections/Shear/Finplate/colWebBeamWebConnectivity.py b/Connections/Shear/Finplate/colWebBeamWebConnectivity.py index c448092..f8c55e4 100644 --- a/Connections/Shear/Finplate/colWebBeamWebConnectivity.py +++ b/Connections/Shear/Finplate/colWebBeamWebConnectivity.py @@ -10,6 +10,8 @@ from bolt import Bolt from nut import Nut import copy +from OCC.BRepPrimAPI import BRepPrimAPI_MakeSphere +from OCC.gp import gp_Pnt class ColWebBeamWeb(object): def __init__(self,column,beam,Fweld,plate,boltRadius,nutRadius,boltPlaceObj): @@ -82,6 +84,7 @@ class ColWebBeamWeb(object): self.beam.t/2.0 * (-self.beam.uDir)+ self.plate.T/2.0 * (-self.beam.uDir)) #origin4 = self.column.secOrigin + self.weld.T * self.weld.wDir + self.plate.place(plateOrigin, uDir4, wDir4) # # Weld @@ -142,6 +145,7 @@ class ColWebBeamWeb(object): nut3.place(nut_Origin3, uDir5, wDir5) self.nuts = [nut1,nut2,nut3] + # Call for createModel self.columnModel = self.column.createModel() self.beamModel = self.beam.createModel() -- cgit