discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Re: Provide a simple measurement tool

NH
nop head
Sat, Sep 4, 2021 1:24 PM

The advantage of % is you can hit F6 and the sphere won't get added to your
object. If you don't like transparent grey you can override it with color.
E.g.color("grey") %.

On Sat, 4 Sept 2021 at 14:01, Ray West raywest@raywest.com wrote:

HI Nophead,

I  used your suggestions wrt the alt and up/down arrows, (and the norm)
and it makes the process far more usable, and I've used the % too, but in
this case, it was a bit distracting in the grey, due to transparency, to
locate the spheres where I wanted them, and for the final positioning I
removed the %, and lived with the possibly slightly slower rendering in
this example.

Having revisited it, I find that rendering times for moving a sphere
around in this particular stl file,  seem to be very similar, between 0,036
and 0.079 in both cases (i.e. with and without %.) - removing the text
lines, rendering (based on half a dozen or so alt/arrows)  lies between
0.038 and 0.043 for the yellow, and 0.026 and 0.042 for the transparent,
which explains why I noticed no difference in speed of rendering this
particular file.
On 04/09/2021 12:43, nop head wrote:

Looks like you are using # rather than %. # will highlight pink but still
be included in the model. % will be transparent grey and not included in
the model.

On Sat, 4 Sept 2021 at 12:19, Ray West raywest@raywest.com wrote:

Thought I'd try it with an stl. No problem. can easily reduce the
tolerance sphere, once it's located near enough. In this example the
distance between bottom of ear lobes (no idea of scale.) If it takes too
long to render, can always temporarily remove the region that is not needed
for measuring.

On 03/09/2021 07:39, Rob Ward wrote:

Thanks whosa', I like the sound of that. More logical and easier than I
expected.
Cheers, RobW

On 3 September 2021 9:14:01 am AEST, Whosawhatsis
whosawhatsis@gmail.com whosawhatsis@gmail.com wrote:

If you use the background modifier (%) for your measurement object, it
won't interact with the rest of your model, so the rest of the model SHOULD
be able to load from cache and not need to be re-calculated. Sometimes
preview is still slower than you'd like when nothing has changed if the
model is particularly complex, but it will always be faster if the program
isn't trying to do boolean operations involving any of the parts you've
modified since the last preview.
On Sep 2, 2021, 16:01 -0700, Rob Ward rl.ward@bigpond.com
rl.ward@bigpond.com, wrote:

Just thinking. But how is it best to position a measurement checking
object quickly around a model that could take many minutes to render? How
is it best to cache the model and just have the measurement part redrawn
each time? It is still "check by eye", but I have found repositioning the
test object painfully slow at times.
Cheers, RobW

On 3 September 2021 7:21:32 am AEST, Jordan Brown
openscad@jordan.maileater.net openscad@jordan.maileater.net wrote:

On 9/1/2021 6:04 PM, Ray West wrote:

I don't use the customizer, I tend to put the variables i want to
change at the top of script.

... which is what the customizer wants, so there's a decent chance that
it will just work for you.


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


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


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

The advantage of % is you can hit F6 and the sphere won't get added to your object. If you don't like transparent grey you can override it with color. E.g.color("grey") %. On Sat, 4 Sept 2021 at 14:01, Ray West <raywest@raywest.com> wrote: > HI Nophead, > > I used your suggestions wrt the alt and up/down arrows, (and the norm) > and it makes the process far more usable, and I've used the % too, but in > this case, it was a bit distracting in the grey, due to transparency, to > locate the spheres where I wanted them, and for the final positioning I > removed the %, and lived with the possibly slightly slower rendering in > this example. > > Having revisited it, I find that rendering times for moving a sphere > around in this particular stl file, seem to be very similar, between 0,036 > and 0.079 in both cases (i.e. with and without %.) - removing the text > lines, rendering (based on half a dozen or so alt/arrows) lies between > 0.038 and 0.043 for the yellow, and 0.026 and 0.042 for the transparent, > which explains why I noticed no difference in speed of rendering this > particular file. > On 04/09/2021 12:43, nop head wrote: > > Looks like you are using # rather than %. # will highlight pink but still > be included in the model. % will be transparent grey and not included in > the model. > > On Sat, 4 Sept 2021 at 12:19, Ray West <raywest@raywest.com> wrote: > >> Thought I'd try it with an stl. No problem. can easily reduce the >> tolerance sphere, once it's located near enough. In this example the >> distance between bottom of ear lobes (no idea of scale.) If it takes too >> long to render, can always temporarily remove the region that is not needed >> for measuring. >> >> >> >> On 03/09/2021 07:39, Rob Ward wrote: >> >> Thanks whosa', I like the sound of that. More logical and easier than I >> expected. >> Cheers, RobW >> >> >> On 3 September 2021 9:14:01 am AEST, Whosawhatsis >> <whosawhatsis@gmail.com> <whosawhatsis@gmail.com> wrote: >>> >>> If you use the background modifier (%) for your measurement object, it >>> won't interact with the rest of your model, so the rest of the model SHOULD >>> be able to load from cache and not need to be re-calculated. Sometimes >>> preview is still slower than you'd like when nothing has changed if the >>> model is particularly complex, but it will always be faster if the program >>> isn't trying to do boolean operations involving any of the parts you've >>> modified since the last preview. >>> On Sep 2, 2021, 16:01 -0700, Rob Ward <rl.ward@bigpond.com> >>> <rl.ward@bigpond.com>, wrote: >>> >>> Just thinking. But how is it best to position a measurement checking >>> object quickly around a model that could take many minutes to render? How >>> is it best to cache the model and just have the measurement part redrawn >>> each time? It is still "check by eye", but I have found repositioning the >>> test object painfully slow at times. >>> Cheers, RobW >>> >>> >>> On 3 September 2021 7:21:32 am AEST, Jordan Brown >>> <openscad@jordan.maileater.net> <openscad@jordan.maileater.net> wrote: >>>> >>>> On 9/1/2021 6:04 PM, Ray West wrote: >>>> >>>> I don't use the customizer, I tend to put the variables i want to >>>> change at the top of script. >>>> >>>> >>>> ... which is what the customizer wants, so there's a decent chance that >>>> it will just work for you. >>>> >>>> _______________________________________________ >>> 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 >> >> _______________________________________________ >> 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 > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org >
RW
Raymond West
Fri, Nov 26, 2021 9:58 PM

