discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Preview graphics speed

DV
david vanhorn
Fri, Jan 14, 2022 6:54 PM

Is there ANYTHING I can do to speed up the rotate/zoom in the preview?
I'm working on a complex object, and I need to be able to rotate and zoom
to check fit in several places.  Once I run Design Preview I get a good
view, but any rotate or zoom is "coffeebreak" slow.

Each sub-part is ok by itself, but when I combine them and cross section,
it's horribly slow.

--
K1FZY (WA4TPW) SK  9/29/37-4/13/15

Is there ANYTHING I can do to speed up the rotate/zoom in the preview? I'm working on a complex object, and I need to be able to rotate and zoom to check fit in several places. Once I run Design Preview I get a good view, but any rotate or zoom is "coffeebreak" slow. Each sub-part is ok by itself, but when I combine them and cross section, it's horribly slow. -- K1FZY (WA4TPW) SK 9/29/37-4/13/15
NH
nop head
Fri, Jan 14, 2022 6:57 PM

You can find the slow bit and put a render() around it. Then it will be
slow the first time and faster afterwards.

Also you can enable all the vbo rendering uptions in the experimental
features. They speed it up by a couple of orders of magnitude.

On Fri, 14 Jan 2022 at 18:54, david vanhorn kc6ete@gmail.com wrote:

Is there ANYTHING I can do to speed up the rotate/zoom in the preview?
I'm working on a complex object, and I need to be able to rotate and zoom
to check fit in several places.  Once I run Design Preview I get a good
view, but any rotate or zoom is "coffeebreak" slow.

Each sub-part is ok by itself, but when I combine them and cross section,
it's horribly slow.

--
K1FZY (WA4TPW) SK  9/29/37-4/13/15


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

You can find the slow bit and put a render() around it. Then it will be slow the first time and faster afterwards. Also you can enable all the vbo rendering uptions in the experimental features. They speed it up by a couple of orders of magnitude. On Fri, 14 Jan 2022 at 18:54, david vanhorn <kc6ete@gmail.com> wrote: > Is there ANYTHING I can do to speed up the rotate/zoom in the preview? > I'm working on a complex object, and I need to be able to rotate and zoom > to check fit in several places. Once I run Design Preview I get a good > view, but any rotate or zoom is "coffeebreak" slow. > > Each sub-part is ok by itself, but when I combine them and cross section, > it's horribly slow. > > > -- > K1FZY (WA4TPW) SK 9/29/37-4/13/15 > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org >
JB
Jordan Brown
Fri, Jan 14, 2022 7:01 PM

Also tweak $fs/$fa/$fn so as to have fewer segments in curved parts.

Also tweak $fs/$fa/$fn so as to have fewer segments in curved parts.
BL
Bryan Lee
Fri, Jan 14, 2022 7:10 PM

Thus Jordan Brown hast written on Fri, Jan 14, 2022 at 07:01:04PM +0000, and, according to prophecy, it shall come to pass that:

Also tweak $fs/$fa/$fn so as to have fewer segments in curved parts.

This is a good one.

I sometimes set a global variable FN and in all my round things say:
$fn=FN.

Thus Jordan Brown hast written on Fri, Jan 14, 2022 at 07:01:04PM +0000, and, according to prophecy, it shall come to pass that: > Also tweak $fs/$fa/$fn so as to have fewer segments in curved parts. This is a good one. I sometimes set a global variable FN and in all my round things say: $fn=FN.
MM
Michael Möller
Fri, Jan 14, 2022 7:12 PM

I had a similar problem - F5 was slow, F6 took time to do, but then I could
rotate/zoom freely/fast. Cant have it both ways :-) :-D

Michael, fra mobilen

fre. 14. jan. 2022 19.54 skrev david vanhorn kc6ete@gmail.com:

Is there ANYTHING I can do to speed up the rotate/zoom in the preview?
I'm working on a complex object, and I need to be able to rotate and zoom
to check fit in several places.  Once I run Design Preview I get a good
view, but any rotate or zoom is "coffeebreak" slow.

Each sub-part is ok by itself, but when I combine them and cross section,
it's horribly slow.

