[Feature Request] Removing one arrow from the radial dimension

A forum dedicated to the Draft, Arch and BIM workbenches development.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
User avatar
NewJoker
Veteran
Posts: 3078
Joined: Sun Oct 11, 2020 7:49 pm

[Feature Request] Removing one arrow from the radial dimension

Post by NewJoker »

Hi,

currently, the radial dimension in Draft has two arrows making it look like the diameter dimension:

draft radial dim.JPG
draft radial dim.JPG (15.94 KiB) Viewed 2004 times

It would be nice to have an option to remove/hide one arrow to make it look like actual radial dimension.

The workaround is to overlay the dimension with a line having an arrow at the end and reduce the size of the dimension's arrows to almost zero. However, it's quite tedious, especially when there are multiple radial dimensions. Adding an option to remove one arrow of the radial dimension shouldn't be too complicated.

Also, it would be good to make FreeCAD automatically replace the diameter symbol with "R" when the Diameter property is set to true so that it's not necessary to do it manually for each dimension.
chrisb
Veteran
Posts: 54187
Joined: Tue Mar 17, 2015 9:14 am

Re: [Feature Request] Removing one arrow from the radial dimension

Post by chrisb »

A radius dimension should indeed have only one arrow.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
thomas-neemann
Veteran
Posts: 11913
Joined: Wed Jan 22, 2020 6:03 pm
Location: Osnabrück DE 🇩🇪
Contact:

Re: [Feature Request] Removing one arrow from the radial dimension

Post by thomas-neemann »

NewJoker wrote: Thu Oct 06, 2022 10:49 am ...
until freecad can do that, i won't use arrows
Bildschirmfoto_2022-10-06_14-43-35.png
Bildschirmfoto_2022-10-06_14-43-35.png (6.09 KiB) Viewed 1953 times
Gruß Dipl.-Ing. (FH) Thomas Neemann

https://www.youtube.com/@thomasneemann5 ... ry=freecad
User avatar
yorik
Founder
Posts: 13660
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels
Contact:

Re: [Feature Request] Removing one arrow from the radial dimension

Post by yorik »

Currently dimensions have a "ShowLine" property that switches on/off the line and the arrows. Maybe we could separate this into 3 properties: ShowLine, ShowStartArrow and ShowEndArrow?
User avatar
thomas-neemann
Veteran
Posts: 11913
Joined: Wed Jan 22, 2020 6:03 pm
Location: Osnabrück DE 🇩🇪
Contact:

Re: [Feature Request] Removing one arrow from the radial dimension

Post by thomas-neemann »

yorik wrote: Fri Oct 07, 2022 9:14 am ...
that sounds good
Gruß Dipl.-Ing. (FH) Thomas Neemann

https://www.youtube.com/@thomasneemann5 ... ry=freecad
chrisb
Veteran
Posts: 54187
Joined: Tue Mar 17, 2015 9:14 am

Re: [Feature Request] Removing one arrow from the radial dimension

Post by chrisb »

yorik wrote: Fri Oct 07, 2022 9:14 am separate this into 3 properties: ShowLine, ShowStartArrow and ShowEndArrow?
+1
What would happen to existing models? I don't think it would be serious if they had to be reworked.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
yorik
Founder
Posts: 13660
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels
Contact:

Re: [Feature Request] Removing one arrow from the radial dimension

Post by yorik »

chrisb wrote: Fri Oct 07, 2022 3:23 pm What would happen to existing models? I don't think it would be serious if they had to be reworked.
I described it on the GH issue... Basically, if you load a model with the previous setup, the old behaviour applies
User avatar
NewJoker
Veteran
Posts: 3078
Joined: Sun Oct 11, 2020 7:49 pm

Re: [Feature Request] Removing one arrow from the radial dimension

Post by NewJoker »

I offer a bounty for this: viewtopic.php?t=80395

It's a small thing but the workaround is really tedious so it would be great to add this option.
User avatar
calligarov
Posts: 47
Joined: Sun Jan 01, 2023 3:08 pm
Location: Cadore, Italy
Contact:

Re: [Feature Request] Removing one arrow from the radial dimension

Post by calligarov »

Hi Everyone! :)

In these days I gave a look at this feature request.

After some modifications and test I think I achieved an acceptable result, you can see an example in the following gif:
RadialArrows.gif
RadialArrows.gif (489.86 KiB) Viewed 873 times

This also works when changing from radial dimension to diameter dimension and vice versa:
RadialDiameterArrows.gif
RadialDiameterArrows.gif (640.08 KiB) Viewed 873 times

@yorik, I made this modifications using the properties already available, haven't added new ones.
Is it necessary to add the other 2 properties you mentioned in your previous post?
My impression is that the goal is also to handle this cases in a manner similar to how other SW, for example InkScape, handles the end line symbols, giving to the user the possibility to specify separately the look of those symbols.

ATM I can't say if that's indeed necessary but for this specific case I'd say that it can be handled without the 2 new properties.

Regardless for that, if anyone of yours is interested to try my actual modifications I'll be happy to share the updated python files :)
You can find some more info about me at https://wiki.opensourceecology.org/wiki/User:Calligarov

My GitLab profile: https://gitlab.com/calligarov
Post Reply