box b1 0 0 0 1 1 1
dset r sqrt(2)/2
box b2 0 0.5 0 r r/2 1
trotate b2 0 0.5 0 0 0 1 45

bop b1 b2
bopcut result

set square 5.45711
