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

bop b1 b2
bopcommon result

set square 7.90092