--
K1FZY (WA4TPW) SK  9/29/37-4/13/15


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

I had a similar problem - F5 was slow, F6 took time to do, but then I could rotate/zoom freely/fast. Cant have it both ways :-) :-D Michael, fra mobilen fre. 14. jan. 2022 19.54 skrev david vanhorn <kc6ete@gmail.com>: > Is there ANYTHING I can do to speed up the rotate/zoom in the preview? > I'm working on a complex object, and I need to be able to rotate and zoom > to check fit in several places. Once I run Design Preview I get a good > view, but any rotate or zoom is "coffeebreak" slow. > > Each sub-part is ok by itself, but when I combine them and cross section, > it's horribly slow. > > > -- > K1FZY (WA4TPW) SK 9/29/37-4/13/15 > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org >
DV
david vanhorn
Fri, Jan 14, 2022 7:13 PM

Where do I turn on the vbo rendering options?

On Fri, Jan 14, 2022 at 11:57 AM nop head nop.head@gmail.com wrote:

You can find the slow bit and put a render() around it. Then it will be
slow the first time and faster afterwards.

Also you can enable all the vbo rendering uptions in the experimental
features. They speed it up by a couple of orders of magnitude.

On Fri, 14 Jan 2022 at 18:54, david vanhorn kc6ete@gmail.com wrote:

Is there ANYTHING I can do to speed up the rotate/zoom in the preview?
I'm working on a complex object, and I need to be able to rotate and zoom
to check fit in several places.  Once I run Design Preview I get a good
view, but any rotate or zoom is "coffeebreak" slow.

Each sub-part is ok by itself, but when I combine them and cross section,
it's horribly slow.

--
K1FZY (WA4TPW) SK  9/29/37-4/13/15


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

--
K1FZY (WA4TPW) SK  9/29/37-4/13/15

Where do I turn on the vbo rendering options? On Fri, Jan 14, 2022 at 11:57 AM nop head <nop.head@gmail.com> wrote: > You can find the slow bit and put a render() around it. Then it will be > slow the first time and faster afterwards. > > Also you can enable all the vbo rendering uptions in the experimental > features. They speed it up by a couple of orders of magnitude. > > On Fri, 14 Jan 2022 at 18:54, david vanhorn <kc6ete@gmail.com> wrote: > >> Is there ANYTHING I can do to speed up the rotate/zoom in the preview? >> I'm working on a complex object, and I need to be able to rotate and zoom >> to check fit in several places. Once I run Design Preview I get a good >> view, but any rotate or zoom is "coffeebreak" slow. >> >> Each sub-part is ok by itself, but when I combine them and cross section, >> it's horribly slow. >> >> >> -- >> K1FZY (WA4TPW) SK 9/29/37-4/13/15 >> _______________________________________________ >> 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 > -- K1FZY (WA4TPW) SK 9/29/37-4/13/15
DV
david vanhorn
Fri, Jan 14, 2022 7:14 PM

Limiting the accuracy of the round parts would also hose up my ability to
check the fit.

On Fri, Jan 14, 2022 at 12:10 PM Bryan Lee leebc11@acm.org wrote:

Thus Jordan Brown hast written on Fri, Jan 14, 2022 at 07:01:04PM +0000,
and, according to prophecy, it shall come to pass that:

Also tweak $fs/$fa/$fn so as to have fewer segments in curved parts.

This is a good one.

I sometimes set a global variable FN and in all my round things say:
$fn=FN.


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

--
K1FZY (WA4TPW) SK  9/29/37-4/13/15

Limiting the accuracy of the round parts would also hose up my ability to check the fit. On Fri, Jan 14, 2022 at 12:10 PM Bryan Lee <leebc11@acm.org> wrote: > Thus Jordan Brown hast written on Fri, Jan 14, 2022 at 07:01:04PM +0000, > and, according to prophecy, it shall come to pass that: > > Also tweak $fs/$fa/$fn so as to have fewer segments in curved parts. > > > This is a good one. > > I sometimes set a global variable FN and in all my round things say: > $fn=FN. > > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org > -- K1FZY (WA4TPW) SK 9/29/37-4/13/15
NH
nop head
Fri, Jan 14, 2022 10:40 PM

