Ruler on mesh gives incorrect distance

A subforum specific to the development of the OpenFoam-based workbenches ( Cfd https://github.com/qingfengxia/Cfd and CfdOF https://github.com/jaheyns/CfdOF )

Moderator: oliveroxtoby

Post Reply
User avatar
markinca
Posts: 56
Joined: Sun Apr 30, 2023 2:41 pm

Ruler on mesh gives incorrect distance

Post by markinca »

If I use the ruler on the part, dimensions are correct. However, when I use it on the mesh from the part, the values are over 200x too big. Also, the label is placed well off the screen so you have zoom out 200x to see it. So there appears to be scaling issue.

Code: Select all

OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 0.20.2.29603 (Git)
Build type: Release
Branch: releases/FreeCAD-0-20
Hash: 930dd9a76203a3260b1e6256c70c1c3cad8c5cb8
Python 3.8.10, Qt 5.15.2, Coin 4.0.1, Vtk 8.2.0, OCC 7.6.3
Locale: English/United States (en_US)
Installed mods: 
  * CfdOF 1.22.9
  * Help 1.0.3
Attachments
Pipe Only Example.FCStd
(16.68 KiB) Downloaded 25 times
hooshsim
Posts: 108
Joined: Mon Nov 05, 2018 7:40 pm

Re: Ruler on mesh gives incorrect distance

Post by hooshsim »

I can not duplicate your issue. Part ruler and mesh both display the same info without zooming in.
User avatar
markinca
Posts: 56
Joined: Sun Apr 30, 2023 2:41 pm

Re: Ruler on mesh gives incorrect distance

Post by markinca »

Thanks for the reply.

I think I figured out what happened. When I selected points on the desired face surface, one point was very close to the edge and if I select that point and happen to miss the edge of the front face by just a little bit, it will assume that point is somewhere deeper into the mesh and give a wrong measurement. I just need to be more careful when selecting edge points.

The fact that triangulation is added to the hex-dominant mesh does not help matters any.
Post Reply