teaching machines

Button

June 12, 2021 by . Filed under public, slai-2021.

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.

Here’s an unsung hero whose worth isn’t recognized until it’s gone:

Just in case you lose one and need to print a replacement, you should have a 3D model of a button available.

Write a function named generateButton to generate the kind of shape you see in the image above. Have it accept these parameters:

Use boolean operations to create your button.