Installing and Configuring PyCharm
Documenting the Code with Docstrings
Functions Inside Other Functions
Installing the Windows Subsystem for Linux
Taking a First Look at the Shell
Creating Files and Directories
Deleting Files and Directories
Using Windows Subsystem for Linux
Passing Arguments to the Script
Redirecting the Output to a File
Redirecting the Input from a File
Using PyCharm’s Python Console
Calculating Distance Between Points
Addition and Subtraction Operators
Addition and Subtraction Operators
Parallel and Perpendicular Vectors
Testing Vector Plus and Minus Operations
Testing Vector Product Operations
Testing Vector Parallelism and Perpendicularity
Three Golden Rules for Unit Testing
The t Parameter and Middle Points
Equality and String Representation
Equality and String Representation
Examples of Affine Transformations
The Affine Transformation Class
Testing the Transformation of Points
Transform Segments and Polygons
Inverting Affine Transformations
PART III
GRAPHICS AND SIMULATIONS
9
BUILDING A CIRCLE FROM THREE POINTS
Reading the Input and Configuration Files
Regular Expressions Cheat Sheet
Running the App Without an Input File
10
GRAPHICAL USER INTERFACES AND THE CANVAS
Drawing Our Geometric Primitives
11
ANIMATIONS, SIMULATIONS, AND THE TIME LOOP
Abstracting the Main Loop Function
Playing with the Circle Divisions
Playing with the Affine Transformation
12
ANIMATING AFFINE TRANSFORMATIONS
Application Architecture and Visibility Diagrams
Reading the Configuration File
Parsing the Affine Transformation
Parsing the Geometric Primitives
Implementing the Simulation Logic
Testing Cholesky: An Integration Test
Structural Member Internal Forces
Elastic Bodies Subject to External Forces
Stiffness Matrices in Global Coordinates
Creating a Structure from the Python Shell
Interpreting the Stiffness Matrix Terms
The Main Structure Resolution Algorithm
Assembling and Resolving the System of Equations
Advanced Unit Testing: Test Doubles
Testing the Structure Solution Class
Testing the Structure Resolution Process
Finding the Regular Expressions
Ignoring Blank Lines and Comments
Splitting the Lines and Instantiating the Structure
18
PRODUCING AN SVG IMAGE AND TEXT FILE
From Structure Solution to SVG
From Structure Solution to Text
18.118.32.213