WP_Query to Retrieve Posts from WooCommerce Products that are Only in Catalog

Posted too quick. Found a solution shortly after

This works:

$params = array(
    'posts_per_page' => -1,
    'post_type' => 'product',
    'orderby' => 'menu-order',
    'order' => 'asc',
    'fields' => 'ids',
    'tax_query' =>
    array(
        array(
            'taxonomy' => 'product_visibility',
            'field' => 'term_id',
            'terms' => 7,
            'operator' => 'NOT IN')
        ));
$wc_query = new WP_Query($params);
$ids = $wc_query->posts;
echo '<pre>';
print_r($ids);
echo '</pre>';

note the term id 7 is exclude-from-catalog