discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

OpenSCAD... quite a bit faster

TP
Torsten Paul
Wed, Feb 9, 2022 4:13 AM

Here's an article describing some awesome work currently
going on:

"OpenSCAD 3D rendering just got an order of magnitude
faster. Here's how and what may come next."

https://ochafik.com/jekyll/update/2022/02/09/openscad-fast-csg-contibution.html

The main change is already available in the development
snapshots. The extended options mentioned in the article
will become available with the next builds in a couple
of hours. Check Preferences->Features for "fast-csg".

Big thanks to Olivier!

ciao,
Torsten.

Here's an article describing some awesome work currently going on: "OpenSCAD 3D rendering just got an order of magnitude faster. Here's how and what may come next." https://ochafik.com/jekyll/update/2022/02/09/openscad-fast-csg-contibution.html The main change is already available in the development snapshots. The extended options mentioned in the article will become available with the next builds in a couple of hours. Check Preferences->Features for "fast-csg". Big thanks to Olivier! ciao, Torsten.
M
MichaelAtOz
Wed, Feb 9, 2022 5:05 AM

People may also want to cast an eye on memory usage if trying fast-csg.

-----Original Message-----
From: Torsten Paul [mailto:Torsten.Paul@gmx.de]
Sent: Wed, 9 Feb 2022 15:14
To: OpenSCAD general discussion
Subject: [OpenSCAD] OpenSCAD... quite a bit faster

Here's an article describing some awesome work currently
going on:

"OpenSCAD 3D rendering just got an order of magnitude
faster. Here's how and what may come next."

https://ochafik.com/jekyll/update/2022/02/09/openscad-fast-csg-contibution.html

The main change is already available in the development
snapshots. The extended options mentioned in the article
will become available with the next builds in a couple
of hours. Check Preferences->Features for "fast-csg".

Big thanks to Olivier!

ciao,
Torsten.


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org

--
This email has been checked for viruses by AVG.
https://www.avg.com

People may also want to cast an eye on memory usage if trying fast-csg. > -----Original Message----- > From: Torsten Paul [mailto:Torsten.Paul@gmx.de] > Sent: Wed, 9 Feb 2022 15:14 > To: OpenSCAD general discussion > Subject: [OpenSCAD] OpenSCAD... quite a bit faster > > Here's an article describing some awesome work currently > going on: > > "OpenSCAD 3D rendering just got an order of magnitude > faster. Here's how and what may come next." > > https://ochafik.com/jekyll/update/2022/02/09/openscad-fast-csg-contibution.html > > The main change is already available in the development > snapshots. The extended options mentioned in the article > will become available with the next builds in a couple > of hours. Check Preferences->Features for "fast-csg". > > Big thanks to Olivier! > > ciao, > Torsten. > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org -- This email has been checked for viruses by AVG. https://www.avg.com
NH
nop head
Wed, Feb 9, 2022 10:44 AM

Unfortunately it doesn't run on Win7, so I can't try it.

On Wed, 9 Feb 2022 at 05:06, MichaelAtOz oz.at.michael@gmail.com wrote:

People may also want to cast an eye on memory usage if trying fast-csg.

-----Original Message-----
From: Torsten Paul [mailto:Torsten.Paul@gmx.de]
Sent: Wed, 9 Feb 2022 15:14
To: OpenSCAD general discussion
Subject: [OpenSCAD] OpenSCAD... quite a bit faster

Here's an article describing some awesome work currently
going on:

"OpenSCAD 3D rendering just got an order of magnitude
faster. Here's how and what may come next."

The main change is already available in the development
snapshots. The extended options mentioned in the article
will become available with the next builds in a couple
of hours. Check Preferences->Features for "fast-csg".

Big thanks to Olivier!

ciao,
Torsten.


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org

--
This email has been checked for viruses by AVG.
https://www.avg.com


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org

