discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

OpenSCAD too slow to display geometry (under linux)

A
adrianv
Sat, Feb 23, 2019 4:53 PM

I'm running 2017.11.10 under Ubuntu 18.10 and I created a model that can be
rendered in a few seconds, but cannot be displayed my OpenSCAD on my linux
machine.  CPU utilization remains at 100% and the program is non-responsive.
If I use the command line I can generate an STL file and load the model into
slic3r and view it without problems---slic3r reports that the model has 9248
facets. OpenSCAD says the CSG tree has 41561 elements.

Is this normal/expected behavior?  Or is this a bug I need to report?

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

I'm running 2017.11.10 under Ubuntu 18.10 and I created a model that can be rendered in a few seconds, but cannot be displayed my OpenSCAD on my linux machine. CPU utilization remains at 100% and the program is non-responsive. If I use the command line I can generate an STL file and load the model into slic3r and view it without problems---slic3r reports that the model has 9248 facets. OpenSCAD says the CSG tree has 41561 elements. Is this normal/expected behavior? Or is this a bug I need to report? -- Sent from: http://forum.openscad.org/
TP
Torsten Paul
Sat, Feb 23, 2019 5:41 PM

On 23.02.19 17:53, adrianv wrote:

Is this normal/expected behavior?  Or is this a bug I need to report?

Without additional information and ideally the source of the model,
that is not possible to answer. It's trivial to make models that
behave like you describe without any bugs involved.

One case is described in the FAQ
https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/FAQ#Why_is_the_preview_so_slow?

ciao,
Torsten.

On 23.02.19 17:53, adrianv wrote: > Is this normal/expected behavior? Or is this a bug I need to report? Without additional information and ideally the source of the model, that is not possible to answer. It's trivial to make models that behave like you describe without any bugs involved. One case is described in the FAQ https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/FAQ#Why_is_the_preview_so_slow? ciao, Torsten.
A
adrianv
Sat, Feb 23, 2019 6:00 PM

That's interesting.  So it appears the problem is a quirk of the preview
algorithm.  The page you referenced doesn't give the fix to this problem:  I
wrapped my model in render() and now I can view it without difficulty in
OpenSCAD.

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

That's interesting. So it appears the problem is a quirk of the preview algorithm. The page you referenced doesn't give the fix to this problem: I wrapped my model in render() and now I can view it without difficulty in OpenSCAD. -- Sent from: http://forum.openscad.org/