The article discusses the development of a new sensor system called OptiGap, which can detect bend localization in soft robotics. The sensor uses a flexible optical light pipe with air gaps to generate coded patterns that can be decoded to determine the location of a bend. The system was developed as part of a PhD research project and has potential applications in various fields, including soft robotics and surgical robotics. The sensor's design and functionality are explained in detail, along with its evolution and testing.