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

bop b1 b2
boptuc result

set square 7.82843