how create the shape of lenses for glasses?

classic Classic list List threaded Threaded
5 messages Options
oda
Reply | Threaded
Open this post in threaded view
|

how create the shape of lenses for glasses?

oda
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 <http://forum.openscad.org/file/t1785/glasses.jpeg>



--
Sent from: http://forum.openscad.org/

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: how create the shape of lenses for glasses?

nophead
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 <[hidden email]> 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 <http://forum.openscad.org/file/t1785/glasses.jpeg>



--
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
Reply | Threaded
Open this post in threaded view
|

Re: how create the shape of lenses for glasses?

Chocrates
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:
<http://forum.openscad.org/file/t2113/lens.png>  

$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
Reply | Threaded
Open this post in threaded view
|

Re: how create the shape of lenses for glasses?

Ronaldo
Rounding polygons are easier done with offset(). To avoid enlarging the polygon it should used twice.




_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: how create the shape of lenses for glasses?

MichaelAtOz
Administrator
In reply to this post by oda
> create the shape of lenses for glasses
> I would like to print my glasses.

At first glance I though, gee there must be some advances I haven't heard
about if we can now print lenses...



-----
Admin - PM me if you need anything, or if I've done something stupid...

Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. Obviously inclusion of works of previous authors is not included in the above.

The TPP is no simple “trade agreement.”   Fight it! http://www.ourfairdeal.org/   time is running out!
--
Sent from: http://forum.openscad.org/

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Admin - email* me if you need anything,
or if I've done something stupid...
* click on my MichaelAtOz label, there is a link to email me.

Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work.
Obviously inclusion of works of previous authors is not included in the above.


The TPP is no simple “trade agreement.” Fight it! http://www.ourfairdeal.org/ time is running out!