Solid Freeform Fabrication with Local Composition Control