/Mechanics

Learn how to solve engineering mechanics problems using Python 3.

Primary LanguagePythonMIT LicenseMIT

Mechanics

Python package

Learn how to solve mechanics problems using Python 3. This repository contains the code from the book: Hardcore Programming for Mechanical Engineers.

COMING SOON. You can buy the book from No Starch Press or Amazon.

Setup

This project has no external dependencies. The code is tested using Python versions: 3.6, 3.7, 3.8 and 3.9.

Packages

This project includes the following packages:

  • utils: utility functions to perform a variety of simple operations
  • geom2d: two-dimensional geometry primitives and operations
  • eqs: system of equation solvers
  • graphic: graphic-related sub-packages:
    • svg: SVG images generation based on geom2d primitives
    • simulation: Animation generation drawing on a tkinter canvas
  • structures: truss structure resolution package
  • apps: the complete applications build in the book