openscad/openscad — pull request #459 by steelman (2013-08-17 14:56:31+00:00)
Title: Introduce '_current_module' and '_parent_module' variables

Add two built-in variables that provide access to the names
of the current and the previously instantiated modules.

Having these variables simplifies generation of BOMs and assembly
graphs (e.g. with GraphViz).

[staic member + CPU stack]

Alternate approach to #457