You turn on vbo in Edit/Preferences/Features

[image: image.png]

Getting fast previews of complex scenes is an art. Union in preview is
free. 3D difference () and intersection() are slow. I tend to wrap those in
render() to get a one off hit.

On Fri, 14 Jan 2022 at 19:14, david vanhorn kc6ete@gmail.com wrote:

Limiting the accuracy of the round parts would also hose up my ability to
check the fit.

On Fri, Jan 14, 2022 at 12:10 PM Bryan Lee leebc11@acm.org wrote:

Thus Jordan Brown hast written on Fri, Jan 14, 2022 at 07:01:04PM +0000,
and, according to prophecy, it shall come to pass that:

Also tweak $fs/$fa/$fn so as to have fewer segments in curved parts.

This is a good one.

I sometimes set a global variable FN and in all my round things say:
$fn=FN.


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

--
K1FZY (WA4TPW) SK  9/29/37-4/13/15


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

You turn on vbo in Edit/Preferences/Features [image: image.png] Getting fast previews of complex scenes is an art. Union in preview is free. 3D difference () and intersection() are slow. I tend to wrap those in render() to get a one off hit. On Fri, 14 Jan 2022 at 19:14, david vanhorn <kc6ete@gmail.com> wrote: > Limiting the accuracy of the round parts would also hose up my ability to > check the fit. > > > On Fri, Jan 14, 2022 at 12:10 PM Bryan Lee <leebc11@acm.org> wrote: > >> Thus Jordan Brown hast written on Fri, Jan 14, 2022 at 07:01:04PM +0000, >> and, according to prophecy, it shall come to pass that: >> > Also tweak $fs/$fa/$fn so as to have fewer segments in curved parts. >> >> >> This is a good one. >> >> I sometimes set a global variable FN and in all my round things say: >> $fn=FN. >> >> >> _______________________________________________ >> OpenSCAD mailing list >> To unsubscribe send an email to discuss-leave@lists.openscad.org >> > > > -- > K1FZY (WA4TPW) SK 9/29/37-4/13/15 > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org >
DV
david vanhorn
Fri, Jan 14, 2022 10:54 PM

That explains why I couldn't find it.
I don't HAVE a "features" tab.
Running 2021.01 here.

On Fri, Jan 14, 2022 at 3:41 PM nop head nop.head@gmail.com wrote:

You turn on vbo in Edit/Preferences/Features

[image: image.png]

Getting fast previews of complex scenes is an art. Union in preview is
free. 3D difference () and intersection() are slow. I tend to wrap those in
render() to get a one off hit.

On Fri, 14 Jan 2022 at 19:14, david vanhorn kc6ete@gmail.com wrote:

Limiting the accuracy of the round parts would also hose up my ability to
check the fit.

On Fri, Jan 14, 2022 at 12:10 PM Bryan Lee leebc11@acm.org wrote:

Thus Jordan Brown hast written on Fri, Jan 14, 2022 at 07:01:04PM +0000,
and, according to prophecy, it shall come to pass that:

Also tweak $fs/$fa/$fn so as to have fewer segments in curved parts.

This is a good one.

I sometimes set a global variable FN and in all my round things say:
$fn=FN.


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

--
K1FZY (WA4TPW) SK  9/29/37-4/13/15


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

--
K1FZY (WA4TPW) SK  9/29/37-4/13/15

