code: def setShape(self, shape):
          
          for pp in shape:
              if len(pp) != 3:
                  raise ValueError('shape point must consist of x,y,z')
          self._shape3D = shape
          self._shape = [(x, y) for x, y, z in shape]
docs: Set the shape of the node.
  
          Shape must be a list containing x,y,z coords as numbers
          to represent the shape of the node.