Balloon improvements

Discussions about the development of the TechDraw workbench
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
tpavlicek
Posts: 60
Joined: Sun Jan 07, 2018 2:15 am

Balloon improvements

Post by tpavlicek »

Hello,

I have created Pull Request #5082 with several improvements in "Balloon" handling. It is touching following areas:

  • 1. New "bubble" shape Line style, underlining the ballon text
Balloon1.png
Balloon1.png (2.28 KiB) Viewed 5234 times

This style is neccessary when the drawings must be made according to the ISO norms. In this particular case, the thickness of the object is 5mm and that shall be written on the reference line. Similar effect can be created with an annotation and leader line, but when placement changes are to be made, it quickly becomes impractical.


  • 2. Automatic end placement when an edge or a vertex is selected
Balloon2.png
Balloon2.png (3.42 KiB) Viewed 5234 times

To speed up working with balloons, I offer automatic tip placement when a sub-item is selected. If an edge is selected, the balloon tip is placed at its center. This is very useful when e.g. multiple edge dimensions must be added, as the arrow tip shall be placed in the middle of the edge. Similar speed-up is automatic placement when a vertex is selected. If I want to place the balloon precisely, I often need to zoom in and out, thus this addition makes things a lot more easier. If no edge nor vertex is selected, user can place the balloon freely as usual. In any case, the position of the balloon tip can be always later changed.


  • 3. Improved balloon cursor handling
This part does not bring any new functionality, it just tries to fix the issues with ballon cursor artifacting and the occasional situation, when the ballon cursor remains set for whole application, although the balloon placement operation has already finished. This is a plain bugfix.

I hope you will find the changes useful, in case of any problems, issues or suggestions, please let me know.

Kind regards,

Tomas
chrisb
Veteran
Posts: 53933
Joined: Tue Mar 17, 2015 9:14 am

Re: Balloon improvements

Post by chrisb »

Nice improvement, thanks!
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
ragohix769
Posts: 565
Joined: Sat Jul 18, 2020 7:04 am
Location: Rome - Italy

Re: Balloon improvements

Post by ragohix769 »

tpavlicek wrote: Sat Oct 02, 2021 9:40 pm Hello,

I have created Pull Request #5082 with several improvements in "Balloon" handling.

Good improvement, thanks a lot for your contribution.
After #ElonMuskBuyTwitter I'm no more on Twitter, that's really enough :-(
=> Now you can find me here on #Mastodon: https://mastodon.uno/@opensoul - I hope more people do the same :-)
cad1234
Posts: 331
Joined: Fri Dec 28, 2018 11:11 am

Re: Balloon improvements

Post by cad1234 »

THANKS!
User avatar
M4x
Veteran
Posts: 1474
Joined: Sat Mar 11, 2017 9:23 am
Location: Germany

Re: Balloon improvements

Post by M4x »

Thank you very much!
user1234
Veteran
Posts: 3345
Joined: Mon Jul 11, 2016 5:08 pm

Re: Balloon improvements

Post by user1234 »

Very nice! Thanks!

Greetings
user1234
User avatar
RedBaron
Posts: 371
Joined: Wed Sep 23, 2020 12:53 pm

Re: Balloon improvements

Post by RedBaron »

@tpavlicek
Very nice, thank you for the Effort.
domad
Veteran
Posts: 2053
Joined: Mon Jun 22, 2020 12:16 pm

Re: Balloon improvements

Post by domad »

Thanks, @you are a great resource!
freecad-heini-1
Veteran
Posts: 7788
Joined: Tue Jan 07, 2014 11:10 am
Contact:

Re: Balloon improvements

Post by freecad-heini-1 »

How to copy balloons and annotations from one page to an other?
User avatar
wandererfan
Veteran
Posts: 6268
Joined: Tue Nov 06, 2012 5:42 pm
Contact:

Re: Balloon improvements

Post by wandererfan »

freecad-heini-1 wrote: Tue Mar 14, 2023 1:54 pm How to copy balloons and annotations from one page to an other?
TechDraw_MoveView
Post Reply