We report the design and the realization of an out-of-plane bending structu
re supporting a waveguide that is used as an optical attenuator and an opti
cal switch. Both devices are based on evanescent field interaction induced
by spatial confinement either between two waveguides or between one wavegui
de and an absorbing medium. The attenuator exhibits typical attenuation of
65 dB/cm, Even if the bad quality of the waveguide has prevented the correc
t operation of the switch, we show that the attenuation figure establishes
the feasibility of a compact evanescent optical coupler with mechanical dri
ve featuring a total length below 1 mm.