Пример #1
0
  def __init__(self):
    super(SteelSIAProperties,self).__init__(self.TableId,"XML\default","vertical",self.TableClsId,self.TableProgId)
    propThermalExpansionFireR= prop.Property("11","Thermal expansion (for fire resistance) ","real",self.idThermalExpansionFireR)
    propSpecificHeat= prop.Property("12","Specific heat","real",self.idSpecificHeat)
    propThermalConductivity= prop.Property("13","Thermal conductivity","real",self.idThermalConductivity)
    propUltimateStrength= prop.Property("14","Ultimate strength","real",self.idUltimateStrength)
    propYieldStrength= prop.Property("15","Yield strength","real",self.idYieldStrength)

    self.properties.append(propThermalExpansionFireR) #11
    self.properties.append(propSpecificHeat) #12
    self.properties.append(propThermalConductivity) #13
    self.properties.append(propUltimateStrength) #14
    self.properties.append(propYieldStrength) #15
Пример #2
0
 def __init__(self):
     super(NodeProperties,
           self).__init__(nc.idNodeContainer, nc.idNodeContainer,
                          nc.progIdNodes)
     self.tableDef = propTable.PropertiesTable(idNodeTable, "XML\default",
                                               "vertical",
                                               nc.idNodeContainer,
                                               nc.progIdNodes)
     self.tableDef.properties.append(
         prop.Property("0", "Name", "string", idName))
     self.tableDef.properties.append(
         prop.Property("1", "XCoord", "param", idXCoord, "33619968"))
     self.tableDef.properties.append(
         prop.Property("2", "YCoord", "param", idYCoord, "33619968"))
     self.tableDef.properties.append(
         prop.Property("3", "ZCoord", "param", idZCoord, "33619968"))
Пример #3
0
  def __init__(self):
    super(ConcreteSIAProperties,self).__init__(self.TableId,"XML\default","vertical",self.TableClsId,self.TableProgId)
    propSpecificHeat= prop.Property("11","Specific heat","real",self.idSpecificHeat)
    propThermalConductivity= prop.Property("12","Thermal conductivity","real",self.idThermalConductivity)
    propOrderInCode= prop.Property("13","Order in code","integer",self.idOrderInCode)
    propStoneDiameter= prop.Property("14","Stone diameter (dg)","real",self.idStoneDiameter)
    propCementClass= prop.Property("15","Cement class","enum",self.idCementClass,"262144")
    propCementClass.value= enum.Enum([])
    propFck= prop.Property("16","Characteristic compressive  cylinder strength [28](Fck)","real",self.idFck)
    propFctm= prop.Property("17","Mean tensile strength [28](Fctm)","real",self.idFctm)
    propFcd= prop.Property("18","fcd","real",self.idFcd)
    propMVMCS= prop.Property("19","Measured values of mean compressive strength (influence of ageing)","real",self.idMVMCS)

    self.properties.append(propSpecificHeat) #11
    self.properties.append(propThermalConductivity) #12
    self.properties.append(propOrderInCode) #13
    self.properties.append(propStoneDiameter) #14
    self.properties.append(propCementClass) #15
    self.properties.append(propFck) #16
    self.properties.append(propFctm) #17
    self.properties.append(propFcd) #18
    self.properties.append(propMVMCS) #19
