so drill holes for 'dowels'.

Pretty simple. You can either put holes in all parts and join with printed rods. Or have holes in some parts and rods in others.