def create_compound(obj, compound, builder):
    """Add objects to compound using builder.

    Args:
        obj (list): list of objects to be added to compound
        compound (obj): the compound
        builder (obj): BREP builder
    """
    for solid in obj:
        builder.Add(compound, solid)
