How do I measure the vertical distance along an axis?

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
User avatar
deostroll
Posts: 7
Joined: Wed Dec 26, 2018 1:40 pm

How do I measure the vertical distance along an axis?

Post by deostroll »

I am trying to find the z-axis distance from the XY plane to a particular point on the object (in other words, the vertical distance). Perhaps the pic below can throw more light.

Image

I checked out the measure tool, but it is quite limited in this sense. Or is it?
Attachments
holder.fcstd
(21.47 KiB) Downloaded 50 times
User avatar
deostroll
Posts: 7
Joined: Wed Dec 26, 2018 1:40 pm

Re: How do I measure the vertical distance along an axis?

Post by deostroll »

Oh, well, I have an answer.

You can indirectly infer this. Use the measure tool. Click on the first point of interest, and, click any other point in the figure. Make sure the Distance is selected in the Model view. In the data tab just read off the z value of the first point.
chrisb
Veteran
Posts: 54186
Joined: Tue Mar 17, 2015 9:14 am

Re: How do I measure the vertical distance along an axis?

Post by chrisb »

In this case it is easiest if you do it in Sketcher with a (blue) reference constraint:
Bildschirmfoto 2018-12-28 um 13.43.31.png
Bildschirmfoto 2018-12-28 um 13.43.31.png (19.27 KiB) Viewed 4318 times
Besides that it is always recommended to fully constrain a sketch. The white lines will then turn green.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
NormandC
Veteran
Posts: 18589
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: How do I measure the vertical distance along an axis?

Post by NormandC »

deostroll wrote: Fri Dec 28, 2018 12:36 pm You can indirectly infer this. Use the measure tool. Click on the first point of interest, and, click any other point in the figure. Make sure the Distance is selected in the Model view. In the data tab just read off the z value of the first point.
The standard "measure distance" tool from the global toolbar is pretty limited. There are far more useful measurement tools in the Part workbench. See the documentation for Image Part Measure Linear.
freedman
Veteran
Posts: 3465
Joined: Thu Mar 22, 2018 3:02 am
Location: Washington State, USA

Re: How do I measure the vertical distance along an axis?

Post by freedman »

Not saying it's the best of practice:
I just placed all the measure tools (from Part WB) in a custom toolbar and installed that in Part Design, they seem to work just as well in both work benches. The Part tape measure tools are limited but certainly better than what's currently in Part Design. Thanks for bringing this up, I could have used this a couple months ago. :?

Maybe this should be checked out for an addition to Part Design. It seems to manage the Tasks tabs in the Combo panel perfectly.
Last edited by freedman on Sat Dec 29, 2018 6:02 pm, edited 2 times in total.
User avatar
NormandC
Veteran
Posts: 18589
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: How do I measure the vertical distance along an axis?

Post by NormandC »

I think the Part measure tools should be global... Maybe in a menu accessible from any workbench.
chrisb
Veteran
Posts: 54186
Joined: Tue Mar 17, 2015 9:14 am

Re: How do I measure the vertical distance along an axis?

Post by chrisb »

+1
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
freedman
Veteran
Posts: 3465
Joined: Thu Mar 22, 2018 3:02 am
Location: Washington State, USA

Re: How do I measure the vertical distance along an axis?

Post by freedman »

It appears the measure tools are smart enough to select valid vertex. Unfortunately this tool won't select points on a STL file, bummer!
chrisb
Veteran
Posts: 54186
Joined: Tue Mar 17, 2015 9:14 am

Re: How do I measure the vertical distance along an axis?

Post by chrisb »

You are right, but I think it's ok to convert it to a shape. After all FreeCAD is not a mesh program.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
freedman
Veteran
Posts: 3465
Joined: Thu Mar 22, 2018 3:02 am
Location: Washington State, USA

Re: How do I measure the vertical distance along an axis?

Post by freedman »

I searched and did this procedure on my STL:

Switch to the Part workbench.
Select the mesh, and go to the Part menu --> Create shape from mesh.
Click OK to the dialog.
Select the newly created shape.
Go to Part --> Convert to solid.
Select the newly created solid.
Go to Part --> Refine shape.

In the pic some of the suface has been cleaned of mesh but the radius still has a bunch. Is there a way to clean this up, there are so many vertexes to choose from when I make measurements? I'm guessing this is as far as the conversion can go.
Attachments
surface1.JPG
surface1.JPG (73.59 KiB) Viewed 4217 times
Post Reply