Code Monkey home page Code Monkey logo

staticspy's Introduction

StaticsPy

Library of functions for structural beam statics applications.

Basic Workflow

  1. Create a beam
  2. Add load data using static methods
  3. Build and combine load effects
  4. Display and export data

Beam Class

Create a new beam instance:

beam = Beam(length)

Simple_Point

Static class that provides Beam classes with simply supported, concentrated load shear and moment information. Add individual loads on a beam object but passing it as the first argument:

Simple_Point(beam, P, a)

Follow the Beam object argument with the load magnitude P and the distance a from the left support.

Positive P acts downward.

Example Outputs

Beam.Show_All() writes .png files to the ~/Documents/Statics folder. Example shear and moment output images are below. Note the combination load effect is a bold blue line, while load effects from point loads are shown as pink, and distributed loads as lightblue.

Shear Diagram Moment Diagram

staticspy's People

Contributors

benstanfish avatar

Stargazers

 avatar

Watchers

 avatar

staticspy's Issues

Loading diagrams

Add load arrows. Also need to figure out how to make independent of the plot scale.

DF type also...

Trapezoidal Load Type

Need to add trapezoidal load type: this type covers udf, trapezoidal and triangular DFs.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.