Hardcore Programming for Mechanical Engineers

Build Engineering Applications from Scratch

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.
     
    Angel Sola Orbaiceta has been working in the software industry since 2013. He has a degree in industrial engineering with a focus in mechanics and currently works at Glovo, a thriving start-up in the heart of Barcelona. Angel is also the creator of InkStructure, an application for architecture and engineering students that solves 2D structure problems.

    About

    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.
     

    Author

    Angel Sola Orbaiceta has been working in the software industry since 2013. He has a degree in industrial engineering with a focus in mechanics and currently works at Glovo, a thriving start-up in the heart of Barcelona. Angel is also the creator of InkStructure, an application for architecture and engineering students that solves 2D structure problems.

    Three Penguin Random House Authors Win Pulitzer Prizes

    On Monday, May 5, three Penguin Random House authors were honored with a Pulitzer Prize. Established in 1917, the Pulitzer Prizes are the most prestigious awards in American letters. To date, PRH has 143 Pulitzer Prize winners, including William Faulkner, Eudora Welty, Josh Steinbeck, Ron Chernow, Anne Applebaum, Colson Whitehead, and many more. Take a look at our 2025 Pulitzer Prize

    Read more

    Books for LGBTQIA+ Pride Month

    In June we celebrate Lesbian, Gay, Bisexual, Transgender, Queer, Intersex, and Asexual + (LGBTQIA+) Pride Month, which honors the 1969 Stonewall riots in Manhattan. Pride Month is a time to both celebrate the accomplishments of those in the LGBTQ+ community and recognize the ongoing struggles faced by many across the world who wish to live

    Read more

    An Interview with Angel Sola Orbaiceta, Author of Hardcore Programming for Mechanical Engineers

    For Mathematics and Statistics Awareness Month, we spoke with Barcelona-based software engineer and author Angel Sola Orbaiceta, who is author of the book, Hardcore Programming for Mechanical Engineers (No Starch Press). Angel earned his degree in industrial engineering, but taught himself to code in between classes, and has worked in the software industry since graduating over

    Read more