Unfortunately it doesn't run on Win7, so I can't try it. On Wed, 9 Feb 2022 at 05:06, MichaelAtOz <oz.at.michael@gmail.com> wrote: > People may also want to cast an eye on memory usage if trying fast-csg. > > > > -----Original Message----- > > From: Torsten Paul [mailto:Torsten.Paul@gmx.de] > > Sent: Wed, 9 Feb 2022 15:14 > > To: OpenSCAD general discussion > > Subject: [OpenSCAD] OpenSCAD... quite a bit faster > > > > Here's an article describing some awesome work currently > > going on: > > > > "OpenSCAD 3D rendering just got an order of magnitude > > faster. Here's how and what may come next." > > > > > https://ochafik.com/jekyll/update/2022/02/09/openscad-fast-csg-contibution.html > > > > The main change is already available in the development > > snapshots. The extended options mentioned in the article > > will become available with the next builds in a couple > > of hours. Check Preferences->Features for "fast-csg". > > > > Big thanks to Olivier! > > > > ciao, > > Torsten. > > _______________________________________________ > > OpenSCAD mailing list > > To unsubscribe send an email to discuss-leave@lists.openscad.org > > > -- > This email has been checked for viruses by AVG. > https://www.avg.com > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org >
RW
Rogier Wolff
Wed, Feb 9, 2022 11:00 AM

On Wed, Feb 09, 2022 at 10:44:59AM +0000, nop head wrote:

Unfortunately it doesn't run on Win7, so I can't try it.

It does run on my Ubuntu 21.10.

On Wed, 9 Feb 2022 at 05:06, MichaelAtOz oz.at.michael@gmail.com wrote:

People may also want to cast an eye on memory usage if trying fast-csg.

I cast an eye on my memory usage. used: 10%, free 77% (about 12% is
cache). And?

From the explanation, I don't think there would be a bigger memory
footprint. But the performance improvement is certainly noticable. The
example 100 spheres with $fn=50 renders in 2.7 seconds as opposed to 4
minutes on my system.

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 Wed, Feb 09, 2022 at 10:44:59AM +0000, nop head wrote: > Unfortunately it doesn't run on Win7, so I can't try it. It does run on my Ubuntu 21.10. > On Wed, 9 Feb 2022 at 05:06, MichaelAtOz <oz.at.michael@gmail.com> wrote: > > > People may also want to cast an eye on memory usage if trying fast-csg. I cast an eye on my memory usage. used: 10%, free 77% (about 12% is cache). And? From the explanation, I don't think there would be a bigger memory footprint. But the performance improvement is certainly noticable. The example 100 spheres with $fn=50 renders in 2.7 seconds as opposed to 4 minutes on my system. 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.
PR
Peter Ragosch
Wed, Feb 9, 2022 12:23 PM

I am currently working on a cast bronze plaque. One half with 24 letters, the other with a motif.

Normal preview time ~ 1 min, render time ~11 min.
With fast-csg(-exact(-callbacks)) preview time ~ 1 min, render time ~1 min !!!!.

Memory usage appears to be unchanged.

System: Linux raven 5.10.93-1-MANJARO #1 SMP PREEMPT Thu Jan 20 09:46:07 UTC 2022 x86_64 GNU/Linux,
GK104 [GeForce GTX 660 Ti] (nVidia Corporation)

Peter

Am Wed, 9 Feb 2022 05:13:37 +0100
schrieb Torsten Paul Torsten.Paul@gmx.de:

Here's an article describing some awesome work currently
going on:

"OpenSCAD 3D rendering just got an order of magnitude
faster. Here's how and what may come next."

https://ochafik.com/jekyll/update/2022/02/09/openscad-fast-csg-contibution.html

The main change is already available in the development
snapshots. The extended options mentioned in the article
will become available with the next builds in a couple
of hours. Check Preferences->Features for "fast-csg".

Big thanks to Olivier!

ciao,
Torsten.


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org

I am currently working on a cast bronze plaque. One half with 24 letters, the other with a motif. Normal preview time ~ 1 min, render time ~11 min. With fast-csg(-exact(-callbacks)) preview time ~ 1 min, render time ~1 min !!!!. Memory usage appears to be unchanged. System: Linux raven 5.10.93-1-MANJARO #1 SMP PREEMPT Thu Jan 20 09:46:07 UTC 2022 x86_64 GNU/Linux, GK104 [GeForce GTX 660 Ti] (nVidia Corporation) Peter Am Wed, 9 Feb 2022 05:13:37 +0100 schrieb Torsten Paul <Torsten.Paul@gmx.de>: > Here's an article describing some awesome work currently > going on: > > "OpenSCAD 3D rendering just got an order of magnitude > faster. Here's how and what may come next." > > https://ochafik.com/jekyll/update/2022/02/09/openscad-fast-csg-contibution.html > > The main change is already available in the development > snapshots. The extended options mentioned in the article > will become available with the next builds in a couple > of hours. Check Preferences->Features for "fast-csg". > > Big thanks to Olivier! > > ciao, > Torsten. > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org
MM
Michael McCool
Wed, Feb 9, 2022 3:59 PM

