Elastic Properties#

import veux

AISC#

The from_aisc function generates standard steel shapes using an AISC identifier:

from xsection.library import from_aisc

shape = from_aisc("W14x211", fillet=True)
veux.render(shape.model)

Properties#

Once a shape is constructed, elastic properties can be extracted from the elastic attribute:

print(shape.elastic.Iy)
2660.8931001437513

The summary() method can also be used to print all properties at once:

print(shape.elastic.summary())
  Iy : 2661
  Iz : 1027
   A : 62.26
  Ay : 43.04
  Az : 13.94
   J : 47.8
 Iyz : -1.581e-13

Mesh Size#

The size of the mesh is controlled by the mesh_scale argument.

shape = from_aisc("W14x211", fillet=True, mesh_scale=1/2)
veux.render(shape.model)

Units#

By default, the from_aisc function builds shapes in standard english units. This can be changed using the units argument. Some options are:

Key

Base units

"mks"

Meter-kilonewton-second

"iks"

Inch-kip-second

"fks"

Foot-kip-second

shape = from_aisc("W14x211", fillet=True, units="mks")
print(shape.elastic.summary())
  Iy : 0.001108
  Iz : 0.0004275
   A : 0.04017
  Ay : 0.02874
  Az : 0.009034
   J : 3.024e-05
 Iyz : -3.175e-20

Standard Shapes#

Rectangle#

from xsection.library import Rectangle 

shape = Rectangle(b=12, d=18, mesh_scale=1/2)
veux.render(shape.model)