Hmm not sure, you could use Booleans to cut a part out of the cube where the sphere intersects it if you wanted to. That might work. Welcome to SM by the way Alan