That explains why I couldn't find it. I don't HAVE a "features" tab. Running 2021.01 here. On Fri, Jan 14, 2022 at 3:41 PM nop head <nop.head@gmail.com> wrote: > You turn on vbo in Edit/Preferences/Features > > [image: image.png] > > Getting fast previews of complex scenes is an art. Union in preview is > free. 3D difference () and intersection() are slow. I tend to wrap those in > render() to get a one off hit. > > On Fri, 14 Jan 2022 at 19:14, david vanhorn <kc6ete@gmail.com> wrote: > >> Limiting the accuracy of the round parts would also hose up my ability to >> check the fit. >> >> >> On Fri, Jan 14, 2022 at 12:10 PM Bryan Lee <leebc11@acm.org> wrote: >> >>> Thus Jordan Brown hast written on Fri, Jan 14, 2022 at 07:01:04PM +0000, >>> and, according to prophecy, it shall come to pass that: >>> > Also tweak $fs/$fa/$fn so as to have fewer segments in curved parts. >>> >>> >>> This is a good one. >>> >>> I sometimes set a global variable FN and in all my round things say: >>> $fn=FN. >>> >>> >>> _______________________________________________ >>> OpenSCAD mailing list >>> To unsubscribe send an email to discuss-leave@lists.openscad.org >>> >> >> >> -- >> K1FZY (WA4TPW) SK 9/29/37-4/13/15 >> _______________________________________________ >> 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 > -- K1FZY (WA4TPW) SK 9/29/37-4/13/15
NH
nop head
Fri, Jan 14, 2022 10:57 PM

Yes all experimental features are after the last release, so you need a
more recent development snapshot.

On Fri, 14 Jan 2022 at 22:55, david vanhorn kc6ete@gmail.com wrote:

That explains why I couldn't find it.
I don't HAVE a "features" tab.
Running 2021.01 here.

On Fri, Jan 14, 2022 at 3:41 PM nop head nop.head@gmail.com wrote:

You turn on vbo in Edit/Preferences/Features

[image: image.png]

Getting fast previews of complex scenes is an art. Union in preview is
free. 3D difference () and intersection() are slow. I tend to wrap those in
render() to get a one off hit.

On Fri, 14 Jan 2022 at 19:14, david vanhorn kc6ete@gmail.com wrote:

Limiting the accuracy of the round parts would also hose up my ability
to check the fit.

On Fri, Jan 14, 2022 at 12:10 PM Bryan Lee leebc11@acm.org wrote:

Thus Jordan Brown hast written on Fri, Jan 14, 2022 at 07:01:04PM
+0000, and, according to prophecy, it shall come to pass that:

Also tweak $fs/$fa/$fn so as to have fewer segments in curved parts.

This is a good one.

I sometimes set a global variable FN and in all my round things say:
$fn=FN.


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

--
K1FZY (WA4TPW) SK  9/29/37-4/13/15


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

--
K1FZY (WA4TPW) SK  9/29/37-4/13/15


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

Yes all experimental features are after the last release, so you need a more recent development snapshot. On Fri, 14 Jan 2022 at 22:55, david vanhorn <kc6ete@gmail.com> wrote: > That explains why I couldn't find it. > I don't HAVE a "features" tab. > Running 2021.01 here. > > > On Fri, Jan 14, 2022 at 3:41 PM nop head <nop.head@gmail.com> wrote: > >> You turn on vbo in Edit/Preferences/Features >> >> [image: image.png] >> >> Getting fast previews of complex scenes is an art. Union in preview is >> free. 3D difference () and intersection() are slow. I tend to wrap those in >> render() to get a one off hit. >> >> On Fri, 14 Jan 2022 at 19:14, david vanhorn <kc6ete@gmail.com> wrote: >> >>> Limiting the accuracy of the round parts would also hose up my ability >>> to check the fit. >>> >>> >>> On Fri, Jan 14, 2022 at 12:10 PM Bryan Lee <leebc11@acm.org> wrote: >>> >>>> Thus Jordan Brown hast written on Fri, Jan 14, 2022 at 07:01:04PM >>>> +0000, and, according to prophecy, it shall come to pass that: >>>> > Also tweak $fs/$fa/$fn so as to have fewer segments in curved parts. >>>> >>>> >>>> This is a good one. >>>> >>>> I sometimes set a global variable FN and in all my round things say: >>>> $fn=FN. >>>> >>>> >>>> _______________________________________________ >>>> OpenSCAD mailing list >>>> To unsubscribe send an email to discuss-leave@lists.openscad.org >>>> >>> >>> >>> -- >>> K1FZY (WA4TPW) SK 9/29/37-4/13/15 >>> _______________________________________________ >>> 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 >> > > > -- > K1FZY (WA4TPW) SK 9/29/37-4/13/15 > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org >