[Solved] - Curve length measurements ?

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!
raminee
Posts: 18
Joined: Thu Jan 05, 2017 7:47 pm

[Solved] - Curve length measurements ?

Post by raminee »

How does one measure the distance on a curved line/edge of an object ?
See attached image.

Any pointers will be much appreciated.
Thank you

R.
Q1.jpg
Q1.jpg (45.43 KiB) Viewed 1354 times
Last edited by raminee on Tue Jun 28, 2022 3:58 pm, edited 2 times in total.
drmacro
Veteran
Posts: 8974
Joined: Sun Mar 02, 2014 4:35 pm

Re: Curve distance measurements ?

Post by drmacro »

Select the arc.

type Ctrl+Shift+P

go to the python console and type: sub.Length

hit enter and see the length.

Edit: nevermind, I see you want to measure the distance between the curves... :oops:
Last edited by drmacro on Mon Jun 27, 2022 6:22 pm, edited 1 time in total.
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."
User avatar
papyblaise
Veteran
Posts: 7995
Joined: Thu Jun 13, 2019 4:28 pm
Location: France

Re: Curve distance measurements ?

Post by papyblaise »

Your 2 curves are created in sketches :?: , measure their distances in this sketch
raminee
Posts: 18
Joined: Thu Jan 05, 2017 7:47 pm

Re: Curve distance measurements ?

Post by raminee »

I do not want to measure distances between the curves.
I was just showing two curves as an example that I want to measure their distances.

Sketch does not show curved distances.
Yes it does allow for measurement of distances between the curves but that is not what I want.

R.
User avatar
papyblaise
Veteran
Posts: 7995
Joined: Thu Jun 13, 2019 4:28 pm
Location: France

Re: Curve distance measurements ?

Post by papyblaise »

I do not want to measure distances between the curves.
Yes it does allow for measurement of distances between the curves but that is not what I want.
do you want it or not :?:
you draw a construction line (in blue) and measure it
otherwise use the Measure function
raminee
Posts: 18
Joined: Thu Jan 05, 2017 7:47 pm

Re: Curve distance measurements ?

Post by raminee »

In reply to papyblaise »

Yes I do want to know how to measure the distance.
But I do not know how to or see any tools in sketch that measures curved distances.
please advise.
Thank you.
R.
User avatar
Gift
Posts: 769
Joined: Tue Aug 18, 2015 10:08 am
Location: Germany, Sauerland

Re: Curve distance measurements ?

Post by Gift »

If the center of the arcs is the same, simple r1 - r2 = distance.
raminee
Posts: 18
Joined: Thu Jan 05, 2017 7:47 pm

Re: Curve distance measurements ?

Post by raminee »

Ok let me clarify my question again :

(see new image )

I DO NOT wish to measure the distance between two curves/arcs.

I wish to measure the distance of a curved edge/line.

The curve is not a circle or a geometric shape where I can measure or calculate the curved distance.


R.
Q3.jpg
Q3.jpg (29.54 KiB) Viewed 1252 times
User avatar
adrianinsaval
Veteran
Posts: 5544
Joined: Thu Apr 05, 2018 5:15 pm

Re: Curve distance measurements ?

Post by adrianinsaval »

you mean the length of the curve? select the edge in the 3d view, right click -> send to python console, then in the python console write

Code: Select all

sub.Length
raminee
Posts: 18
Joined: Thu Jan 05, 2017 7:47 pm

Re: Curve distance measurements ?

Post by raminee »

I have done the python command sub.Length, as suggested earlier by drmarco, but it just gives me the following error

Traceback (most recent call last):
File "<input>", line 1, in <module>
NameError: name 'sub' is not defined
Post Reply