code: def cube(cls, center=[0,0,0], radius=[1,1,1]):
          
          c = Vector(0, 0, 0)
          r = [1, 1, 1]
          if isinstance(center, list): c = Vector(center)
          if isinstance(radius, list): r = radius
          else: r = [radius, radius, radius]
  
          polygons = list(map(
              lambda v: Polygon( 
                  list(map(lambda i: 
                      Vertex(
                          Vector(
                              c.x + r[0] * (2 * bool(i & 1) - 1),
                              c.y + r[1] * (2 * bool(i & 2) - 1),
                              c.z + r[2] * (2 * bool(i & 4) - 1)
                          ), 
                          None
                      ), v[0]))),
                      [
                          [[0, 4, 6, 2], [-1, 0, 0]],
                          [[1, 3, 7, 5], [+1, 0, 0]],
                          [[0, 1, 5, 4], [0, -1, 0]],
                          [[2, 6, 7, 3], [0, +1, 0]],
                          [[0, 2, 3, 1], [0, 0, -1]],
                          [[4, 5, 7, 6], [0, 0, +1]]
                      ]))
          return CSG.fromPolygons(polygons)
docs: Construct an axis-aligned solid cuboid. Optional parameters are `center` and
          `radius`, which default to `[0, 0, 0]` and `[1, 1, 1]`. The radius can be
          specified using a single number or a list of three numbers, one for each axis.
          
          Example code::
          
              cube = CSG.cube(
                center=[0, 0, 0],
                radius=1
              )