Design World

  • Home
  • Technologies
    • ELECTRONICS • ELECTRICAL
    • Fastening • joining
    • FLUID POWER
    • LINEAR MOTION
    • MOTION CONTROL
    • SENSORS
    • TEST & MEASUREMENT
    • Factory automation
    • Warehouse automation
    • DIGITAL TRANSFORMATION
  • Learn
    • Tech Toolboxes
    • Learning center
    • eBooks • Tech Tips
    • Podcasts
    • Videos
    • Webinars • general engineering
    • Webinars • Automated warehousing
    • Voices
  • LEAP Awards
  • 2025 Leadership
    • 2024 Winners
    • 2023 Winners
    • 2022 Winners
    • 2021 Winners
  • Design Guides
  • Resources
    • Subscribe
    • 3D Cad Models
      • PARTsolutions
      • TraceParts
    • Digital Issues
      • Design World
      • EE World
    • Engineering diversity
    • Trends
  • Supplier Listings
  • Advertise
  • Subscribe

Book Review: Hardcore Programming for Mechanical Engineers, By Angel Sola Orbaiceta

By Lee Teschler | April 19, 2021

If you earned your engineering degree before the early 1990s, you never learned about the Python programming language in school. For those not familiar with Python who want to rectify that situation, Hardcore Programming for Mechanical Engineers might be a book to consider. It is about solving engineering problems with Python. In that Python is generally ranked among the top few programming languages in terms of popularity, the solution of engineering problems with Python might be an area worth investigating.

hardcore programming for mechanical engineersThe book devotes a significant number of its pages to coding geometric primitives that serve as the basis of more complex operations, how to create vector images and animated sequences to present results, and how to solve large systems of linear equations. The final chapters cover the solution of truss structure problems.

The book also assumes the reader has a background in engineering and mathematics. The word Hardcore in the book title refers to the fact that the text has readers writing their own Python code as a learning exercise rather than relying only on the Python standard libraries or third-party libraries to solve equations or draw vector images. That said, all the code is available on Github.

The first part of Hardcore covers a lot of Python basics. Authors of books like Hardcore, which aren’t designed as basic language primers, often have bit of a conundrum about deciding what level of programming knowledge readers need to understand the book. Hardcore author Angel Sola Orbaiceta expects readers to have “a basic understanding of the language.” But the first three chapters and a 30-page introduction are devoted to explaining fundamental Python concepts such as tuples, modules, packages, relative imports, docstrings, and so forth.

In a nutshell, the first chapters seem to be there to make sure readers are all on the same page of the playbook for the next section which goes into 2D geometry programming. Notably, this section includes a discussion of affine transformations, the mathematical constructs that allow panning, zooming, and rotating of geometrical figures as commonly takes place in CAD programs. If you’ve ever wondered how these operations happen, you’ll know once you’ve completed this chapter. After four more chapters on vector images, user interfaces, and graphical simulations, readers learn how to animate affine transformations.

Two chapters are devoted to solving matrices and linear equations with a fair amount of material on numerical methods. These concepts get put to work in the last section of the book on truss structures and structural models.

All in all, engineers with pressure-volume problems or knotty dynamics issues may find Hardcore to be a good introduction but not quite on point. For mechanical engineers working with engineering drawings and statics, there’s a lot to like.

You Might Also Like


Filed Under: Product design
Tagged With: nostarchpress
 

LEARNING CENTER

Design World Learning Center
“dw
EXPAND YOUR KNOWLEDGE AND STAY CONNECTED
Get the latest info on technologies, tools and strategies for Design Engineering Professionals.
Motor University

Design World Digital Edition

cover

Browse the most current issue of Design World and back issues in an easy to use high quality format. Clip, share and download with the leading design engineering magazine today.

EDABoard the Forum for Electronics

Top global problem solving EE forum covering Microcontrollers, DSP, Networking, Analog and Digital Design, RF, Power Electronics, PCB Routing and much more

EDABoard: Forum for electronics

Sponsored Content

  • Sustainability, Innovation and Safety, Central to Our Approach
  • Why off-highway is the sweet spot for AC electrification technology
  • Looking to 2025: Past Success Guides Future Achievements
  • North American Companies Seek Stronger Ties with Italian OEMs
  • Adapt and Evolve
  • Sustainable Practices for a Sustainable World
View More >>
Engineering Exchange

The Engineering Exchange is a global educational networking community for engineers.

Connect, share, and learn today »

Design World
  • About us
  • Contact
  • Manage your Design World Subscription
  • Subscribe
  • Design World Digital Network
  • Control Engineering
  • Consulting-Specifying Engineer
  • Plant Engineering
  • Engineering White Papers
  • Leap Awards

Copyright © 2025 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy | Advertising | About Us

Search Design World

  • Home
  • Technologies
    • ELECTRONICS • ELECTRICAL
    • Fastening • joining
    • FLUID POWER
    • LINEAR MOTION
    • MOTION CONTROL
    • SENSORS
    • TEST & MEASUREMENT
    • Factory automation
    • Warehouse automation
    • DIGITAL TRANSFORMATION
  • Learn
    • Tech Toolboxes
    • Learning center
    • eBooks • Tech Tips
    • Podcasts
    • Videos
    • Webinars • general engineering
    • Webinars • Automated warehousing
    • Voices
  • LEAP Awards
  • 2025 Leadership
    • 2024 Winners
    • 2023 Winners
    • 2022 Winners
    • 2021 Winners
  • Design Guides
  • Resources
    • Subscribe
    • 3D Cad Models
      • PARTsolutions
      • TraceParts
    • Digital Issues
      • Design World
      • EE World
    • Engineering diversity
    • Trends
  • Supplier Listings
  • Advertise
  • Subscribe
We use cookies to personalize content and ads, to provide social media features, and to analyze our traffic. We share information about your use of our site with our social media, advertising, and analytics partners who may combine it with other information you’ve provided to them or that they’ve collected from your use of their services. You consent to our cookies if you continue to use this website.OkNoRead more