This paper presents an endoscopic optical system to measure 3D shapes of inner cylindrical surfaces that combines photogrammetry and fringe projection. The device has two identical cameras aligned with the optical axis and facing each other, two conical lenses and one 360° helical fringe projector. The helical fringe pattern is projected in the inner surface to be measured, phase shifted and acquired by both cameras. The phase patterns are used to identify corresponding points and to reconstruct the surface in a regular cylindrical mesh using an alternative approach. A prototype was built, calibrated and tested. The paper presents the results and an application to inspect internal welding seams in 150 mm (6") diameter pipelines.