> Skip to content
  • Published: 14 October 2021
  • ISBN: 9781718500785
  • Imprint: No Starch
  • Format: Paperback
  • Pages: 600
  • RRP: $140.00

Hardcore Programming for Mechanical Engineers

Build Engineering Applications from Scratch



An exploration of core programming techniques for engineers. Readers learn to solve real engineering problems.

Hardcore Programming for Mechanical Engineers is for intermediate programmers who want to write good applications that solve tough engineering problems – from scratch.

What if you could solve challenging engineering problems with Python programming? With this book’s hardcore approach, you’ll learn how to code solutions from scratch using linear algebra, geometry, and physics to write custom libraries, draw primitives, and build applications.

Ángel Sola Orbaiceta covers core programming techniques for mechanical engineers, with a focus on crafting high-quality code and leveraging automated unit testing for error-free implementations. You’ll develop a geometry toolbox, filling it with lines and shapes to diagram engineering problems; create vector graphics and animations for mechanical simulations; and code algorithms to perform complex calculations. As a capstone you’ll combine these lessons to build a complete structural analysis application to solve a 2D truss problem that you might encounter in the field.

Learn how to:
• Use regular expressions to elegantly parse file input
• Refine your code with unit testing, encapsulation, and descriptive names
• Draw images onscreen and create animations with Tkinter’s Canvas widget
• Solve systems of linear equations using the Cholesky decomposition algorithm
• Build an application that visualizes a truss structure’s stresses and strains

Stop relying on third-party software—there are no shortcuts on the path to proficiency. With Hardcore Programming for Mechanical Engineers, you’ll hone your programming skills to get correct results every time.

  • Published: 14 October 2021
  • ISBN: 9781718500785
  • Imprint: No Starch
  • Format: Paperback
  • Pages: 600
  • RRP: $140.00

Praise for Hardcore Programming for Mechanical Engineers

"For mechanical engineers working with engineering drawings and statics, there’s a lot to like." —Lee Teschler, Design World