Termwork and Assignments for CAD/CAM/CAE subject
Uses numpy for calculations and matplotlib for visualization.
- Translation
- Rotation
- Scaling
- Reflecting about X and Y axes
- Shearing
- Select
0. Quit
before changing the points. - Set points in
cad_cli.set_points([(1,1), (3,1), (3,3), (1,3)])
and run.
Example 1 - cad_cli.set_points([(1,1)])
for a single point (x,y)
.
Example 2 - cad_cli.set_points([(1,1), (2, 1)])
for a line.
Example 3 - cad_cli.set_points([(1,1), (3,1), (3,3)])
for a triangle.