Great news.  I have lots of projects where I gave up on OpenSCAD because it
was just too slow (or even never completed, even on a machine with 256GB of
RAM and OpenSCAD settings to use it...).
Michael

On Wed, Feb 9, 2022 at 8:24 AM Peter Ragosch peter.ragosch@kabelmail.de
wrote:

I am currently working on a cast bronze plaque. One half with 24 letters,
the other with a motif.

Normal preview time ~ 1 min, render time ~11 min.
With fast-csg(-exact(-callbacks)) preview time ~ 1 min, render time ~1 min
!!!!.

Memory usage appears to be unchanged.

System: Linux raven 5.10.93-1-MANJARO #1 SMP PREEMPT Thu Jan 20 09:46:07
UTC 2022 x86_64 GNU/Linux,
GK104 [GeForce GTX 660 Ti] (nVidia Corporation)

Peter

Am Wed, 9 Feb 2022 05:13:37 +0100
schrieb Torsten Paul Torsten.Paul@gmx.de:

Here's an article describing some awesome work currently
going on:

"OpenSCAD 3D rendering just got an order of magnitude
faster. Here's how and what may come next."

The main change is already available in the development
snapshots. The extended options mentioned in the article
will become available with the next builds in a couple
of hours. Check Preferences->Features for "fast-csg".

Big thanks to Olivier!

ciao,
Torsten.


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org

Great news. I have lots of projects where I gave up on OpenSCAD because it was just too slow (or even never completed, even on a machine with 256GB of RAM and OpenSCAD settings to use it...). Michael On Wed, Feb 9, 2022 at 8:24 AM Peter Ragosch <peter.ragosch@kabelmail.de> wrote: > > I am currently working on a cast bronze plaque. One half with 24 letters, > the other with a motif. > > Normal preview time ~ 1 min, render time ~11 min. > With fast-csg(-exact(-callbacks)) preview time ~ 1 min, render time ~1 min > !!!!. > > Memory usage appears to be unchanged. > > System: Linux raven 5.10.93-1-MANJARO #1 SMP PREEMPT Thu Jan 20 09:46:07 > UTC 2022 x86_64 GNU/Linux, > GK104 [GeForce GTX 660 Ti] (nVidia Corporation) > > Peter > > Am Wed, 9 Feb 2022 05:13:37 +0100 > schrieb Torsten Paul <Torsten.Paul@gmx.de>: > > > Here's an article describing some awesome work currently > > going on: > > > > "OpenSCAD 3D rendering just got an order of magnitude > > faster. Here's how and what may come next." > > > > > https://ochafik.com/jekyll/update/2022/02/09/openscad-fast-csg-contibution.html > > > > The main change is already available in the development > > snapshots. The extended options mentioned in the article > > will become available with the next builds in a couple > > of hours. Check Preferences->Features for "fast-csg". > > > > Big thanks to Olivier! > > > > ciao, > > Torsten. > > _______________________________________________ > > OpenSCAD mailing list > > To unsubscribe send an email to discuss-leave@lists.openscad.org > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org > -- Michael D. McCool michael.d.mccool@gmail.com michael.mccool@intel.com
M
MichaelAtOz
Sun, Feb 13, 2022 6:52 AM

Should the GUI be restarted after changing features?
Different data structures?

And should Help/Library-Info show which features are enabled?

-----Original Message-----
From: Torsten Paul [mailto:Torsten.Paul@gmx.de]
Sent: Wed, 9 Feb 2022 15:14
To: OpenSCAD general discussion
Subject: [OpenSCAD] OpenSCAD... quite a bit faster

Here's an article describing some awesome work currently
going on:

"OpenSCAD 3D rendering just got an order of magnitude
faster. Here's how and what may come next."

https://ochafik.com/jekyll/update/2022/02/09/openscad-fast-csg-contibution.html

The main change is already available in the development
snapshots. The extended options mentioned in the article
will become available with the next builds in a couple
of hours. Check Preferences->Features for "fast-csg".

Big thanks to Olivier!

ciao,
Torsten.


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org

--
This email has been checked for viruses by AVG.
https://www.avg.com