Пример #4
0
  def __init__(self):
    super(EPPlaneProperties,self).__init__(containerId,containerClsId,'')
    self.tableProp= propTable.PropertiesTable(tbId,tbName,"vertical",tbClsId,tbProgId)
    propMat= prop.Property("0","_MATERIAL_","ref",idRef,"131072")
    propMat.value= rf.Ref("{77705284-eeb9-11d4-b450-00104bc3b531}","EP_Material.EP_Material.1")
    propType= prop.Property("1","_TYPE_","enum",idType,"0")
    propType.value= enum.Enum([eI.EnumItem("0","plate"),eI.EnumItem("1","wall"),eI.EnumItem("2","shell")])
    propLayerRef= prop.Property("2","_LAYERREF_","ref",idLayerRef,"131072")
    propLayerRef.value= rf.Ref("{d3885ec4-bae5-11d4-b3fa-00104bc3b531}","EP_DSG_Elements.EP_DataLayer.1")
    propFEMModel= prop.Property("3","_FEM_MODEL_","enum",idFEMModel,"0")
    propFEMModel.value= enum.Enum([eI.EnumItem("0", "Isotropic"), eI.EnumItem("1", "Orthotropic"), eI.EnumItem("2", "Membrane"), eI.EnumItem("3", "Load_panel"), eI.EnumItem("4", "Isotropic_with_beam"), eI.EnumItem("5", "Isotropic_from_beam"), eI.EnumItem("6", "Orthotropic_from_beam"), eI.EnumItem("7", "Membrane_with_beam"), eI.EnumItem("8", "Load_panel_with_beam"), eI.EnumItem("9", "Orthotropic_with_beam")])
    propThicknessType= prop.Property("4","_THICKNESS_TYPE_","enum",idThicknessType,"0")
    propThicknessType.value= enum.Enum([eI.EnumItem("0","constant"),eI.EnumItem("1","variable")])
    propMemberSystemPlaneAtProp= prop.Property("5","_MEMBER_SYSTEM_PLANE_AT_PROP_","enum",idMemberSystemPlaneAtProp,"0")
    propMemberSystemPlaneAtProp.value= enum.Enum([eI.EnumItem("1","centre"),eI.EnumItem("2","top"),eI.EnumItem("4","bottom")])
    propDirection= prop.Property("8","_DIRECTION_","enum",idDirection,"0")
    propDirection.value= enum.Enum([eI.EnumItem("0","X"),eI.EnumItem("1","Y"),eI.EnumItem("2","Z")])
    propPoint1= prop.Property("10","_POINT1_","ref",idPoint1,"0")
    propPoint1.value= rf.Ref("{39a7f468-a0d4-4dff-8e5c-5843e1807d13}",nc.progIdNodes)
    propPoint2= prop.Property("11","_POINT2_","ref",idPoint2,"0")
    propPoint2.value= rf.Ref("{39a7f468-a0d4-4dff-8e5c-5843e1807d13}",nc.progIdNodes)
    propGeomTable= prop.Property("12","_TABLE_OF_GEOMETRY_","table",idGeomTable,"0")
    propGeomTable.value= propSubTable.PropertiesSubTable('','',"vertical",'','')
    propGeomTable.value.properties.append(prop.Property("0","_CLOSED_CURVE_","bool","{e0dd8a0c-8e62-49bf-b2ff-cf737a0b65e5}","0"))
    subPropNode= prop.Property("1","_NODE_","ref","{f140e9f9-e8c9-48f1-a305-7f1eb39eeb65}","0")
    subPropNode.value= rf.Ref("{39a7f468-a0d4-4dff-8e5c-5843e1807d13}",nc.progIdNodes)
    subPropEdge= prop.Property("2","_EDGE_","enum","{406832d0-2125-4389-94e2-fd17d97bd027}","0")
    subPropEdge.value= enum.Enum([eI.EnumItem("0", "Line"), eI.EnumItem("1", "Circle_arc"), eI.EnumItem("2", "Circle_by_centre_and_vertex"), eI.EnumItem("4", "Circle_by_3_pts"), eI.EnumItem("5", "Parabolic_arc"), eI.EnumItem("6", "Bezier"), eI.EnumItem("7", "Spline"), eI.EnumItem("9", "Linestrip")])
    propGeomTable.value.properties.append(subPropNode)
    propGeomTable.value.properties.append(subPropEdge)
    propGeomTable.value.properties.append(prop.Property("3","_WEIGHT_","real","{23292b43-824e-4cc1-9376-83da8bac58db}","0"))
    propInternalNodes= prop.Property("13","_INTERNAL_NODES_","table",idInternalNodes,"0")
    propInternalNodes.value= propSubTable.PropertiesSubTable('','',"vertical",'','')
    propInternalNodes.value.properties.append(prop.Property("0","_INDEX_","integer","{24262aad-7b4d-42ed-b3f7-7d237b2a5484}","0"))
    subPropNode= prop.Property("1","_NODE_","ref","{66c5a1c2-2989-4d02-847b-63e69b346911}","0")
    subPropNode.value= rf.Ref("{39a7f468-a0d4-4dff-8e5c-5843e1807d13}",nc.progIdNodes)
    propInternalNodes.value.properties.append(subPropNode)

    self.tableProp.properties.append(propMat) #0
    self.tableProp.properties.append(propType) #1
    self.tableProp.properties.append(propLayerRef) #2
    self.tableProp.properties.append(propFEMModel) #3
    self.tableProp.properties.append(propThicknessType) #4
    self.tableProp.properties.append(propMemberSystemPlaneAtProp) #5
    self.tableProp.properties.append(prop.Property("6","_ECCENTRICITY_Z_","param","{92faa4d4-fe27-49ea-9d21-91a7ec47e12e}","33619968"))
    self.tableProp.properties.append(prop.Property("7","_THICKNESS_","param","{82644ab6-d9dd-4636-b771-c6ed05fa9171}","33619968"))
    self.tableProp.properties.append(propDirection) #8
    self.tableProp.properties.append(prop.Property("9","_THICKNESS2_","param","{82644ab6-d9dd-4636-b771-c6ed05fa9172}","33619968"))
    self.tableProp.properties.append(propPoint1) #10
    self.tableProp.properties.append(propPoint2) #11
    self.tableProp.properties.append(propGeomTable) #12
    self.tableProp.properties.append(propInternalNodes) #13
