box b1 0 0 0 1 1 1
box b2 -0.25 -0.25 0 0.5 1.55 1
trotate b2 0 0 0 0 0 1 -45

bop b1 b2
bopcommon result

set square 4.28615