discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

very basic noob question

JA
joe a
Fri, May 6, 2022 8:37 PM

I only dabble in OpenSCAD, hacker style and expect I'll feel quite
foolish once this is answered.

Is there a means within the preview to "measure" things that have been
rendered?  Perhaps display dimensions in the preview?

I'd like to do "Sanity checks" on things I may modify.  Can always
create an STL file, say, and print it, but seems a waste of time and
material.

Thanks.

I only dabble in OpenSCAD, hacker style and expect I'll feel quite foolish once this is answered. Is there a means within the preview to "measure" things that have been rendered? Perhaps display dimensions in the preview? I'd like to do "Sanity checks" on things I may modify. Can always create an STL file, say, and print it, but seems a waste of time and material. Thanks.
J
jon
Fri, May 6, 2022 8:40 PM

There are rulers that you can create (as part of OpenSCAD geometry) and
position, or you can move your geometry close to the axes.

On 5/6/2022 4:37 PM, joe a wrote:

I only dabble in OpenSCAD, hacker style and expect I'll feel quite
foolish once this is answered.

Is there a means within the preview to "measure" things that have been
rendered?  Perhaps display dimensions in the preview?

I'd like to do "Sanity checks" on things I may modify.  Can always
create an STL file, say, and print it, but seems a waste of time and
material.

Thanks.


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

There are rulers that you can create (as part of OpenSCAD geometry) and position, or you can move your geometry close to the axes. On 5/6/2022 4:37 PM, joe a wrote: > I only dabble in OpenSCAD, hacker style and expect I'll feel quite > foolish once this is answered. > > Is there a means within the preview to "measure" things that have been > rendered?  Perhaps display dimensions in the preview? > > I'd like to do "Sanity checks" on things I may modify.  Can always > create an STL file, say, and print it, but seems a waste of time and > material. > > Thanks. > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org
JA
joe a
Fri, May 6, 2022 9:46 PM

I did not see that in the documentation.  Where might I find it?

I do find "show scale markers" and "show axes" which show numbers.

On 5/6/2022 4:40 PM, jon wrote:

There are rulers that you can create (as part of OpenSCAD geometry) and
position, or you can move your geometry close to the axes.

On 5/6/2022 4:37 PM, joe a wrote:

I only dabble in OpenSCAD, hacker style and expect I'll feel quite
foolish once this is answered.

Is there a means within the preview to "measure" things that have been
rendered?  Perhaps display dimensions in the preview?

I'd like to do "Sanity checks" on things I may modify.  Can always
create an STL file, say, and print it, but seems a waste of time and
material.

Thanks.


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

I did not see that in the documentation. Where might I find it? I do find "show scale markers" and "show axes" which show numbers. On 5/6/2022 4:40 PM, jon wrote: > There are rulers that you can create (as part of OpenSCAD geometry) and > position, or you can move your geometry close to the axes. > > > On 5/6/2022 4:37 PM, joe a wrote: >> I only dabble in OpenSCAD, hacker style and expect I'll feel quite >> foolish once this is answered. >> >> Is there a means within the preview to "measure" things that have been >> rendered?  Perhaps display dimensions in the preview? >> >> I'd like to do "Sanity checks" on things I may modify.  Can always >> create an STL file, say, and print it, but seems a waste of time and >> material. >> >> Thanks. >> _______________________________________________ >> 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
FS
FF Systems
Fri, May 6, 2022 10:07 PM

It isn't documented.  You place a free-cube (or cubes) in the design
(typically, you would precede them with the "#" character to highlight them
in the OpenSCAD render window).  You position these cubes with
"translate()" and "rotate()" modifiers to place the "ruler" where you want
it.

I typically include "rulers" as objects that can be enabled or disabled
with if() statements or comment out the ruler code manually.

This is more of a "hack" than a feature, so it isn't documented anywhere
other than this discussion list (and perhaps other lists).  If you really
want to measure multiple aspects of your design quickly, then you need to
look at exporting it to another tool (I have only used FreeCAD, but there
are many others).

