discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

OpenSCAD release candidate: 2020.12-RC2

TP
Torsten Paul
Sun, Dec 6, 2020 11:39 PM

So there's not much surprises for people who already
used the snapshot builds.

This activates the following 2 experimental features
for the release mode:

  • function literals
  • jump to code from 3d view

News post:
https://www.openscad.org/news.html#20201206

Download (Windows & Linux only for now):
https://www.openscad.org/downloads.html#rc

ciao,
Torsten.

So there's not much surprises for people who already used the snapshot builds. This activates the following 2 experimental features for the release mode: - function literals - jump to code from 3d view News post: https://www.openscad.org/news.html#20201206 Download (Windows & Linux only for now): https://www.openscad.org/downloads.html#rc ciao, Torsten.
J
jon
Mon, Dec 7, 2020 12:12 AM

I have a vague recollection that OpenSCAD now will import OFF files, but
that does not seem to work.  Is my memory bad, or do I need to enable a
feature?  I do not get an error message: the imported OFF file is just
empty.

Thanks.

Jon

On 12/6/2020 6:39 PM, Torsten Paul wrote:

So there's not much surprises for people who already
used the snapshot builds.

This activates the following 2 experimental features
for the release mode:

  • function literals
  • jump to code from 3d view

News post:
https://www.openscad.org/news.html#20201206

Download (Windows & Linux only for now):
https://www.openscad.org/downloads.html#rc

ciao,
Torsten.


OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

I have a vague recollection that OpenSCAD now will import OFF files, but that does not seem to work.  Is my memory bad, or do I need to enable a feature?  I do not get an error message: the imported OFF file is just empty. Thanks. Jon On 12/6/2020 6:39 PM, Torsten Paul wrote: > So there's not much surprises for people who already > used the snapshot builds. > > This activates the following 2 experimental features > for the release mode: > > - function literals > - jump to code from 3d view > > News post: > https://www.openscad.org/news.html#20201206 > > Download (Windows & Linux only for now): > https://www.openscad.org/downloads.html#rc > > ciao, > Torsten. > > _______________________________________________ > OpenSCAD mailing list > Discuss@lists.openscad.org > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org >
TP
Torsten Paul
Mon, Dec 7, 2020 12:18 AM

On 07.12.20 01:12, jon wrote:

I have a vague recollection that OpenSCAD now will
import OFF files, but that does not seem to work.
Is my memory bad, or do I need to enable a feature?
I do not get an error message: the imported OFF file
is just empty.

As far as I can tell, that's an ancient feature (it's
mentioned in the 2011.12 release notes) and it seems
to works with a couple of test files I grabbed from
http://www.holmes3d.net/graphics/offfiles/

ciao,
Torsten.

On 07.12.20 01:12, jon wrote: > I have a vague recollection that OpenSCAD now will > import OFF files, but that does not seem to work. > Is my memory bad, or do I need to enable a feature? > I do not get an error message: the imported OFF file > is just empty. As far as I can tell, that's an ancient feature (it's mentioned in the 2011.12 release notes) and it seems to works with a couple of test files I grabbed from http://www.holmes3d.net/graphics/offfiles/ ciao, Torsten.
A
adrianv
Mon, Dec 7, 2020 1:05 AM

I confirmed that lazy union is supported by the RC.

Seems like lazy union and the new undef handling ought to be mentioned as
pretty major changes on the news page.

tp3 wrote

So there's not much surprises for people who already
used the snapshot builds.

This activates the following 2 experimental features
for the release mode:

  • function literals
  • jump to code from 3d view

News post:
https://www.openscad.org/news.html#20201206

Download (Windows & Linux only for now):
https://www.openscad.org/downloads.html#rc

ciao,
Torsten.


OpenSCAD mailing list

Discuss@.openscad

I confirmed that lazy union is supported by the RC. Seems like lazy union and the new undef handling ought to be mentioned as pretty major changes on the news page. tp3 wrote > So there's not much surprises for people who already > used the snapshot builds. > > This activates the following 2 experimental features > for the release mode: > > - function literals > - jump to code from 3d view > > News post: > https://www.openscad.org/news.html#20201206 > > Download (Windows & Linux only for now): > https://www.openscad.org/downloads.html#rc > > ciao, > Torsten. > > _______________________________________________ > OpenSCAD mailing list > Discuss@.openscad > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org -- Sent from: http://forum.openscad.org/
TP
Torsten Paul
Mon, Dec 7, 2020 1:09 AM

On 07.12.20 02:05, adrianv wrote:

Seems like lazy union and the new undef handling ought
to be mentioned as pretty major changes on the news page.

If lazy union can be enabled, that's a bug that needs
to be fixed before the release.

ciao,
Torsten.

On 07.12.20 02:05, adrianv wrote: > Seems like lazy union and the new undef handling ought > to be mentioned as pretty major changes on the news page. If lazy union can be enabled, that's a bug that needs to be fixed before the release. ciao, Torsten.
A
adrianv
Mon, Dec 7, 2020 1:15 AM