Пример #5
0
 def __init__(self):
   super(GenericMaterialProperties,self).__init__(self.TableId,"XML\default","vertical",self.TableClsId,self.TableProgId)
   propSpecificHeat= prop.Property("11","Specific heat","real",self.idSpecificHeat)
   propThermalConductivity= prop.Property("12","Thermal conductivity","real",self.idThermalConductivity)
   self.properties.append(propSpecificHeat) #11
   self.properties.append(propThermalConductivity) #12
Пример #6
0
  def __init__(self,id,name,typo,clsid,progid):
    super(BasicMaterialProperties,self).__init__(id,name,typo,clsid,progid)
    propName= prop.Property("0","Name","string",self.idName)
    propUniqueId= prop.Property("1","UniqueID","string",self.idUniqueId)
    propMatType= prop.Property("2","Material type","enum",self.idMaterialType,"262144")
    propMatType.value= enum.Enum([])
    propThermalExpansion= prop.Property("3","Thermal expansion ","real",self.idThermalExpansion)
    propUnitMass= prop.Property("4","Unit mass","real",self.idUnitMass)
    propYoungModulus= prop.Property("5","Young Modulus","real",self.idYoungModulus)
    propPoissonCoeff= prop.Property("6","Poisson coeff.","real",self.idPoissonCoeff)
    propIndependentGModulus= prop.Property("7","Independent G modulus","real",self.idIndependentGModulus)
    propGModulus= prop.Property("8","G modulus","real",self.idGModulus)
    propLogDecrement= prop.Property("9","Log. decrement (non-uniform damping only)","real",self.idLogDecrement)
    propColour= prop.Property("10","Colour","integer",self.idColour)

    self.properties.append(propName) #0
    self.properties.append(propUniqueId) #1
    self.properties.append(propMatType) #2
    self.properties.append(propThermalExpansion) #3
    self.properties.append(propUnitMass) #4
    self.properties.append(propYoungModulus) #5
    self.properties.append(propPoissonCoeff) #6
    self.properties.append(propIndependentGModulus) #7
    self.properties.append(propGModulus) #8
    self.properties.append(propLogDecrement) #9
    self.properties.append(propColour) #10