This thread has been visited multiple times.  It is one of the common
noob "brick-walls" (I hit it myself early on in my meager studies of the
OpenSCAD environment).  I expect you can find many of the past threads by
searching the list history for the term "ruler" but I haven't tried that.
Basically, adding such a feature to OpenSCAD has been panned due to the
effort involved.  I'm paraphrasing here, so forgive me if I am off-level at
all.  The short answer is: "it is what it is" and you do what you can
either within OpenSCAD or by using outside tools.  BTW, the reasons that I
have seen for NOT adding a "measure" feature seem to have merit IMO, so it
isn't a case of "we just can't be bothered to do that".  It really is a
very difficult task.

On Fri, May 6, 2022 at 4:46 PM joe a joea-lists@j4computers.com wrote:

I did not see that in the documentation.  Where might I find it?

I do find "show scale markers" and "show axes" which show numbers.

On 5/6/2022 4:40 PM, jon wrote:

There are rulers that you can create (as part of OpenSCAD geometry) and
position, or you can move your geometry close to the axes.

On 5/6/2022 4:37 PM, joe a wrote:

I only dabble in OpenSCAD, hacker style and expect I'll feel quite
foolish once this is answered.

Is there a means within the preview to "measure" things that have been
rendered?  Perhaps display dimensions in the preview?

I'd like to do "Sanity checks" on things I may modify.  Can always
create an STL file, say, and print it, but seems a waste of time and
material.

Thanks.


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

It isn't documented. You place a free-cube (or cubes) in the design (typically, you would precede them with the "#" character to highlight them in the OpenSCAD render window). You position these cubes with "translate()" and "rotate()" modifiers to place the "ruler" where you want it. I typically include "rulers" as objects that can be enabled or disabled with if() statements or comment out the ruler code manually. This is more of a "hack" than a feature, so it isn't documented anywhere other than this discussion list (and perhaps other lists). If you really want to measure multiple aspects of your design quickly, then you need to look at exporting it to another tool (I have only used FreeCAD, but there are many others). This thread has been visited multiple times. It is one of the common noob "brick-walls" (I hit it myself early on in my meager studies of the OpenSCAD environment). I expect you can find many of the past threads by searching the list history for the term "ruler" but I haven't tried that. Basically, adding such a feature to OpenSCAD has been panned due to the effort involved. I'm paraphrasing here, so forgive me if I am off-level at all. The short answer is: "it is what it is" and you do what you can either within OpenSCAD or by using outside tools. BTW, the reasons that I have seen for NOT adding a "measure" feature seem to have merit IMO, so it isn't a case of "we just can't be bothered to do that". It really is a very difficult task. On Fri, May 6, 2022 at 4:46 PM joe a <joea-lists@j4computers.com> wrote: > I did not see that in the documentation. Where might I find it? > > I do find "show scale markers" and "show axes" which show numbers. > > On 5/6/2022 4:40 PM, jon wrote: > > There are rulers that you can create (as part of OpenSCAD geometry) and > > position, or you can move your geometry close to the axes. > > > > > > On 5/6/2022 4:37 PM, joe a wrote: > >> I only dabble in OpenSCAD, hacker style and expect I'll feel quite > >> foolish once this is answered. > >> > >> Is there a means within the preview to "measure" things that have been > >> rendered? Perhaps display dimensions in the preview? > >> > >> I'd like to do "Sanity checks" on things I may modify. Can always > >> create an STL file, say, and print it, but seems a waste of time and > >> material. > >> > >> Thanks. > >> _______________________________________________ > >> 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 >
J
jon
Fri, May 6, 2022 10:45 PM

Joe:

A quick Google search for OpenSCAD Ruler reveals:

https://www.thingiverse.com/thing:1741429

https://www.thingiverse.com/thing:389275

https://www.thingiverse.com/thing:6823

https://www.thingiverse.com/thing:30769

I have attached the version of Ruler that I use.  Customize it to suit you.

Jon

On 5/6/2022 5:46 PM, joe a wrote:

