Skip to main content
Question

"Zig-Zag" surface in Grid sag file

  • November 18, 2025
  • 0 replies
  • 15 views

Hi community,

I’m trying to upload a calculated ophthalmic lens to a basic eye model. I have changed the file to correspond with the grid sag file format. After uploading the file, the surfaces of the lens have a “zig-zag” shape that I don’t understand where it’s coming from.

I have tried several ways with the Z values (offset according to the 0.0 point, offset according to the highest value, leave as it is) and every time I receive a similar result. 

 

I’m attaching here the Zar file, the Grid Sag I have created and the original XYZ file of the surface (Note: the dat file was altered so the first point represent the (-Xmin,+Ymax)) .

For the first test (to understand what's happening) the front and back surfaces are the same until I could fix this problem. 

Thank you for your help