8DRAWING VECTOR IMAGES
We’re about to start drawing images described by mathematical equations, a topic as fascinating as it is entertaining. We call images consisting of geometric primitives vector images, as opposed to bitmap images, which are sometimes also called raster images. Vector images are perfect for plotting the results of engineering problems that often come in the form of diagrams and simplified problem geometries.
In this chapter, we’ll create our own Python package capable of creating SVG images out of the geometric primitives we created in Part II of the book: points, segments, circles, polygons, and so on. In later chapters, ...
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.