discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

The behaviour if intersection has changed.

RW
Rogier Wolff
Tue, Oct 6, 2020 3:02 PM

On Tue, Oct 06, 2020 at 09:36:40AM -0400, jon wrote:

PrintLn(a, b, c, d)

or

Print(a, b, c, d, \n)

You're making this about the specifics about just an example. That's
not the issue.

The thing is that from a print you can easily turn it into a function
that does println. That's function declaration and one or two lines.

In openscad, if the language provides a "for" that results in several
objects, you can easily make it into a for that returns the union
between those objects: union () for (...) ... But the other way is
tricky. So IMHO it would've been nicer to have chosen the "for returns
multiple objects" behaviour.

Roger.

--
** R.E.Wolff@BitWizard.nl ** https://www.BitWizard.nl/ ** +31-15-2049110 **
**    Delftechpark 11 2628 XJ  Delft, The Netherlands.  KVK: 27239233    **
f equals m times a. When your f is steady, and your m is going down
your a is going up.  -- Chris Hadfield about flying up the space shuttle.

On Tue, Oct 06, 2020 at 09:36:40AM -0400, jon wrote: > PrintLn(a, b, c, d) > > or > > Print(a, b, c, d, \n) You're making this about the specifics about just an example. That's not the issue. The thing is that from a print you can easily turn it into a function that does println. That's function declaration and one or two lines. In openscad, if the language provides a "for" that results in several objects, you can easily make it into a for that returns the union between those objects: union () for (...) ... But the other way is tricky. So IMHO it would've been nicer to have chosen the "for returns multiple objects" behaviour. Roger. -- ** R.E.Wolff@BitWizard.nl ** https://www.BitWizard.nl/ ** +31-15-2049110 ** ** Delftechpark 11 2628 XJ Delft, The Netherlands. KVK: 27239233 ** f equals m times a. When your f is steady, and your m is going down your a is going up. -- Chris Hadfield about flying up the space shuttle.