Hi Edmund,

something like this?

-------- Forwarded Message --------
Subject: [OpenSCAD] Re: Provide a simple measurement tool
Date: Sat, 4 Sep 2021 12:18:49 +0100
From: Ray West raywest@raywest.com
Reply-To: OpenSCAD general discussion discuss@lists.openscad.org
To: OpenSCAD general discussion Discuss@lists.openscad.org

Thought I'd try it with an stl. No problem. can easily reduce the
tolerance sphere, once it's located near enough. In this example the
distance between bottom of ear lobes (no idea of scale.) If it takes too
long to render, can always temporarily remove the region that is not
needed for measuring.

On 03/09/2021 07:39, Rob Ward wrote:

Thanks whosa', I like the sound of that. More logical and easier than
I expected.
Cheers, RobW

On 3 September 2021 9:14:01 am AEST, Whosawhatsis
whosawhatsis@gmail.com wrote:

 If you use the background modifier (%) for your measurement
 object, it won't interact with the rest of your model, so the rest
 of the model SHOULD be able to load from cache and not need to be
 re-calculated. Sometimes preview is still slower than you'd like
 when nothing has changed if the model is particularly complex, but
 it will always be faster if the program isn't trying to do boolean
 operations involving any of the parts you've modified since the
 last preview.
 On Sep 2, 2021, 16:01 -0700, Rob Ward <rl.ward@bigpond.com>, wrote:
 Just thinking. But how is it best to position a measurement
 checking object quickly around a model that could take many
 minutes to render? How is it best to cache the model and just
 have the measurement part redrawn each time? It is still "check
 by eye", but I have found repositioning the test object painfully
 slow at times.
 Cheers, RobW


 On 3 September 2021 7:21:32 am AEST, Jordan Brown
 <openscad@jordan.maileater.net> wrote:

     On 9/1/2021 6:04 PM, Ray West wrote:
     I don't use the customizer, I tend to put the variables i
     want to change at the top of script.
     ... which is what the customizer wants, so there's a decent
     chance that it will just work for you.

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

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

Hi Edmund, something like this? -------- Forwarded Message -------- Subject: [OpenSCAD] Re: Provide a simple measurement tool Date: Sat, 4 Sep 2021 12:18:49 +0100 From: Ray West <raywest@raywest.com> Reply-To: OpenSCAD general discussion <discuss@lists.openscad.org> To: OpenSCAD general discussion <Discuss@lists.openscad.org> Thought I'd try it with an stl. No problem. can easily reduce the tolerance sphere, once it's located near enough. In this example the distance between bottom of ear lobes (no idea of scale.) If it takes too long to render, can always temporarily remove the region that is not needed for measuring. On 03/09/2021 07:39, Rob Ward wrote: > Thanks whosa', I like the sound of that. More logical and easier than > I expected. > Cheers, RobW > > > On 3 September 2021 9:14:01 am AEST, Whosawhatsis > <whosawhatsis@gmail.com> wrote: > > If you use the background modifier (%) for your measurement > object, it won't interact with the rest of your model, so the rest > of the model SHOULD be able to load from cache and not need to be > re-calculated. Sometimes preview is still slower than you'd like > when nothing has changed if the model is particularly complex, but > it will always be faster if the program isn't trying to do boolean > operations involving any of the parts you've modified since the > last preview. > On Sep 2, 2021, 16:01 -0700, Rob Ward <rl.ward@bigpond.com>, wrote: >> Just thinking. But how is it best to position a measurement >> checking object quickly around a model that could take many >> minutes to render? How is it best to cache the model and just >> have the measurement part redrawn each time? It is still "check >> by eye", but I have found repositioning the test object painfully >> slow at times. >> Cheers, RobW >> >> >> On 3 September 2021 7:21:32 am AEST, Jordan Brown >> <openscad@jordan.maileater.net> wrote: >> >> On 9/1/2021 6:04 PM, Ray West wrote: >>> >>> I don't use the customizer, I tend to put the variables i >>> want to change at the top of script. >>> >> >> ... which is what the customizer wants, so there's a decent >> chance that it will just work for you. >> >> _______________________________________________ >> OpenSCAD mailing list >> To unsubscribe send an email to discuss-leave@lists.openscad.org > > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email todiscuss-leave@lists.openscad.org