box b1 0 0 0 1 1 1
dset r sqrt(31)
box b2 0 0 0 r/4 0.25 0.5
trotate b2 0 0 0 0 0 1 34.73

bop b1 b2
bopcommon result

set square 2.12935
