Conventional loudspeaker cabinets are rectangular because MDF comes in flat sheets. That shape has nothing to do with acoustics. Flat parallel walls create standing waves inside the cabinet that colour the sound. Right-angle joints concentrate stress and resonate. Cylindrical ports create turbulent airflow that produces audible chuffing at high volumes.
3D printing lets us design the enclosure around the physics rather than around the manufacturing process. We can create curved internal cavities, optimised port geometries with flared profiles, and complex shapes that would be impossible to machine from wood or mould from plastic.