Short and sweet.
import cadquery as cq
Box = cq.Workplane('XY').box(1, 1, 1, centered=(False, False, False))
Sphere = cq.Workplane('XY').sphere(1)
# Union
op1 = Box + Sphere
# Difference
op2 = Box - Sphere
# Intersection
op3 = Box * Sphere
Here's the fork.
Short and sweet.
Here's the fork.