Namespace separation of included/used files?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Namespace separation of included/used files?

Troberg
Is there some way I can have separate namespaces in included files?

Example (very simplified, just to make the point):

include<otherthing.scad>;

module draw(){
    //draw something
}

draw(); //draws something

otherthing.draw();  //calls draw from otherthing.scad



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

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org