# how create the shape of lenses for glasses?

5 messages
Open this post in threaded view
|

## how create the shape of lenses for glasses?

 I would like to print my glasses. To do this I have to recreate the shape of the lenses (to subtract them from the frames of the glasses) but it is very difficult. can you give me some advice on how to do it? Thank you in advance, Oda -- Sent from: http://forum.openscad.org/_______________________________________________ OpenSCAD mailing list [hidden email] http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Open this post in threaded view
|

## Re: how create the shape of lenses for glasses?

 If you have a scanner you can scan the lens and use InkScape to generate a vector outline. Then use the InkScape OpenScad plugin that exports a polygon.On 31 December 2017 at 14:35, oda wrote:I would like to print my glasses. To do this I have to recreate the shape of the lenses (to subtract them from the frames of the glasses) but it is very difficult. can you give me some advice on how to do it? Thank you in advance, Oda -- Sent from: http://forum.openscad.org/ _______________________________________________ OpenSCAD mailing list [hidden email] http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org _______________________________________________ OpenSCAD mailing list [hidden email] http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Open this post in threaded view
|

## Re: how create the shape of lenses for glasses?

 A less exact way to do it would be to create a polygon roughly the shape you are after and run the minkowski algorithm on it to round the edges:   \$fn=360; linear_extrude(1){     minkowski(){         polygon(             points = [                     [0,0],                     [57.55, 0],                     [57.55,32],                     [7.55,32]                 ],             paths = [[0,1,2,3]]         );         circle(r=10, center=true);     } } -- Sent from: http://forum.openscad.org/_______________________________________________ OpenSCAD mailing list [hidden email] http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org