Not "can be enabled".  It just is enabled.  I didn't do anything to any
settings, and I did a union test and got a different result in the RC than
in 2019.05.

tp3 wrote

On 07.12.20 02:05, adrianv wrote:

Seems like lazy union and the new undef handling ought
to be mentioned as pretty major changes on the news page.

If lazy union can be enabled, that's a bug that needs
to be fixed before the release.

ciao,
Torsten.


OpenSCAD mailing list

Discuss@.openscad

Not "can be enabled". It just is enabled. I didn't do anything to any settings, and I did a union test and got a different result in the RC than in 2019.05. tp3 wrote > On 07.12.20 02:05, adrianv wrote: >> Seems like lazy union and the new undef handling ought >> to be mentioned as pretty major changes on the news page. > > If lazy union can be enabled, that's a bug that needs > to be fixed before the release. > > ciao, > Torsten. > > _______________________________________________ > OpenSCAD mailing list > Discuss@.openscad > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org -- Sent from: http://forum.openscad.org/
J
jon
Mon, Dec 7, 2020 2:09 AM

I agree that OFF files work in some cases.  In one complex case, the STL
works, but the corresponding OFF does not.

Not sure how important this is

Jon

On 12/6/2020 7:18 PM, Torsten Paul wrote:

On 07.12.20 01:12, jon wrote:

I have a vague recollection that OpenSCAD now will
import OFF files, but that does not seem to work.
Is my memory bad, or do I need to enable a feature?
I do not get an error message: the imported OFF file
is just empty.

As far as I can tell, that's an ancient feature (it's
mentioned in the 2011.12 release notes) and it seems
to works with a couple of test files I grabbed from
http://www.holmes3d.net/graphics/offfiles/

ciao,
Torsten.


OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

I agree that OFF files work in some cases.  In one complex case, the STL works, but the corresponding OFF does not. Not sure how important this is Jon On 12/6/2020 7:18 PM, Torsten Paul wrote: > On 07.12.20 01:12, jon wrote: >> I have a vague recollection that OpenSCAD now will >> import OFF files, but that does not seem to work. >> Is my memory bad, or do I need to enable a feature? >> I do not get an error message: the imported OFF file >> is just empty. > As far as I can tell, that's an ancient feature (it's > mentioned in the 2011.12 release notes) and it seems > to works with a couple of test files I grabbed from > http://www.holmes3d.net/graphics/offfiles/ > > ciao, > Torsten. > > _______________________________________________ > OpenSCAD mailing list > Discuss@lists.openscad.org > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org >
A
adrianv
Mon, Dec 7, 2020 4:01 AM

I also noticed that the news page says "generic tail recursion" is added.
What exactly does this do?

jon_bondy wrote

I have a vague recollection that OpenSCAD now will import OFF files, but
that does not seem to work.  Is my memory bad, or do I need to enable a
feature?  I do not get an error message: the imported OFF file is just
empty.

Thanks.

Jon

On 12/6/2020 6:39 PM, Torsten Paul wrote:

So there's not much surprises for people who already
used the snapshot builds.

This activates the following 2 experimental features
for the release mode:

  • function literals
  • jump to code from 3d view

News post:
https://www.openscad.org/news.html#20201206

Download (Windows & Linux only for now):
https://www.openscad.org/downloads.html#rc

ciao,
Torsten.


OpenSCAD mailing list

Discuss@.openscad

Discuss@.openscad

I also noticed that the news page says "generic tail recursion" is added. What exactly does this do? jon_bondy wrote > I have a vague recollection that OpenSCAD now will import OFF files, but > that does not seem to work.  Is my memory bad, or do I need to enable a > feature?  I do not get an error message: the imported OFF file is just > empty. > > Thanks. > > Jon > > On 12/6/2020 6:39 PM, Torsten Paul wrote: >> So there's not much surprises for people who already >> used the snapshot builds. >> >> This activates the following 2 experimental features >> for the release mode: >> >> - function literals >> - jump to code from 3d view >> >> News post: >> https://www.openscad.org/news.html#20201206 >> >> Download (Windows & Linux only for now): >> https://www.openscad.org/downloads.html#rc >> >> ciao, >> Torsten. >> >> _______________________________________________ >> OpenSCAD mailing list >> > Discuss@.openscad >> http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org >> > > _______________________________________________ > OpenSCAD mailing list > Discuss@.openscad > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org -- Sent from: http://forum.openscad.org/
HL
Hans L
Mon, Dec 7, 2020 9:58 AM

Generic tail recursion https://github.com/openscad/openscad/pull/3020 was
an improvement to the Tail Call Optimization
https://en.wikipedia.org/wiki/Tail_call (see also here
https://en.wikibooks.org/w/index.php?title=OpenSCAD_User_Manual/User-Defined_Functions_and_Modules#Recursive_functions)
so that it applies to many more forms of function definitions than
previously (for example using "let" was not an option before and now
it is), which in general means faster recursion and less chance of stack
overflow.

