The rib cage presents a significant obstacle in transcostal focused ultrasound surgery (FUS). This paper proposes a geometric solution, based on central projection from the focus to identify transducer elements affected by ribs shadowing which should be switched off. Its effectiveness in phantom experiments and simulations is reported, and ways are discussed to further reduce energy deposition on the ribs while enhancing heating at the focus. A tissue-mimicking phantom with phantom of ribs was sonicated using a 208-element 1.15 MHz bowl transducer and a 1000-element 550 kHz planar matrix transducer (both ExAblate, InSightec, Israel). The temperature evolution was monitored with real-time MRI thermometry (GE, USA). Numerical simulations were performed with FEA software (PZFlex, Weidlinger Associates, USA) to investigate different skin-focus and transducer-rib distances. The temperature rise near the ribs was reduced to 16 degrees C and 4 degrees C for the 1.15 MHz and 550 kHz transducers respectively. With the 1.15 MHz transducer, the focal temperature reached the ablation threshold. These measurements are in good agreement with simulations. The proposed method shows promising results for transcostal FUS. Residual temperature rise on the ribs can be further reduced by active cooling, allowing the higher energies essential for efficient ablation.