[OpenSCAD] Openscad Indirect Functions

Parkinbot rudolf at parkinbot.com
Fri Oct 14 18:58:05 EDT 2016


nophead wrote
> Breaks all my code as I use lots of single names for both a variable, a
> function that exports it and module that it relates to. I find it handy
> not
> to make up three names for one subject. It is obvious which one is
> referenced from the context.

nice: : 


> a = 10; 
> a(); 
> module a(){
>   a = a;
>   echo(a); 
>   echo(a()); 
>   a(); 
>   function a() = 20; 
> 
>   module a(){
>     a = a;
>     echo(a); 
>     echo(a()); 
>     function a() = 20; 
>   }
> }





--
View this message in context: http://forum.openscad.org/Convert-from-object-to-polygon-polyhedron-tp18522p18714.html
Sent from the OpenSCAD mailing list archive at Nabble.com.




More information about the Discuss mailing list