execfile('../model_data.py')
execfile('../captionTexts.py')

from postprocess.xcVtk.FE_model import quick_graphics as qg

    # displayLocalAxes: vector field display of the element local axes.
    # Parameters:
    #   setToDisplay:   set of elements to be displayed
    #                   (defaults to 'total')
    #   vectorScale:    factor to apply to the vectors length in the 
    #                   representation (defaults to 1).
    #   viewNm:         name of the view  that contains the renderer (possible
    #                   options: "XYZPos","XYZNeg", "XPos", "XNeg","YPos","YNeg"
    #                   "ZPos", "ZNeg") (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)
    #   fileName:       full name of the graphic file to generate. Defaults to 
    #                   None, in this case it returns a console output graphic.

#setToDisp=shells
#setToDisp=overallSet
setToDisp=deck
#setToDisp=curb
#setToDisp=cables
#setToDisp=shellsPcable
qg.displayLocalAxes(prep=prep,setToDisplay=setToDisp,vectorScale=1,viewNm="XYZPos",hCamFct=1.0,caption=capTexts['LocalAxes'],fileName=None,defFScale=0.0)


示例#2
0
# -*- coding: utf-8 -*-

execfile('../model_data.py')

from postprocess.xcVtk.FE_model import quick_graphics as qg

# displayLocalAxes: vector field display of the element local axes.
# Parameters:
#   setToDisplay:   set of elements to be displayed
#                   (defaults to 'total')
#   vectorScale:    factor to apply to the vectors length in the
#                   representation (defaults to 1).
#   viewNm:         name of the view  that contains the renderer (possible
#                   options: "XYZPos","XYZNeg", "XPos", "XNeg","YPos","YNeg"
#                   "ZPos", "ZNeg") (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)
#   fileName:       full name of the graphic file to generate. Defaults to
#                   None, in this case it returns a console output graphic.

qg.displayLocalAxes(prep=prep,
                    setToDisplay=hastiales,
                    vectorScale=0.15,
                    viewNm="XYZPos",
                    hCamFct=2.0,
                    caption=cfg.capTexts['LocalAxes'],
                    fileName=None,
                    defFScale=0.0)
#qg.displayLocalAxes(prep=prep,setToDisplay=columnZ,vectorScale=0.15,viewNm="XYZPos",hCamFct=1.0,caption=cfg.capTexts['LocalAxes'],fileName=None,defFScale=0.0)
示例#3
0
# displayLocalAxes: vector field display of the element local axes.
# Parameters:
#   setToDisplay:   set of elements to be displayed
#                   (defaults to 'total')
#   vectorScale:    factor to apply to the vectors length in the
#                   representation (defaults to 1).
#   viewNm:         name of the view  that contains the renderer (possible
#                   options: "XYZPos","XYZNeg", "XPos", "XNeg","YPos","YNeg"
#                   "ZPos", "ZNeg") (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)
#   fileName:       full name of the graphic file to generate. Defaults to
#                   None, in this case it returns a console output graphic.
'''
qg.displayLocalAxes(prep=prep,setToDisplay=riostrEstr1,vectorScale=0.15,viewNm="XYZPos",hCamFct=2.0,caption= cfg.capTexts['LocalAxes'],fileName=None,defFScale=0.0)
qg.displayLocalAxes(prep=prep,setToDisplay=pilas,vectorScale=0.15,viewNm="XYZPos",hCamFct=2.0,caption= cfg.capTexts['LocalAxes'],fileName=None,defFScale=0.0)
'''
qg.displayLocalAxes(prep=prep,
                    setToDisplay=losInf,
                    vectorScale=0.15,
                    viewNm="XYZPos",
                    hCamFct=1.0,
                    caption=cfg.capTexts['LocalAxes'],
                    fileName=None,
                    defFScale=0.0)
qg.displayLocalAxes(prep=prep,
                    setToDisplay=supTablero,
                    vectorScale=0.15,
                    viewNm="XYZPos",
# -*- coding: utf-8 -*-

execfile('../model_data.py')
execfile('../captionTexts.py')

from postprocess.xcVtk.FE_model import quick_graphics as qg

    # displayLocalAxes: vector field display of the element local axes.
    # Parameters:
    #   setToDisplay:   set of elements to be displayed
    #                   (defaults to 'total')
    #   vectorScale:    factor to apply to the vectors length in the 
    #                   representation (defaults to 1).
    #   viewNm:         name of the view  that contains the renderer (possible
    #                   options: "XYZPos","XYZNeg", "XPos", "XNeg","YPos","YNeg"
    #                   "ZPos", "ZNeg") (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)
    #   fileName:       full name of the graphic file to generate. Defaults to 
    #                   None, in this case it returns a console output graphic.

setsToDisplay=[deck,walls,foundation]
vScale=0.3     #scale to apply to vector representation
for st in setsToDisplay:
    qg.displayLocalAxes(prep=prep,setToDisplay=st,vectorScale=vScale,viewNm="XYZPos",hCamFct=1.0,caption=st.description.capitalize() + ', '+  capTexts['LocalAxes'],fileName=None,defFScale=0.0)