discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

jerky response in GUI

BL
Bryan Lee
Wed, Mar 30, 2022 11:55 AM

I'm running openscad nightly on Ubuntu18.

I am importing an STL and performing an intersection.

The GUI performance is terrible.  I drag the mouse and it takes a couple
seconds for anything to happen, and the movement is large and difficult to
control.

Are there settings i can change to improve performance?

codeblock:
CHOPBLOCK=[115,300,320];
intersection(){
import(FILENAME,convexity=10);
cube(CHOPBLOCK);
}

I'm running openscad nightly on Ubuntu18. I am importing an STL and performing an intersection. The GUI performance is terrible. I drag the mouse and it takes a couple seconds for anything to happen, and the movement is large and difficult to control. >> Are there settings i can change to improve performance? codeblock: CHOPBLOCK=[115,300,320]; intersection(){ import(FILENAME,convexity=10); cube(CHOPBLOCK); }
NH
nop head
Wed, Mar 30, 2022 12:31 PM

You can wrap a render() around it so the result is calculated once with
CGAL and then it will be fast to draw.

Also in development snapshots you can turn on vbo rendering and that is
much faster.

If the STL is slow to draw I expect it has many facets and that might be a
problem for CGAL. You might have to reduce the number of facets in another
program.

On Wed, 30 Mar 2022 at 12:55, Bryan Lee leebc11@acm.org wrote:

I'm running openscad nightly on Ubuntu18.

I am importing an STL and performing an intersection.

The GUI performance is terrible.  I drag the mouse and it takes a couple
seconds for anything to happen, and the movement is large and difficult to
control.

Are there settings i can change to improve performance?

codeblock:
CHOPBLOCK=[115,300,320];
intersection(){
import(FILENAME,convexity=10);
cube(CHOPBLOCK);
}


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

You can wrap a render() around it so the result is calculated once with CGAL and then it will be fast to draw. Also in development snapshots you can turn on vbo rendering and that is much faster. If the STL is slow to draw I expect it has many facets and that might be a problem for CGAL. You might have to reduce the number of facets in another program. On Wed, 30 Mar 2022 at 12:55, Bryan Lee <leebc11@acm.org> wrote: > I'm running openscad nightly on Ubuntu18. > > I am importing an STL and performing an intersection. > > The GUI performance is terrible. I drag the mouse and it takes a couple > seconds for anything to happen, and the movement is large and difficult to > control. > > > >> Are there settings i can change to improve performance? > > > > codeblock: > CHOPBLOCK=[115,300,320]; > intersection(){ > import(FILENAME,convexity=10); > cube(CHOPBLOCK); > } > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org >