Madeup Lock Core
I worked on creating the core to a lock that looks similar to a lock like this:
I started by creating the outline of the face of the lock, then extruded that face.
Then I created a cylinder around a portion of the core and found the difference of the two in order to get the final model.
moveto 0, 0, 0
yaw 72
repeat 19
move 5
yaw -18
end
yaw -90
move 4
yaw 83
move 2
yaw -105
move 5
yaw 107
move 1
yaw -85
move 10
moveto 0, 18.981, 0
yaw 90
moveto 0, 0, 0
core = extrude 0, 0, 1, 100
.radius = 17
.innerRadius = 11.875
nsides = 18
moveto -2.5, 15.875, 0
moveto -2.5, 15.875, 95
negate = tube
core - negate