[OpenSCAD] lighting angle?

Ronaldo rcmpersiano at gmail.com
Sat Oct 1 17:40:42 EDT 2016


Try this working around code:

> $vpr=[0,0,0];
>     
> lightFromAbove() your_2D_object();
> 
> module your_2D_object() circle(20);
> 
> module lightFromAbove() {
>     rotate([-40,0,0]) scale([1,1/cos(40),0.01])children();
> }





--
View this message in context: http://forum.openscad.org/lighting-angle-tp1508p18503.html
Sent from the OpenSCAD mailing list archive at Nabble.com.




More information about the Discuss mailing list