Should the GUI be restarted after changing features? Different data structures? And should Help/Library-Info show which features are enabled? > -----Original Message----- > From: Torsten Paul [mailto:Torsten.Paul@gmx.de] > Sent: Wed, 9 Feb 2022 15:14 > To: OpenSCAD general discussion > Subject: [OpenSCAD] OpenSCAD... quite a bit faster > > Here's an article describing some awesome work currently > going on: > > "OpenSCAD 3D rendering just got an order of magnitude > faster. Here's how and what may come next." > > https://ochafik.com/jekyll/update/2022/02/09/openscad-fast-csg-contibution.html > > The main change is already available in the development > snapshots. The extended options mentioned in the article > will become available with the next builds in a couple > of hours. Check Preferences->Features for "fast-csg". > > Big thanks to Olivier! > > ciao, > Torsten. > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org -- This email has been checked for viruses by AVG. https://www.avg.com
TP
Torsten Paul
Sun, Feb 13, 2022 7:04 AM

On 13.02.22 07:52, MichaelAtOz wrote:

Should the GUI be restarted after changing features?
Different data structures?

No, I don't think that's needed. Although cleaning out
the cache might be a good idea.

And should Help/Library-Info show which features are enabled?

It does, but it looks like it's only done once when
the dialog is opened first. So it would need to be
changed to refresh when the dialog is shown.

ciao,
Torsten.

On 13.02.22 07:52, MichaelAtOz wrote: > Should the GUI be restarted after changing features? > Different data structures? No, I don't think that's needed. Although cleaning out the cache might be a good idea. > And should Help/Library-Info show which features are enabled? It does, but it looks like it's only done once when the dialog is opened first. So it would need to be changed to refresh when the dialog is shown. ciao, Torsten.
M
MichaelAtOz
Mon, Feb 28, 2022 7:31 AM

Have there been fast-csg changes to master since the Snap openscad-nightly, still dated 13 Feb
2022? https://snapcraft.io/openscad-nightly

-----Original Message-----
From: Torsten Paul [mailto:Torsten.Paul@gmx.de]
Sent: Wed, 9 Feb 2022 15:14
To: OpenSCAD general discussion
Subject: [OpenSCAD] OpenSCAD... quite a bit faster

Here's an article describing some awesome work currently
going on:

"OpenSCAD 3D rendering just got an order of magnitude
faster. Here's how and what may come next."

https://ochafik.com/jekyll/update/2022/02/09/openscad-fast-csg-contibution.html

The main change is already available in the development
snapshots. The extended options mentioned in the article
will become available with the next builds in a couple
of hours. Check Preferences->Features for "fast-csg".

Big thanks to Olivier!

ciao,
Torsten.


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org

--
This email has been checked for viruses by AVG.
https://www.avg.com

Have there been fast-csg changes to master since the Snap openscad-nightly, still dated 13 Feb 2022? https://snapcraft.io/openscad-nightly > -----Original Message----- > From: Torsten Paul [mailto:Torsten.Paul@gmx.de] > Sent: Wed, 9 Feb 2022 15:14 > To: OpenSCAD general discussion > Subject: [OpenSCAD] OpenSCAD... quite a bit faster > > Here's an article describing some awesome work currently > going on: > > "OpenSCAD 3D rendering just got an order of magnitude > faster. Here's how and what may come next." > > https://ochafik.com/jekyll/update/2022/02/09/openscad-fast-csg-contibution.html > > The main change is already available in the development > snapshots. The extended options mentioned in the article > will become available with the next builds in a couple > of hours. Check Preferences->Features for "fast-csg". > > Big thanks to Olivier! > > ciao, > Torsten. > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org -- This email has been checked for viruses by AVG. https://www.avg.com
TP
Torsten Paul
Mon, Feb 28, 2022 8:48 AM

On 28.02.22 08:31, MichaelAtOz wrote:

Have there been fast-csg changes to master since the Snap openscad-nightly,
still dated 13 Feb 2022? https://snapcraft.io/openscad-nightly

Yes, there's at least one bigger fix for an issue that could cause
missing parts.

If you want to make sure to always have the latest build, you can
use the "edge" channel. This one is built automatically.

The normal release channel, I'm updating manually from time to time.
(Updated just now)

ciao,
Torsten.

On 28.02.22 08:31, MichaelAtOz wrote: > Have there been fast-csg changes to master since the Snap openscad-nightly, > still dated 13 Feb 2022? https://snapcraft.io/openscad-nightly Yes, there's at least one bigger fix for an issue that could cause missing parts. If you want to make sure to always have the latest build, you can use the "edge" channel. This one is built automatically. The normal release channel, I'm updating manually from time to time. (Updated just now) ciao, Torsten.