Skip to content

angelsolaorbaiceta/Mechanics

Repository files navigation

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.

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

Setup

This project has no external dependencies. The code is automatically tested using Python versions: 3.6, 3.7, 3.8 and 3.9; any of these Python versions should work.

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