예제 #1
0
 def __init__(self,obj, profile):
     obj.addProperty("App::PropertyString","FType","Profile",QT_TRANSLATE_NOOP("App::Property","Type of section")).FType = 'Z'
     obj.addProperty("App::PropertyLength","W","Draft",QT_TRANSLATE_NOOP("App::Property","Width of the beam")).W = profile[5]
     obj.addProperty("App::PropertyLength","H","Draft",QT_TRANSLATE_NOOP("App::Property","Height of the beam")).H = profile[4]
     obj.addProperty("App::PropertyLength","t1","Draft",QT_TRANSLATE_NOOP("App::Property","Thickness of the web")).t1 = profile[6]
     obj.addProperty("App::PropertyLength","t2","Draft",QT_TRANSLATE_NOOP("App::Property","Thickness of the flanges")).t2 = profile[7]
     _Profile.__init__(self,obj,profile)
예제 #2
0
파일: sections.py 프로젝트: oddtopus/macros
 def __init__(self, obj, profile):
     obj.addProperty("App::PropertyString", "FType", "Profile",
                     "Type of section").FType = 'circle'
     obj.addProperty("App::PropertyLength", "D", "Draft",
                     "Diameter of the beam").D = profile[4]
     obj.addProperty("App::PropertyLength", "t1", "Draft",
                     "Thickness").t1 = profile[5]
     _Profile.__init__(self, obj, profile)
예제 #3
0
파일: sections.py 프로젝트: oddtopus/macros
 def __init__(self, obj, profile):
     obj.addProperty("App::PropertyString", "FType", "Profile",
                     "Type of section").FType = 'R'
     obj.addProperty("App::PropertyLength", "W", "Draft",
                     "Width of the beam").W = profile[4]
     obj.addProperty("App::PropertyLength", "H", "Draft",
                     "Height of the beam").H = profile[5]
     _Profile.__init__(self, obj, profile)
예제 #4
0
 def __init__(self,obj, profile):
     obj.addProperty("App::PropertyString","FType","Profile",QT_TRANSLATE_NOOP("App::Property","Type of section")).FType = 'U'
     obj.addProperty("App::PropertyLength","W","Draft",QT_TRANSLATE_NOOP("App::Property","Width of the bottom flange")).W = profile[4]
     obj.addProperty("App::PropertyLength","H","Draft",QT_TRANSLATE_NOOP("App::Property","Height of the beam")).H = profile[5]
     obj.addProperty("App::PropertyLength","D","Draft",QT_TRANSLATE_NOOP("App::Property","Width of the top flange")).D = profile[6]
     obj.addProperty("App::PropertyLength","t1","Draft",QT_TRANSLATE_NOOP("App::Property","Thickness 1")).t1 = profile[7]
     obj.addProperty("App::PropertyLength","t2","Draft",QT_TRANSLATE_NOOP("App::Property","Thickness 2")).t2 = profile[8]
     obj.addProperty("App::PropertyLength","t3","Draft",QT_TRANSLATE_NOOP("App::Property","Thickness 3")).t3 = profile[9]
     _Profile.__init__(self,obj,profile)
예제 #5
0
파일: sections.py 프로젝트: oddtopus/macros
 def __init__(self, obj, profile):
     obj.addProperty("App::PropertyString", "FType", "Profile",
                     "Type of section").FType = 'T'
     obj.addProperty("App::PropertyLength", "W", "Draft",
                     "W of the beam").W = profile[4]
     obj.addProperty("App::PropertyLength", "H", "Draft",
                     "H of the beam").H = profile[5]
     obj.addProperty("App::PropertyLength", "t1", "Draft",
                     "Thickness of the web").t1 = profile[6]
     obj.addProperty("App::PropertyLength", "t2", "Draft",
                     "Thickness of the web").t2 = profile[7]
     _Profile.__init__(self, obj, profile)
예제 #6
0
파일: sections.py 프로젝트: oddtopus/macros
 def __init__(self, obj, profile):
     obj.addProperty("App::PropertyString", "FType", "Profile",
                     "Type of section").FType = 'RH'
     obj.addProperty("App::PropertyLength", "W", "Draft",
                     "Width of the beam").W = profile[4]
     obj.addProperty("App::PropertyLength", "H", "Draft",
                     "Height of the beam").H = profile[5]
     obj.addProperty("App::PropertyLength", "t1", "Draft",
                     "Thickness of the vertical sides").t1 = profile[6]
     obj.addProperty("App::PropertyLength", "t2", "Draft",
                     "Thickness of the horizontal sides").t2 = profile[7]
     _Profile.__init__(self, obj, profile)
예제 #7
0
파일: sections.py 프로젝트: oddtopus/macros
 def __init__(self, obj, profile):
     obj.addProperty("App::PropertyString", "FType", "Profile",
                     "Type of section").FType = 'omega'
     obj.addProperty("App::PropertyLength", "W", "Draft",
                     "Width of the beam").W = profile[4]
     obj.addProperty("App::PropertyLength", "H", "Draft",
                     "Height of the beam").H = profile[5]
     obj.addProperty("App::PropertyLength", "D", "Draft",
                     "Width of the flanges").D = profile[6]
     obj.addProperty("App::PropertyLength", "t1", "Draft",
                     "Thickness 1").t1 = profile[7]
     obj.addProperty("App::PropertyLength", "t2", "Draft",
                     "Thickness 2").t2 = profile[8]
     obj.addProperty("App::PropertyLength", "t3", "Draft",
                     "Thickness 3").t3 = profile[9]
     _Profile.__init__(self, obj, profile)