Unrelated to that change, but relevant to one of the complaints in the
recent OpenSCAD Python discussion:
On Thu, Nov 26, 2020 at 12:29 PM adrianv avm4@cornell.edu wrote:

...

Algorithms in the literature may be O(N*log(N)) but that

assumes you have actual data structures.  In OpenSCAD it may turn out to be
O(N^3) instead.  In many cases it just doesn't seem practical to implement
efficient algorithms.

I think it should also be mentioned that this release contains changes to
make array concatenation complexity O(1) instead of O(n), which should be a
major improvement (up to 10,000x
https://github.com/openscad/openscad/issues/3380 has been seen in one
extreme case) for many data-heavy algorithms/scripts.

Hans

On Sun, Dec 6, 2020 at 10:01 PM adrianv avm4@cornell.edu wrote:

I also noticed that the news page says "generic tail recursion" is added.
What exactly does this do?

jon_bondy wrote

I have a vague recollection that OpenSCAD now will import OFF files, but
that does not seem to work.  Is my memory bad, or do I need to enable a
feature?  I do not get an error message: the imported OFF file is just
empty.

Thanks.

Jon

On 12/6/2020 6:39 PM, Torsten Paul wrote:

So there's not much surprises for people who already
used the snapshot builds.

This activates the following 2 experimental features
for the release mode:

  • function literals
  • jump to code from 3d view

News post:
https://www.openscad.org/news.html#20201206

Download (Windows & Linux only for now):
https://www.openscad.org/downloads.html#rc

ciao,
Torsten.


OpenSCAD mailing list

Discuss@.openscad

Discuss@.openscad

Generic tail recursion <https://github.com/openscad/openscad/pull/3020> was an improvement to the Tail Call Optimization <https://en.wikipedia.org/wiki/Tail_call> (see also here <https://en.wikibooks.org/w/index.php?title=OpenSCAD_User_Manual/User-Defined_Functions_and_Modules#Recursive_functions>) so that it applies to many more forms of function definitions than previously (for example using "let" was not an option before and now it is), which in general means faster recursion and less chance of stack overflow. Unrelated to that change, but relevant to one of the complaints in the recent OpenSCAD Python discussion: On Thu, Nov 26, 2020 at 12:29 PM adrianv <avm4@cornell.edu> wrote: > ... Algorithms in the literature may be O(N*log(N)) but that > assumes you have actual data structures. In OpenSCAD it may turn out to be > O(N^3) instead. In many cases it just doesn't seem practical to implement > efficient algorithms. I think it should also be mentioned that this release contains changes to make array concatenation complexity O(1) instead of O(n), which should be a major improvement (up to 10,000x <https://github.com/openscad/openscad/issues/3380> has been seen in one extreme case) for many data-heavy algorithms/scripts. Hans On Sun, Dec 6, 2020 at 10:01 PM adrianv <avm4@cornell.edu> wrote: > I also noticed that the news page says "generic tail recursion" is added. > What exactly does this do? > > > jon_bondy wrote > > I have a vague recollection that OpenSCAD now will import OFF files, but > > that does not seem to work. Is my memory bad, or do I need to enable a > > feature? I do not get an error message: the imported OFF file is just > > empty. > > > > Thanks. > > > > Jon > > > > On 12/6/2020 6:39 PM, Torsten Paul wrote: > >> So there's not much surprises for people who already > >> used the snapshot builds. > >> > >> This activates the following 2 experimental features > >> for the release mode: > >> > >> - function literals > >> - jump to code from 3d view > >> > >> News post: > >> https://www.openscad.org/news.html#20201206 > >> > >> Download (Windows & Linux only for now): > >> https://www.openscad.org/downloads.html#rc > >> > >> ciao, > >> Torsten. > >> > >> _______________________________________________ > >> OpenSCAD mailing list > >> > > > Discuss@.openscad > > >> http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org > >> > > > > _______________________________________________ > > OpenSCAD mailing list > > > Discuss@.openscad > > > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org > > > > > > -- > Sent from: http://forum.openscad.org/ > > _______________________________________________ > OpenSCAD mailing list > Discuss@lists.openscad.org > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org >
S
softfoot
Mon, Dec 7, 2020 10:34 AM

Just upgraded to this and love it - the speed increase when rendering in
particular.

The multiple tabs are very useful too.

Would it be possible to have an option to force "single instance of program"
??  I often select 2 or 3 scad files and use "open with" and it would be
very useful if this resulted in a single program with the file open in
separate "tabs".

I use the Windoze 7 x64 variant.

Best regards,
Dave

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

Just upgraded to this and love it - the speed increase when rendering in particular. The multiple tabs are very useful too. Would it be possible to have an option to force "single instance of program" ?? I often select 2 or 3 scad files and use "open with" and it would be very useful if this resulted in a single program with the file open in separate "tabs". I use the Windoze 7 x64 variant. Best regards, Dave -- Sent from: http://forum.openscad.org/