On 04.09.22 19:33, Andy Little via Discuss wrote:
I Have now managed to get some actual openscad output using
the first class feature into the CSG tree and am sure now
this would be a very useful feature.
Yes, that would be a great feature that's on the wishlist for
a long time. I just wished you would not ignore all the earlier
discussions and PRs that where pointed out multiple times. A
feature that big will only have a chance when working together.
ciao,
Torsten.
See reply https://github.com/openscad/openscad/pull/3087#issuecomment-1236689850
In a nutshell module has the functionality you need already I think, but needs to be first class to access it.
I will download the object_literal fork and take a look over the next couple of days. I will also see if, on my first class modules WIP fork (https://github.com/kwikius/openscad/tree/WIP-first-class-module) I can enhance the
ob = module() {…};
with ob = module {…};
and
ob = {…};