First run of Python script fails in Rhino6 WIP

On the first run of the Python script below in a new Rhino6 WIP session, the BooleanUnion fails. But on all subsequent runs it works fine. Why is this? Can the script be modified to avoid this? Or is it a Rhino6 WIP problem?

Rhino6WIP_Tray40mm.py (5.8 KB)

Hi Terry - are you running this from the Python script editor? If not can you try opening the editor - no need for a script file to open or anyting - then run your script however you are doing it - is it any different the first go?

-Pascal

Pascal,
In the latest Rhino6 WIP that I just installed (5/9/2017 at 6:06 pm) the script no longer fails on the first run. So nothing to fix at this point. Nice relief.
Regards,Terry.