def getLoadCaseDispParameters(self, setsToDispLoads, setsToDispDspRot, setsToDispIntForc, unitsScaleForc=1e-3, unitsScaleMom=1e-3, unitsScaleDisp=1e3, unitsDispl='[mm]'): '''Return a suitable LoadCaseDispParameters for the combination. :param setsToDispLoads: ordered list of sets of elements to display loads. :param setsToDispDspRot: ordered list of sets of elements to display displacements. :param setsToDispIntForc: ordered list of sets of elements to display internal forces. :param unitsScaleForc: factor to apply to internal forces if we want to change the units (defaults to 1e-3). :param unitsScaleMom: factor to apply to internal moments if we want to change the units (defaults to 1e-3). :param unitsScaleDispl: factor to apply to displacements if we want to change the units (defaults to 1e3). :param unitsDispl: text to especify the units in which displacements are represented (defaults to '[mm]' ''' retval = graphical_reports.LoadCaseDispParameters( self.name, self.expr, self.expr, setsToDispLoads, setsToDispDspRot, setsToDispIntForc) retval.unitsScaleForc = unitsScaleForc retval.unitsScaleMom = unitsScaleMom retval.unitsScaleDispl = unitsScaleDisp retval.unitsDispl = unitsDispl return retval
# -*- coding: utf-8 -*- from postprocess.xcVtk import vtk_graphic_base from postprocess.reports import graphical_reports #Dead load cases G1=graphical_reports.LoadCaseDispParameters(loadCaseName='G1',loadCaseDescr='G1: peso propio',loadCaseExpr='1.0*G1',setsToDispLoads=[overallSet],setsToDispDspRot=[overallSet],setsToDispIntForc=[]) G2=graphical_reports.LoadCaseDispParameters(loadCaseName='G2',loadCaseDescr='G2: carga muerta',loadCaseExpr='1.0*G2',setsToDispLoads=[overallSet],setsToDispDspRot=[overallSet],setsToDispIntForc=[]) #Rheological load cases G3=graphical_reports.LoadCaseDispParameters(loadCaseName='G3',loadCaseDescr='G3: acciones reológicas',loadCaseExpr='1.0*G3',setsToDispLoads=[overallSet],setsToDispDspRot=[overallSet],setsToDispIntForc=[]) #Traffic load cases Q1a1=graphical_reports.LoadCaseDispParameters(loadCaseName='Q1a1',loadCaseDescr='Q1a1: tren de cargas, posición A1',loadCaseExpr='1.0*Q1a1',setsToDispLoads=[overallSet],setsToDispDspRot=[overallSet],setsToDispIntForc=[]) Q1a2=graphical_reports.LoadCaseDispParameters(loadCaseName='Q1a2',loadCaseDescr='Q1a2: tren de cargas, posición A2',loadCaseExpr='1.0*Q1a2',setsToDispLoads=[overallSet],setsToDispDspRot=[overallSet],setsToDispIntForc=[]) Q1b1=graphical_reports.LoadCaseDispParameters(loadCaseName='Q1b1',loadCaseDescr='Q1b1: tren de cargas, posición B1',loadCaseExpr='1.0*Q1b1',setsToDispLoads=[overallSet],setsToDispDspRot=[overallSet],setsToDispIntForc=[]) Q1b2=graphical_reports.LoadCaseDispParameters(loadCaseName='Q1b2',loadCaseDescr='Q1b2: tren de cargas, posición B2',loadCaseExpr='1.0*Q1b2',setsToDispLoads=[overallSet],setsToDispDspRot=[overallSet],setsToDispIntForc=[]) Q1c=graphical_reports.LoadCaseDispParameters(loadCaseName='Q1c',loadCaseDescr='Q1c: tren de cargas, posición C',loadCaseExpr='1.0*Q1c',setsToDispLoads=[overallSet],setsToDispDspRot=[overallSet],setsToDispIntForc=[]) Q1d=graphical_reports.LoadCaseDispParameters(loadCaseName='Q1d',loadCaseDescr='Q1d: tren de cargas, posición D',loadCaseExpr='1.0*Q1d',setsToDispLoads=[overallSet],setsToDispDspRot=[overallSet],setsToDispIntForc=[]) Q1e=graphical_reports.LoadCaseDispParameters(loadCaseName='Q1e',loadCaseDescr='Q1e: tren de cargas, posición D',loadCaseExpr='1.0*Q1e',setsToDispLoads=[overallSet],setsToDispDspRot=[overallSet],setsToDispIntForc=[]) Q1bFren=graphical_reports.LoadCaseDispParameters(loadCaseName='Q1bFren',loadCaseDescr='Q1bFren: tren de cargas, posición B1 + frenado',loadCaseExpr='1.0*Q1bFren',setsToDispLoads=[overallSet],setsToDispDspRot=[overallSet],setsToDispIntForc=[]) Q1dFren=graphical_reports.LoadCaseDispParameters(loadCaseName='Q1dFren',loadCaseDescr='Q1dFren: tren de cargas, posición D + frenado',loadCaseExpr='1.0*Q1dFren',setsToDispLoads=[overallSet],setsToDispDspRot=[overallSet],setsToDispIntForc=[]) Q1eFren=graphical_reports.LoadCaseDispParameters(loadCaseName='Q1eFren',loadCaseDescr='Q1eFren: tren de cargas, posición D + frenado',loadCaseExpr='1.0*Q1eFren',setsToDispLoads=[overallSet],setsToDispDspRot=[overallSet],setsToDispIntForc=[]) #Wind load cases Q21=graphical_reports.LoadCaseDispParameters(loadCaseName='Q21',loadCaseDescr='Q21: Viento aislado',loadCaseExpr='1.0*Q21',setsToDispLoads=[overallSet],setsToDispDspRot=[overallSet],setsToDispIntForc=[]) Q22=graphical_reports.LoadCaseDispParameters(loadCaseName='Q22',loadCaseDescr='Q22: Viento con SC uso',loadCaseExpr='1.0*Q22',setsToDispLoads=[overallSet],setsToDispDspRot=[overallSet],setsToDispIntForc=[]) ''' #Thermal load cases (uniform) Q31=graphical_reports.LoadCaseDispParameters(loadCaseName='Q31',loadCaseDescr='Q31: Temperatura uniforme, contracción',loadCaseExpr='1.0*Q31',setsToDispLoads=[overallSet],setsToDispDspRot=[overallSet],setsToDispIntForc=[]) Q32=graphical_reports.LoadCaseDispParameters(loadCaseName='Q32',loadCaseDescr='Q32: Temperatura uniforme, dilatación',loadCaseExpr='1.0*Q32',setsToDispLoads=[],setsToDispDspRot=[overallSet],setsToDispIntForc=[])
unitsScaleForc: factor to apply to internal forces if we want to change the units (defaults to 1). unitsForc: text to especify the units in which forces are represented (defaults to '[kN/m]') unitsScaleMom: factor to apply to internal moments if we want to change the units (defaults to 1). unitsMom: text to especify the units in which bending moments are represented (defaults to '[kN.m/m]') cameraParameters: parameters that define the position and orientation of the camera (defaults to "XYZPos") cameraParametersBeams: parameters that define the position and orientation of the camera for beam elements displays (defaults to "XYZPos") ''' G1=graphical_reports.LoadCaseDispParameters(loadCaseName='GselfWeight',loadCaseDescr='G1: self weight',loadCaseExpr='1.0*GselfWeight',setsToDispLoads=[shells],setsToDispDspRot=[shellsPcable],setsToDispIntForc=[deckCenter]) G1.unitsScaleLoads=1e-3 G1.unitsScaleForc=1e-3 G1.unitsScaleMom=1e-3 G1.unitsScaleDispl=1e3 G1.unitsDispl='[mm]' G2=graphical_reports.LoadCaseDispParameters(loadCaseName='GdeadLoad',loadCaseDescr='G2: dead load',loadCaseExpr='1.0*GdeadLoad',setsToDispLoads=[shells],setsToDispDspRot=[shellsPcable],setsToDispIntForc=[deckCenter]) G2.unitsScaleLoads=1e-3 G2.unitsScaleForc=1e-3 G2.unitsScaleMom=1e-3 G2.unitsScaleDispl=1e3 G2.unitsDispl='[mm]' QA=graphical_reports.LoadCaseDispParameters(loadCaseName='QliveLoadA',loadCaseDescr='QA: live load A',loadCaseExpr='1.0*QliveLoadA',setsToDispLoads=[shells],setsToDispDspRot=[shellsPcable],setsToDispIntForc=[deckCenter]) QA.unitsScaleLoads=1e-3
the units (defaults to 1). unitsMom: text to especify the units in which bending moments are represented (defaults to '[kN.m/m]') cameraParameters: parameters that define the position and orientation of the camera (defaults to "XYZPos") cameraParametersBeams: parameters that define the position and orientation of the camera for beam elements displays (defaults to "XYZPos") ''' setsIntF = [allLosas, murAlig, diafRP] setsBeamIntF = [riostrEstr, pilas] G1 = graphical_reports.LoadCaseDispParameters(loadCaseName='G1', loadCaseDescr='G1: peso propio', loadCaseExpr='1.0*G1', setsToDispLoads=[overallSet], setsToDispDspRot=[overallSet], setsToDispIntForc=setsIntF) G1.unitsScaleLoads = 1e-3 G1.unitsScaleDispl = 1e3 G1.unitsDispl = '[mm]' G1.unitsScaleMom = 1e-3 G1.unitsMom = '[m.kN]' G1.unitsScaleForc = 1e-3 G1.unitsForc = '[kN]' G1.cameraParameters = vtk_graphic_base.CameraParameters('XYZPos') G1.setsToDispBeamIntForc = setsBeamIntF G1.listBeamIntForc = ['N', 'My', 'Mz', 'Qy', 'Qz'] G2 = graphical_reports.LoadCaseDispParameters(loadCaseName='G2',
unitsScaleForc: factor to apply to internal forces if we want to change the units (defaults to 1). unitsForc: text to especify the units in which forces are represented (defaults to '[kN/m]') unitsScaleMom: factor to apply to internal moments if we want to change the units (defaults to 1). unitsMom: text to especify the units in which bending moments are represented (defaults to '[kN.m/m]') cameraParameters: parameters that define the position and orientation of the camera (defaults to "XYZPos") ''' G1=graphical_reports.LoadCaseDispParameters(loadCaseName='GselfWeight',loadCaseDescr='G1: Poids propre',loadCaseExpr='1.0*GselfWeight',setsToDispLoads=[overallSet],setsToDispDspRot=[foundDeck,walls],setsToDispIntForc=[foundDeck,walls]) G1.unitsScaleLoads=1e-3 G1.unitsScaleDispl=1e3 G1.unitsDispl='[mm]' G1.unitsScaleForc=1e-3 G1.unitsScaleMom=1e-3 G2=graphical_reports.LoadCaseDispParameters(loadCaseName='GdeadLoad',loadCaseDescr='G2: Poids propre non porteur',loadCaseExpr='1.0*GdeadLoad',setsToDispLoads=[overallSet],setsToDispDspRot=[foundDeck,walls],setsToDispIntForc=[foundDeck,walls]) #G2.setToDisplay=foundation G2.unitsScaleLoads=1e-3 G2.unitsScaleDispl=1e3 G2.unitsDispl='[mm]' G2.unitsScaleForc=1e-3 G2.unitsScaleMom=1e-3
unitsScaleMom: factor to apply to internal moments if we want to change the units (defaults to 1). unitsMom: text to especify the units in which bending moments are represented (defaults to '[kN.m/m]') cameraParameters: parameters that define the position and orientation of the camera (defaults to "XYZPos") cameraParametersBeams: parameters that define the position and orientation of the camera for beam elements displays (defaults to "XYZPos") ''' LC1_deadLoadBearingStructure = graphical_reports.LoadCaseDispParameters( loadCaseName='LC1_deadLoadBearingStructure', loadCaseDescr='LC1: dead load of the bearing structure', loadCaseExpr='1.0*LC1_deadLoadBearingStructure', setsToDispLoads=[xcTotalSet], setsToDispDspRot=[xcTotalSet], setsToDispIntForc=[shellSet]) LC1_deadLoadBearingStructure.unitsScaleLoads = 1 LC1_deadLoadBearingStructure.unitsScaleDispl = 1e3 LC1_deadLoadBearingStructure.unitsDispl = '[mm]' LC1_deadLoadBearingStructure.unitsScaleMom = 1 LC1_deadLoadBearingStructure.unitsMom = '[m.kN]' LC1_deadLoadBearingStructure.unitsScaleForc = 1 LC1_deadLoadBearingStructure.unitsForc = '[kN]' LC1_deadLoadBearingStructure.setsToDispBeamIntForc = [columnsSet] LC1_deadLoadBearingStructure.listBeamIntForc = ['My', 'Mz', 'Qy', 'Qz', 'N'] LC1_deadLoadBearingStructure.cameraParameters = vtk_graphic_base.CameraParameters( '-X-Y+Z') LC1_deadLoadBearingStructure.setsToDispBeamLoads = []
unitsScaleMom: factor to apply to internal moments if we want to change the units (defaults to 1). unitsMom: text to especify the units in which bending moments are represented (defaults to '[kN.m/m]') cameraParameters: parameters that define the position and orientation of the camera (defaults to "XYZPos") cameraParametersBeams: parameters that define the position and orientation of the camera for beam elements displays (defaults to "XYZPos") ''' Q1 = graphical_reports.LoadCaseDispParameters( loadCaseName='Q1', loadCaseDescr='Q1: Prueba de carga estática', loadCaseExpr='1.0*Q1', setsToDispLoads=[overallSet], setsToDispDspRot=[dintel], setsToDispIntForc=[dintel]) Q1.unitsScaleLoads = 1e-3 Q1.unitsScaleDispl = 1e3 Q1.unitsDispl = '[mm]' Q1.unitsScaleMom = 1e-3 Q1.unitsMom = '[m.kN]' Q1.unitsScaleForc = 1e-3 Q1.unitsForc = '[kN]' Q1.cameraParameters = vtk_graphic_base.CameraParameters('XYZPos') Q1.listDspRot = [] Q1.listIntForc = ['M2']
unitsForc: text to especify the units in which forces are represented (defaults to '[kN/m]') unitsScaleMom: factor to apply to internal moments if we want to change the units (defaults to 1). unitsMom: text to especify the units in which bending moments are represented (defaults to '[kN.m/m]') cameraParameters: parameters that define the position and orientation of the camera (defaults to "XYZPos") cameraParametersBeams: parameters that define the position and orientation of the camera for beam elements displays (defaults to "XYZPos") ''' G1 = graphical_reports.LoadCaseDispParameters(loadCaseName='lcase01', loadCaseDescr='G1: self weight', loadCaseExpr='1.0*lcase01', setsToDispLoads=[], setsToDispDspRot=[beamSet], setsToDispIntForc=[]) G1.unitsScaleLoads = 1e-3 G1.unitsScaleDispl = 1e3 G1.unitsDispl = '[mm]' G1.unitsScaleMom = 1e-3 G1.unitsMom = '[m.kN]' G1.unitsScaleForc = 1e-3 G1.unitsForc = '[kN]' G1.setsToDispBeamIntForc = [beamSet] G1.listBeamIntForc = ['My', 'Mz', 'Qy', 'Qz', 'N'] G1.cameraParameters = vtk_graphic_base.CameraParameters('XYZPos') G1.setsToDispBeamLoads = [beamSet] G1.vectorScalePointLoads = 0.005 G1.compElLoad = 'axialComponent'
represented (defaults to '[kN/m]') unitsScaleMom: factor to apply to internal moments if we want to change the units (defaults to 1). unitsMom: text to especify the units in which bending moments are represented (defaults to '[kN.m/m]') cameraParameters: parameters that define the position and orientation of the camera (defaults to "XYZPos") cameraParametersBeams: parameters that define the position and orientation of the camera for beam elements displays (defaults to "XYZPos") ''' G1 = graphical_reports.LoadCaseDispParameters( loadCaseName='G1', loadCaseDescr='G1: Peso propio', loadCaseExpr='1.0*G1', setsToDispLoads=[overallSet], setsToDispDspRot=[overallSet], setsToDispIntForc=[losas_M1M2, hastIzq_M1M2]) G1.unitsScaleLoads = 1e-3 G1.unitsScaleDispl = 1e3 G1.unitsDispl = '[mm]' G1.unitsScaleMom = 1e-3 G1.unitsMom = '[m.kN]' G1.unitsScaleForc = 1e-3 G1.unitsForc = '[kN]' G1.cameraParameters = vtk_graphic_base.CameraParameters('XYZPos') G2a = graphical_reports.LoadCaseDispParameters( loadCaseName='G2a', loadCaseDescr='G2a: Carga muerta en servicio',
represented (defaults to '[kN/m]') unitsScaleMom: factor to apply to internal moments if we want to change the units (defaults to 1). unitsMom: text to especify the units in which bending moments are represented (defaults to '[kN.m/m]') cameraParameters: parameters that define the position and orientation of the camera (defaults to "XYZPos") cameraParametersBeams: parameters that define the position and orientation of the camera for beam elements displays (defaults to "XYZPos") ''' A1 = graphical_reports.LoadCaseDispParameters( loadCaseName='A1', loadCaseDescr='A1: impact on parapet head', loadCaseExpr='1.0*A1', setsToDispLoads=[totalSet], setsToDispDspRot=[shells], setsToDispIntForc=[totalSet]) A1.unitsScaleLoads = 1e-3 A1.unitsScaleForc = 1e-3 A1.unitsScaleMom = 1e-3 A1.unitsScaleDispl = 1e3 A1.cameraParameters = vtk_graphic_base.CameraParameters('-X+Y+Z') A1.unitsDispl = '[mm]' A2 = graphical_reports.LoadCaseDispParameters( loadCaseName='A2', loadCaseDescr='A2: impact on parapet body', loadCaseExpr='1.0*A2', setsToDispLoads=[totalSet],
unitsScaleForc: factor to apply to internal forces if we want to change the units (defaults to 1). unitsForc: text to especify the units in which forces are represented (defaults to '[kN/m]') unitsScaleMom: factor to apply to internal moments if we want to change the units (defaults to 1). unitsMom: text to especify the units in which bending moments are represented (defaults to '[kN.m/m]') cameraParameters: parameters that define the position and orientation of the camera (defaults to "XYZPos") cameraParametersBeams: parameters that define the position and orientation of the camera for beam elements displays (defaults to "XYZPos") ''' G1 = graphical_reports.LoadCaseDispParameters(loadCaseName='GselfWeight', loadCaseDescr='G1: self weight', loadCaseExpr='1.0*GselfWeight', setsToDispLoads=[overallSet], setsToDispDspRot=[overallSet], setsToDispIntForc=[]) G1.unitsScaleLoads = 1e-3 G1.unitsScaleDispl = 1e3 G1.unitsDispl = '[mm]' G1.unitsScaleMom = 1e-3 G1.unitsMom = '[m.kN]' G1.unitsScaleForc = 1e-3 G1.unitsForc = '[kN]' G1.cameraParameters = vtk_graphic_base.CameraParameters('XYZPos')
the units (defaults to 1). unitsForc: text to especify the units in which forces are represented (defaults to '[kN/m]') unitsScaleMom: factor to apply to internal moments if we want to change the units (defaults to 1). unitsMom: text to especify the units in which bending moments are represented (defaults to '[kN.m/m]') cameraParameters: parameters that define the position and orientation of the camera (defaults to "XYZPos") cameraParametersBeams: parameters that define the position and orientation of the camera for beam elements displays (defaults to "XYZPos") ''' Q1a=graphical_reports.LoadCaseDispParameters(loadCaseName='Q1a',loadCaseDescr='Q1a: Tren de cargas centrado en ambas vías',loadCaseExpr='1.0*Q1a',setsToDispLoads=[marco],setsToDispDspRot=[dintel],setsToDispIntForc=[]) Q1a.unitsScaleLoads=1e-3 Q1a.unitsScaleDispl=1e3 Q1a.unitsDispl='[mm]' Q1a.unitsScaleMom=1e-3 Q1a.unitsMom='[m.kN]' Q1a.unitsScaleForc=1e-3 Q1a.unitsForc='[kN]' Q1a.cameraParameters= vtk_graphic_base.CameraParameters('ZPos') Q1a1via=graphical_reports.LoadCaseDispParameters(loadCaseName='Q1a1via',loadCaseDescr='Q1a1via: Tren de cargas centrado en una sola vía',loadCaseExpr='1.0*Q1a1via',setsToDispLoads=[marco],setsToDispDspRot=[dintel],setsToDispIntForc=[]) Q1a1via.unitsScaleLoads=1e-3 Q1a1via.unitsScaleDispl=1e3 Q1a1via.unitsDispl='[mm]' Q1a1via.unitsScaleMom=1e-3
represented (defaults to '[kN/m]') unitsScaleMom: factor to apply to internal moments if we want to change the units (defaults to 1). unitsMom: text to especify the units in which bending moments are represented (defaults to '[kN.m/m]') cameraParameters: parameters that define the position and orientation of the camera (defaults to "XYZPos") cameraParametersBeams: parameters that define the position and orientation of the camera for beam elements displays (defaults to "XYZPos") ''' G1 = graphical_reports.LoadCaseDispParameters(loadCaseName='GselfWeight', loadCaseDescr='G1: self weight', loadCaseExpr='1.0*GselfWeight', setsToDispLoads=[shells], setsToDispDspRot=[shells], setsToDispIntForc=[shells]) G1.unitsScaleLoads = 1e-3 G1.unitsScaleForc = 1e-3 G1.unitsScaleMom = 1e-3 G1.unitsScaleDispl = 1e3 G1.unitsDispl = '[mm]' G2 = graphical_reports.LoadCaseDispParameters(loadCaseName='GdeadLoad', loadCaseDescr='G2: dead load', loadCaseExpr='1.0*GdeadLoad', setsToDispLoads=[shells], setsToDispDspRot=[shells], setsToDispIntForc=[shells]) G2.unitsScaleLoads = 1e-3
q_sit5 = lcases.LoadCase(preprocessor=prep, name="q_sit5") q_sit5.create() q_sit5.addLstLoads(qunif_sit5) frenCent = lcases.LoadCase(preprocessor=prep, name="frenCent") frenCent.create() frenCent.addLstLoads([qfren_viaCent]) frenExt = lcases.LoadCase(preprocessor=prep, name="frenExt") frenExt.create() frenExt.addLstLoads([qfren_viaExt]) Q1a_1_carro = graphical_reports.LoadCaseDispParameters( loadCaseName='Q1a_1_carro', loadCaseDescr='Q1a_1_carro', loadCaseExpr='1.0*Q1a_1_carro', setsToDispLoads=[overallSet], setsToDispDspRot=[], setsToDispIntForc=[]) Q1a_1_carro.unitsScaleLoads = 1e-3 Q1a_1_carro.vectorScaleLoads = 0.020 Q1a_1_carro.unitsScaleDispl = 1e3 Q1a_1_carro.unitsDispl = '[mm]' Q1a_1_carro.unitsScaleMom = 1e-3 Q1a_1_carro.unitsMom = '[m.kN]' Q1a_1_carro.unitsScaleForc = 1e-3 Q1a_1_carro.unitsForc = '[kN]' Q1a_1_carro.cameraParameters = vtk_graphic_base.CameraParameters('ZPos') Q1a_2_carro = graphical_reports.LoadCaseDispParameters( loadCaseName='Q1a_2_carro',
# -*- coding: utf-8 -*- from postprocess.xcVtk import vtk_graphic_base from postprocess.reports import graphical_reports #Dead load cases G1 = graphical_reports.LoadCaseDispParameters(loadCaseName='G1', loadCaseDescr='G1: peso propio', loadCaseExpr='1.0*G1', setsToDispLoads=[overallSet], setsToDispDspRot=[overallSet], setsToDispIntForc=[]) G2 = graphical_reports.LoadCaseDispParameters(loadCaseName='G2', loadCaseDescr='G2: carga muerta', loadCaseExpr='1.0*G2', setsToDispLoads=[overallSet], setsToDispDspRot=[overallSet], setsToDispIntForc=[]) #Rheological load cases G3 = graphical_reports.LoadCaseDispParameters( loadCaseName='G3', loadCaseDescr='G3: acciones reológicas', loadCaseExpr='1.0*G3', setsToDispLoads=[overallSet], setsToDispDspRot=[overallSet], setsToDispIntForc=[]) #Traffic load cases Q1a1 = graphical_reports.LoadCaseDispParameters( loadCaseName='Q1a1', loadCaseDescr='Q1a1: tren de cargas, posición A1', loadCaseExpr='1.0*Q1a1',
views: "XYZPos", "XYZNeg", "XPos", "XNeg","YPos", "YNeg", "ZPos", "ZNeg", "+X+Y+Z", "+X+Y-Z", "+X-Y+Z", "+X-Y-Z", "-X+Y+Z", "-X+Y-Z", "-X-Y+Z", "-X-Y-Z") (defaults to "XYZPos") hCamFct: factor that applies to the height of the camera position in order to change perspective of isometric views (defaults to 1, usual values 0.1 to 10) viewNameBeams: name of the view for beam elements displays (defaults to "XYZPos") hCamFctBeams: factor that applies to the height of the camera position for beam displays (defaults to 1) ''' Q1 = graphical_reports.LoadCaseDispParameters( loadCaseName='qunifBeams', loadCaseDescr='Q1: uniform load on beams', loadCaseExpr='1.0*qunifBeams', setsToDispLoads=[overallSet], setsToDispDspRot=[overallSet], setsToDispIntForc=[]) Q1.unitsScaleLoads = 1e-3 Q1.unitsScaleDispl = 1e3 Q1.unitsDispl = '[mm]' Q1.unitsScaleMom = 1e-3 Q1.unitsMom = '[m.kN]' Q1.unitsScaleForc = 1e-3 Q1.unitsForc = '[kN]' Q1.setsToDispBeamIntForc = [overallSet] Q1.listBeamIntForc = ['My', 'Mz', 'Qy'] Q1.viewName = "XYZPos" Q1.setsToDispBeamLoads = [overallSet] Q1.compElLoad = 'transComponent'
represented (defaults to '[kN/m]') unitsScaleMom: factor to apply to internal moments if we want to change the units (defaults to 1). unitsMom: text to especify the units in which bending moments are represented (defaults to '[kN.m/m]') cameraParameters: parameters that define the position and orientation of the camera (defaults to "XYZPos") cameraParametersBeams: parameters that define the position and orientation of the camera (defaults to "XYZPos") when displaying beam elements ''' Q1 = graphical_reports.LoadCaseDispParameters( loadCaseName='Qcantlv', loadCaseDescr='Q1: uniform load on the cantilever', loadCaseExpr='1.0*Qcantlv', setsToDispLoads=[xcTotalSet], setsToDispDspRot=[xcTotalSet], setsToDispIntForc=[xcTotalSet]) Q1.unitsScaleLoads = 1e-3 Q1.unitsScaleDispl = 1e3 Q1.unitsDispl = '[mm]' Q1.unitsScaleMom = 1e-3 Q1.unitsMom = '[m.kN]' Q1.unitsScaleForc = 1e-3 Q1.unitsForc = '[kN]' Q1.cameraParameters = vtk_graphic_base.CameraParameters('XYZPos') Q1.listDspRot = ['uZ'] Q1.listIntForc = ['M2', 'Q2']
the units (defaults to 1). unitsForc: text to especify the units in which forces are represented (defaults to '[kN/m]') unitsScaleMom: factor to apply to internal moments if we want to change the units (defaults to 1). unitsMom: text to especify the units in which bending moments are represented (defaults to '[kN.m/m]') cameraParameters: parameters that define the position and orientation of the camera (defaults to "XYZPos") cameraParametersBeams: parameters that define the position and orientation of the camera when displaying beam elements (defaults to "XYZPos") ''' G1=graphical_reports.LoadCaseDispParameters(loadCaseName='GselfWeight',loadCaseDescr='G1: self weight',loadCaseExpr='1.0*GselfWeight',setsToDispLoads=[],setsToDispDspRot=[colsSet],setsToDispIntForc=[]) G1.unitsScaleDispl=1e3 G1.unitsDispl='[mm]' G1.unitsScaleLoads=1e-3 G1.unitsScaleMom=1e-3 G1.unitsMom='[m.kN]' G1.unitsScaleForc=1e-3 G1.unitsForc='[kN]' G1.setsToDispBeamIntForc=[colsSet] G1.listBeamIntForc=['Mz','Qy','N'] G1.cameraParametersBeams= vtk_graphic_base.CameraParameters('YPos') G1.setsToDispBeamLoads=[colsSet] G1.vectorScalePointLoads=0.005 G1.compElLoad='transComponent' Q1=graphical_reports.LoadCaseDispParameters(loadCaseName='Qwind',loadCaseDescr='Q1: wind',loadCaseExpr='1.0*Qwind',setsToDispLoads=[],setsToDispDspRot=[colsSet],setsToDispIntForc=[])
unitsScaleForc: factor to apply to internal forces if we want to change the units (defaults to 1). unitsForc: text to especify the units in which forces are represented (defaults to '[kN/m]') unitsScaleMom: factor to apply to internal moments if we want to change the units (defaults to 1). unitsMom: text to especify the units in which bending moments are represented (defaults to '[kN.m/m]') cameraParameters: parameters that define the position and orientation of the camera (defaults to "XYZPos") cameraParametersBeams: parameters that define the position and orientation of the camera for beam elements displays (defaults to "XYZPos") ''' G1=graphical_reports.LoadCaseDispParameters(loadCaseName='GselfWeight',loadCaseDescr='G1: self weight',loadCaseExpr='1.0*GselfWeight',setsToDispLoads=[deck,found],setsToDispDspRot=[deck,found],setsToDispIntForc=[]) G1.unitsScaleLoads=1e-3 G1.unitsScaleDispl=1e3 G1.unitsDispl='[mm]' G1.unitsScaleMom=1e-3 G1.unitsMom='[m.kN]' G1.unitsScaleForc=1e-3 G1.unitsForc='[kN]' G1.setsToDispBeamIntForc=[columnZ,beamX,beamY] G1.listBeamIntForc=['My','Mz','Qy','Qz','N'] G1.cameraParameters= vtk_graphic_base.CameraParameters('XYZPos') G1.setsToDispBeamLoads=[beamY] G1.vectorScalePointLoads=0.005 G1.compElLoad='axialComponent'
represented (defaults to '[kN/m]') unitsScaleMom: factor to apply to internal moments if we want to change the units (defaults to 1). unitsMom: text to especify the units in which bending moments are represented (defaults to '[kN.m/m]') cameraParameters: parameters that define the position and orientation of the camera (defaults to "XYZPos") cameraParametersBeams: parameters that define the position and orientation of the camera for beam elements displays (defaults to "XYZPos") ''' G1 = graphical_reports.LoadCaseDispParameters(loadCaseName='GselfWeight', loadCaseDescr='G1: self weight', loadCaseExpr='1.0*GselfWeight', setsToDispLoads=[overallSet], setsToDispDspRot=[overallSet], setsToDispIntForc=[]) G1.unitsScaleLoads = 1e-3 G1.unitsScaleDispl = 1e3 G1.unitsDispl = '[mm]' G1.unitsScaleMom = 1e-3 G1.unitsMom = '[m.kN]' G1.unitsScaleForc = 1e-3 G1.unitsForc = '[kN]' G1.setsToDispBeamIntForc = [columnZ, beamX, beamY] G1.listBeamIntForc = ['My', 'Mz', 'Qy', 'Qz', 'N'] G1.cameraParameters = vtk_graphic_base.CameraParameters('XYZPos') G1.setsToDispBeamLoads = [beamY] G1.vectorScalePointLoads = 0.005 G1.compElLoad = 'transComponent'