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

bop b1 b2
bopfuse result

set square 18.8496