[OpenSCAD] Difference between modelling with Openscad and Freecad

nop head nop.head at gmail.com
Thu Oct 3 07:20:44 EDT 2019

I express all the properties I need for my objects with functions and
modules. Each parametric object is represented by a list with a set of
accessor functions, so nothing is specified twice and I don't need to query
the geometry. All the important features of an object are built with its
accessor functions. It is a bit clunky as there is a lot of boiler plate to
write but it is very simple code in a simple language, so should be easily

Syntactic sugar would be object.property instead of
object_property(object). Function literals will allow functions to be
embedded in the property list, so objects can be polymorphic.

On Thu, 3 Oct 2019 at 11:56, Troberg <troberg.anders at gmail.com> wrote:

> Neat solutions, nophead, but, as I said, it can be done in other ways, but
> sometimes, it would be nice to do be able to ask objects for their
> properties. Syntactical sugar has its place as well.
> --
> Sent from: http://forum.openscad.org/
> _______________________________________________
> OpenSCAD mailing list
> Discuss at lists.openscad.org
> http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscad.org/pipermail/discuss_lists.openscad.org/attachments/20191003/613ee29f/attachment.html>

More information about the Discuss mailing list