Пример #7
0
    def __init__(self):
        super(NodeSupportProperties, self).__init__(containerId,
                                                    containerClsId, '')
        self.tableProp = propTable.PropertiesTable(tbId, tbName, "vertical",
                                                   tbClsId, tbProgId)
        propName = prop.Property("0", "_NAME_", "string", idName, "0")
        propRefNode = prop.Property("1", "_NODE_", "ref", idNodeRef, "0")
        propRefNode.value = rf.Ref("{39a7f468-a0d4-4dff-8e5c-5843e1807d13}",
                                   nc.progIdNodes)
        propType = prop.Property("2", "_TYPE_", "enum", idType, "262144")
        propType.value = enum.Enum(
            [eI.EnumItem("0", "Standard"),
             eI.EnumItem("1", "Column")])

        propKX = prop.Property("3", "_STIFFNESSX_", "param", idStiffnessX,
                               "33619968")
        propTypeX = prop.Property("4", "_TYPEX_", "enum", idTypeX, "262144")
        propTypeX.value = enum.Enum([
            eI.EnumItem("0", "Free"),
            eI.EnumItem("1", "Rigid"),
            eI.EnumItem("2", "Flexible")
        ])
        propKY = prop.Property("5", "_STIFFNESSY_", "param", idStiffnessY,
                               "33619968")
        propTypeY = prop.Property("6", "_TYPEY_", "enum", idTypeY, "262144")
        propTypeY.value = enum.Enum([
            eI.EnumItem("0", "Free"),
            eI.EnumItem("1", "Rigid"),
            eI.EnumItem("2", "Flexible")
        ])
        propKZ = prop.Property("7", "_STIFFNESSZ_", "param", idStiffnessZ,
                               "33619968")
        propTypeZ = prop.Property("8", "_TYPEZ_", "enum", idTypeZ, "262144")
        propTypeZ.value = enum.Enum([
            eI.EnumItem("0", "Free"),
            eI.EnumItem("1", "Rigid"),
            eI.EnumItem("2", "Flexible")
        ])
        propKRX = prop.Property("9", "_STIFFNESSRX_", "real", idStiffnessRX,
                                "0")
        propTypeRX = prop.Property("10", "_TYPERX_", "enum", idTypeRX,
                                   "262144")
        propTypeRX.value = enum.Enum([
            eI.EnumItem("0", "Free"),
            eI.EnumItem("1", "Rigid"),
            eI.EnumItem("2", "Flexible")
        ])
        propKRY = prop.Property("11", "_STIFFNESSRY_", "real", idStiffnessRY,
                                "0")
        propTypeRY = prop.Property("12", "_TYPERY_", "enum", idTypeRY,
                                   "262144")
        propTypeRY.value = enum.Enum([
            eI.EnumItem("0", "Free"),
            eI.EnumItem("1", "Rigid"),
            eI.EnumItem("2", "Flexible")
        ])
        propKRZ = prop.Property("13", "_STIFFNESSRZ_", "real", idStiffnessRZ,
                                "0")
        propTypeRZ = prop.Property("14", "_TYPERZ_", "enum", idTypeRZ,
                                   "262144")
        propTypeRZ.value = enum.Enum([
            eI.EnumItem("0", "Free"),
            eI.EnumItem("1", "Rigid"),
            eI.EnumItem("2", "Flexible")
        ])

        self.tableProp.properties.append(propName)  #0
        self.tableProp.properties.append(propRefNode)  #1
        self.tableProp.properties.append(propType)  #2
        self.tableProp.properties.append(propKX)  #3
        self.tableProp.properties.append(propTypeX)  #4
        self.tableProp.properties.append(propKY)  #5
        self.tableProp.properties.append(propTypeY)  #6
        self.tableProp.properties.append(propKZ)  #7
        self.tableProp.properties.append(propTypeZ)  #8
        self.tableProp.properties.append(propKRX)  #9
        self.tableProp.properties.append(propTypeRX)  #10
        self.tableProp.properties.append(propKRY)  #11
        self.tableProp.properties.append(propTypeRY)  #12
        self.tableProp.properties.append(propKRZ)  #13
        self.tableProp.properties.append(propTypeRZ)  #14