I did not see that in the documentation.   Where might I find it?

I do find "show scale markers" and "show axes" which show numbers.

On 5/6/2022 4:40 PM, jon wrote:

There are rulers that you can create (as part of OpenSCAD geometry)
and position, or you can move your geometry close to the axes.

On 5/6/2022 4:37 PM, joe a wrote:

I only dabble in OpenSCAD, hacker style and expect I'll feel quite
foolish once this is answered.

Is there a means within the preview to "measure" things that have
been rendered?  Perhaps display dimensions in the preview?

I'd like to do "Sanity checks" on things I may modify.  Can always
create an STL file, say, and print it, but seems a waste of time and
material.

Thanks.


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

Joe: A quick Google search for OpenSCAD Ruler reveals: https://www.thingiverse.com/thing:1741429 https://www.thingiverse.com/thing:389275 https://www.thingiverse.com/thing:6823 https://www.thingiverse.com/thing:30769 I have attached the version of Ruler that I use.  Customize it to suit you. Jon On 5/6/2022 5:46 PM, joe a wrote: > I did not see that in the documentation.   Where might I find it? > > I do find "show scale markers" and "show axes" which show numbers. > > On 5/6/2022 4:40 PM, jon wrote: >> There are rulers that you can create (as part of OpenSCAD geometry) >> and position, or you can move your geometry close to the axes. >> >> >> On 5/6/2022 4:37 PM, joe a wrote: >>> I only dabble in OpenSCAD, hacker style and expect I'll feel quite >>> foolish once this is answered. >>> >>> Is there a means within the preview to "measure" things that have >>> been rendered?  Perhaps display dimensions in the preview? >>> >>> I'd like to do "Sanity checks" on things I may modify.  Can always >>> create an STL file, say, and print it, but seems a waste of time and >>> material. >>> >>> Thanks. >>> _______________________________________________ >>> 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
D
Dave
Fri, May 6, 2022 10:45 PM

Or you can do what I do and save the object as an .STL file then open it
with a free tool like "3D-TOOL_FREE" that has an excellent measuring tool.

Dave

On 06/05/2022 21:37, joe a wrote:

I only dabble in OpenSCAD, hacker style and expect I'll feel quite
foolish once this is answered.

Is there a means within the preview to "measure" things that have been
rendered?  Perhaps display dimensions in the preview?

I'd like to do "Sanity checks" on things I may modify.  Can always
create an STL file, say, and print it, but seems a waste of time and
material.

Thanks.


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

Or you can do what I do and save the object as an .STL file then open it with a free tool like "3D-TOOL_FREE" that has an excellent measuring tool. Dave On 06/05/2022 21:37, joe a wrote: > I only dabble in OpenSCAD, hacker style and expect I'll feel quite > foolish once this is answered. > > Is there a means within the preview to "measure" things that have been > rendered? Perhaps display dimensions in the preview? > > I'd like to do "Sanity checks" on things I may modify. Can always > create an STL file, say, and print it, but seems a waste of time and > material. > > Thanks. > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org
JA
joe a
Sat, May 7, 2022 1:11 AM

Thanks for the ideas,  I'll look at this tool and the other suggestions.

I never thought to search for the word "ruler" along with "openscad".
No puns come to mind either.

joe a.

On 5/6/2022 6:45 PM, Dave wrote:

Or you can do what I do and save the object as an .STL file then open it
with a free tool like "3D-TOOL_FREE" that has an excellent measuring tool.

Dave

On 06/05/2022 21:37, joe a wrote:

I only dabble in OpenSCAD, hacker style and expect I'll feel quite
foolish once this is answered.

Is there a means within the preview to "measure" things that have been
rendered?  Perhaps display dimensions in the preview?

I'd like to do "Sanity checks" on things I may modify.  Can always
create an STL file, say, and print it, but seems a waste of time and
material.

Thanks.


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

