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

bop b1 b2
bopcommon result

set square 16.1977
