fn cube(center) {
  return startSketchOn(XY)
    |> startProfile(at = [center[0] - 10, center[1] - 10])
    |> line(endAbsolute = [center[0] + 10, center[1] - 10])
    |> line(endAbsolute = [center[0] + 10, center[1] + 10])
    |> line(endAbsolute = [center[0] - 10, center[1] + 10])
    |> close()
    |> extrude(length = 10)
}

part001 = cube(center = [2, 2])
part002 = startSketchOn(XZ)
  |> circle(center = [5, 5], radius = 2)
  |> extrude(length = 34)
  |> translate(z = 3.14)

fullPart = subtract([part001], tools=[part002])
