Solid union errors - INCONS_FACE -- inconsistent face-body relationships and FACE_BOUNDARY -- wire being deleted crosses face boundary

Thanks for your great solution! @Maciej_Wypych1 I changed the units of length, area, and volume from mm, m2, and m3 to feet, square feet, and cubic feet, then the errors were all gone! Thank you so much! I have been stuck with it for nearly two days…

For changing the units temporarily, I used codes from this post (thanks @ Einar_Raknes for the great codes). Basically I need to run the metric2feet.dyn before I open the boolean operation file and then run the feet2metric.dyn after finishing the boolean file (totally 3 files separately). I am wondering are there some good ways to integrate them into one file?
image


image