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

bop b1 b2
bopcut result

set square 21.8768
