That was exactly what I intended it is missing... the option to have some minimal but valuable information on what is clicked, as other big CADs just simple show.onekk wrote: ↑Fri Jan 06, 2023 3:34 pm Now the behaviour (0.20.2) is that when you select something you will have in the statusbar these informations:
Preselected: "description of what yo have selected" and some data.
But as example for an edge, it will be interesting to have the length if is a line or maybe if is a circle even the radius and the center.
New feature demo: Measurements of selected elements displayed in bottom bar
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Re: New feature demo: Measurements of selected elements displayed in bottom bar
Re: New feature demo: Measurements of selected elements displayed in bottom bar
No problem for me, as the circle has radius and center and edge has all the information to retrieve start and stop point.
I do it almost every time I model something with circles.
Are standard API calls.
An arc has in his Curve property the circle and in his ParameterRange the start and ending point positions.
valueAt(parameter) will return the exact point as Vector.
I'm using my memory so I should check something maybe tomorrow I will expand this post with proper python test code.
Here a post that derive some point intersecting line and circles to obtain a wire. (I'm on mobile so it is difficult to post proper code).
https://forum.freecadweb.org/viewtopic. ... 96#p649196
Here in sketch_wire some example of the ParameterRange usage and the Curve.trim() to obtain circle portion (another possible way other than toShape(parameter1, parameter2)
https://forum.freecadweb.org/viewtopic. ... 26#p646926
Regards.
CarloD.
GitHub page: https://github.com/onekk/freecad-doc.
- In deep articles on FreeCAD.
- Learning how to model with scripting.
- Various other stuffs.
Blog: https://okkmkblog.wordpress.com/
- In deep articles on FreeCAD.
- Learning how to model with scripting.
- Various other stuffs.
Blog: https://okkmkblog.wordpress.com/
-
- Posts: 79
- Joined: Tue Jan 21, 2020 1:11 pm
Re: New feature demo: Measurements of selected elements displayed in bottom bar
I hope someday this functionality will be in FreeCAD