pcylinder b1 1 2
dset r sqrt(2)/2
box b2 -1 -1 0 1+r 1+r 2
trotate b2 0 0 0 0 0 1 45

bop b1 b2
bopcommon result

set square 17.0816
