Well-defined zigzag-shaped ramp-type Josephson junctions between YBa2Cu3O7 and Nb have been studied. The magnetic field dependencies of the critical currents provide evidence for d-wave--induced alternations in the direction of the Josephson current between neighboring sides of the zigzag structure. The arrays present controllable model systems to study the influences of pi facets in high-angle high- T(c) grain boundaries. From the characteristics, we estimate a possible imaginary s-wave admixture to the order parameter of the YBa2Cu3O7 to be below 1%.