Thanks for the ideas, I'll look at this tool and the other suggestions. I never thought to search for the word "ruler" along with "openscad". No puns come to mind either. joe a. On 5/6/2022 6:45 PM, Dave wrote: > Or you can do what I do and save the object as an .STL file then open it > with a free tool like "3D-TOOL_FREE" that has an excellent measuring tool. > > Dave > > > On 06/05/2022 21:37, joe a wrote: >> I only dabble in OpenSCAD, hacker style and expect I'll feel quite >> foolish once this is answered. >> >> Is there a means within the preview to "measure" things that have been >> rendered?  Perhaps display dimensions in the preview? >> >> I'd like to do "Sanity checks" on things I may modify.  Can always >> create an STL file, say, and print it, but seems a waste of time and >> material. >> >> Thanks. >> _______________________________________________ >> 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
T
terrypingm@gmail.com
Sat, May 7, 2022 9:33 PM

Cura has its own measuring tool.

--
Terry

On 6 May 2022, at 23:46, Dave softfoot@hotmail.com wrote:

Or you can do what I do and save the object as an .STL file then open it with a free tool like "3D-TOOL_FREE" that has an excellent measuring tool.

Dave

On 06/05/2022 21:37, joe a wrote:
I only dabble in OpenSCAD, hacker style and expect I'll feel quite
foolish once this is answered.

Is there a means within the preview to "measure" things that have been
rendered?  Perhaps display dimensions in the preview?

I'd like to do "Sanity checks" on things I may modify.  Can always
create an STL file, say, and print it, but seems a waste of time and
material.

Thanks.


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

Cura has its own measuring tool. -- Terry > On 6 May 2022, at 23:46, Dave <softfoot@hotmail.com> wrote: > > Or you can do what I do and save the object as an .STL file then open it with a free tool like "3D-TOOL_FREE" that has an excellent measuring tool. > > Dave > > >> On 06/05/2022 21:37, joe a wrote: >> I only dabble in OpenSCAD, hacker style and expect I'll feel quite >> foolish once this is answered. >> >> Is there a means within the preview to "measure" things that have been >> rendered? Perhaps display dimensions in the preview? >> >> I'd like to do "Sanity checks" on things I may modify. Can always >> create an STL file, say, and print it, but seems a waste of time and >> material. >> >> Thanks. >> _______________________________________________ >> 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
JA
joe a
Sun, May 8, 2022 6:26 PM

Recognizing this is not a 3D-tool list, I find the free version displays
in mm regardless of how I set preferences.

There does not appear to be any support for the free version other than
their email, which I dropped a note to.

Anyone know a fix?

joe a.

On 5/6/2022 6:45 PM, Dave wrote:

Or you can do what I do and save the object as an .STL file then open it
with a free tool like "3D-TOOL_FREE" that has an excellent measuring tool.

Dave

On 06/05/2022 21:37, joe a wrote:

I only dabble in OpenSCAD, hacker style and expect I'll feel quite
foolish once this is answered.

Is there a means within the preview to "measure" things that have been
rendered?  Perhaps display dimensions in the preview?

I'd like to do "Sanity checks" on things I may modify.  Can always
create an STL file, say, and print it, but seems a waste of time and
material.

Thanks.


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

Recognizing this is not a 3D-tool list, I find the free version displays in mm regardless of how I set preferences. There does not appear to be any support for the free version other than their email, which I dropped a note to. Anyone know a fix? joe a. On 5/6/2022 6:45 PM, Dave wrote: > Or you can do what I do and save the object as an .STL file then open it > with a free tool like "3D-TOOL_FREE" that has an excellent measuring tool. > > Dave > > > On 06/05/2022 21:37, joe a wrote: >> I only dabble in OpenSCAD, hacker style and expect I'll feel quite >> foolish once this is answered. >> >> Is there a means within the preview to "measure" things that have been >> rendered?  Perhaps display dimensions in the preview? >> >> I'd like to do "Sanity checks" on things I may modify.  Can always >> create an STL file, say, and print it, but seems a waste of time and >> material. >> >> Thanks. >> _______________________________________________ >> 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