Fused Deposition Modeling (FDM) is a material-extrusion-based technique used primarily for rapid prototyping and sometimes for an actual servicing part. In the FDM technique, input parent materials are commercial polymers. FDM also has some manufacturing parameters, and the raster pattern significantly affects the mechanical performance of the FDM products. Due to its intrinsic nature, Acrylonitrile Butadiene Styrene (ABS) is widely used in many industries, such as automobiles, medicine, etc. Producing the primitive geometry and selecting the proper infill pattern is challenging. Therefore, the current research paper investigates the effects of various infill patterns on the compressive performance of the three geometries (sphere, 3-side, and 4-side pyramids) printed through the FDM technique out of ABS material. The compressive experiments were conducted on the printed samples and load-displacement curves were evaluated. The results reveal that the concentrate path pattern in the sphere samples has the highest compressive failure load (40127 N). Also, the compressive failure loads in the 3-side and 4-side pyramids fabricated with a 45°/−45° raster pattern are 30444 N and 44396 N, respectively. Finally, comprehensive discussions about the obtained results are stated.