Design World

  • Home
  • Technologies
    • 3D CAD
    • Electronics • electrical
    • Fastening & Joining
    • Factory automation
    • Linear Motion
    • Motion Control
    • Test & Measurement
    • Sensors
    • Fluid power
  • Learn
    • Ebooks / Tech Tips
    • Engineering Week
    • Future of Design Engineering
    • MC² Motion Control Classrooms
    • Podcasts
    • Videos
    • Webinars
  • LEAP AWARDS
  • Leadership
    • 2022 Voting
    • 2021 Winners
  • Design Guide Library
  • Resources
    • 3D Cad Models
      • PARTsolutions
      • TraceParts
    • Digital Issues
      • Design World
      • EE World
    • Women in Engineering
  • Supplier Listings

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

By Lee Teschler | April 19, 2021

Share

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 may also like:

  • R&D&$
    No worries: The internet would have arrived without Arpanet

  • R&D blues: Don’t blame educators for flagging innovation
  • baldrige award
    Time to kill the Malcolm Baldrige Award
  • ieee retractions
    Don’t believe everything you read in conference proceedings
  • relativity deniers
    Einstein and the relativity deniers

Filed Under: Product design
Tagged With: nostarchpress
 

Related Articles Read More >

Read COMSOL News 2021
PCB mills
Basics of printed circuit board milling machines
scilab
The top ten free engineering math software packages
RFID security
Basics of security in RFID readers

DESIGN GUIDE LIBRARY

“motion

Enews Sign Up

Motion Control Classroom

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

  • Renishaw next-generation FORTiS™ enclosed linear encoders offer enhanced metrology and reliability for machine tools
  • WAGO’s smartDESIGNER Online Provides Seamless Progression for Projects
  • Epoxy Certified for UL 1203 Standard
  • The Importance of Industrial Cable Resistance to Chemicals and Oils
  • Optimize, streamline and increase production capacity with pallet-handling conveyor systems
  • Global supply needs drive increased manufacturing footprint development

Design World Podcasts

June 12, 2022
How to avoid over engineering a part
See More >
Engineering Exchange

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

Connect, share, and learn today »

Design World
  • Advertising
  • About us
  • Contact
  • Manage your Design World Subscription
  • Subscribe
  • Design World Digital Network
  • Engineering White Papers
  • LEAP AWARDS

Copyright © 2022 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
    • 3D CAD
    • Electronics • electrical
    • Fastening & Joining
    • Factory automation
    • Linear Motion
    • Motion Control
    • Test & Measurement
    • Sensors
    • Fluid power
  • Learn
    • Ebooks / Tech Tips
    • Engineering Week
    • Future of Design Engineering
    • MC² Motion Control Classrooms
    • Podcasts
    • Videos
    • Webinars
  • LEAP AWARDS
  • Leadership
    • 2022 Voting
    • 2021 Winners
  • Design Guide Library
  • Resources
    • 3D Cad Models
      • PARTsolutions
      • TraceParts
    • Digital Issues
      • Design World
      • EE World
    • Women in Engineering
  • Supplier Listings