Online simulation of Geomagic haptic device in Sofa framework is added to cover cataract surgery’s workspace.