/StructPy

Structural Analysis Library for Python based on the direct stiffness method

Primary LanguagePythonMIT LicenseMIT

Project Logo

Structural Analysis in Python

Build Status Badge Compatibility badge MIT License Badge

This library primarily uses the 'Direct Stiffness Method' to solve trusses and frames.

Getting StructPy

  • StructPy is not currently available through pip, but will be in the future. To use StructPy you need to manually install it with the development instructions below.

Cross Sections Library:

  • General shapes with user defined properties
  • Custom shapes generated by user defined parameters
    • I-Beam
    • Rectangle
    • Circle
    • Hollow Circle
  • AISC predefined cross sections and properties

Material Database

  • A992, A36, custom, etc...

Structural Analysis Classes to build structures

  • Node class
  • Member class
  • Structure class
    • Truss solving method and deformation plot

Development & Testing

Fork StructPy on github, and clone to your local machine with:

git clone git@github.com:{your_username}/StructPy.git

You can modify then test StructPy on your local Mac/Linux machine by running the following from the StructPy directory.

bash run_tests.sh

To install StructPy as a package run:

python3 setup.py install

References: