Square Pot
This post is part of a course on geometric modeling at the Summer Liberal Arts Institute for Computer Science held at Carleton College in 2021.
Consider the square pot below, which is just asking you to fill it with soil and plants. Or maybe pens and pencils. Or maybe ice and lemonade.
Write a function named generateSquarePot
that creates square pots of all sizes and thicknesses. Have it accept these parameters:
- The
side
length of the pot. - The
height
of the pot. - The
wall
thickness of the pot.
Use boolean operations to create your square pot.