The distance is not a const. Do you want get the normal from a point of the curve and calculate the distance to other curve?raminee wrote: ↑Mon Jun 27, 2022 7:00 pm 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
[Solved] - Curve length measurements ?
Forum rules
and Helpful information
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!
Also, be nice to others! Read the FreeCAD code of conduct!
Re: Curve distance measurements ?
Re: Curve distance measurements ?
I just want to measure how long is the green line in the previous image .
Imagine if you were to stretch the green line into a straight line then what would be the length of it.
R.
Imagine if you were to stretch the green line into a straight line then what would be the length of it.
R.
Re: Curve distance measurements ?
GeomInfo in Curves Wb.
Re: Curve distance measurements ?
YES !!!!!!
THANK YOU Vincent B !!!!
THANK YOU Vincent B !!!!
- adrianinsaval
- Veteran
- Posts: 5552
- Joined: Thu Apr 05, 2018 5:15 pm
Re: Curve distance measurements ?
you are most likely using an outdated version of FreeCAD, the current stable release is 0.20. Please follow the guidelines in the big red banner above when asking for help and post your full FreeCAD info.
Anyways, the curves workbench solution is likely a more user friendly option.
Re: Curve distance measurements ?
Select the edge
hit Ctrl+Shift+P If you don't do this then the object "sub" will not exist and this is the error you see.
now in the Python console: sub.Length
But, the Curves workbench is probably better for you.
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."
Re: Curve distance measurements ?
I updated the FreeCAD version and now sub.Length works as well.
Thank you all for your support.
Now onto my next question in another upcoming post
R.
Thank you all for your support.
Now onto my next question in another upcoming post
R.
-
- Veteran
- Posts: 3191
- Joined: Thu Sep 24, 2020 10:31 pm
- Location: Hawaii
- Contact:
Re: Curve distance measurements ?
Try again, it should work. If not, upload the file and tell us which edge you are selecting. Also tell us what shows up in the Python Console after you typed Ctrl-Shift-P (Command-Shift-P on a Mac)
Select the edge.
type Ctrl+Shift+P
go to the python console and type: sub.Length
hit enter and see the length.
EDIT: Missed the previous answers somehow.
Select the edge.
type Ctrl+Shift+P
go to the python console and type: sub.Length
hit enter and see the length.
EDIT: Missed the previous answers somehow.
Re: Curve distance measurements ?
Would you mind changing th subject of the first post, which is also the title of the topic? The native speakers may correct me, but you are not asking for a distance, but rather for the length of a curve. (A distance is always the measure to some other thing.)
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.