def dict_dimensions(dict1):
    """
    Determines the dimensions of a model in dictionary form.
    Returns a tuple with the max values of indices from the coords.
    """
    x_dim = []
    y_dim = []
    z_dim = []
    for (i, j, k) in dict1.keys():
        y_dim.append(j)
        x_dim.append(i)
        z_dim.append(k)
    # add 1 to actually get the size of the model.
    return tuple([max(x_dim)+1, max(y_dim)+1, max(z_dim)+1])