19ASSEMBLING OUR APPLICATION

Image

We’ve implemented all the pieces of our truss structure application, so now it’s time to assemble them into something we can run from the command line. The application we’ll write this chapter will parse an input file into the structure model, use the solve_structure method from the Structure class to assemble the solved structure, and then use the functions we implemented in the previous chapter to create an SVG diagram and text file describing the solution.

A General Overview

To get an overview of how we’ll assemble the different modules into a final application, let’s take a look at Figure 19-1. This figure illustrates ...

Get Hardcore Programming for Mechanical Engineers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.