Balloon improvements

Discussions about the development of the TechDraw workbench
Post Reply
Posts: 56
Joined: Sun Jan 07, 2018 2:15 am

Balloon improvements

Post by tpavlicek »


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 (2.28 KiB) Viewed 1363 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 (3.42 KiB) Viewed 1363 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,

Posts: 37776
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
Posts: 287
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.
Posts: 292
Joined: Fri Dec 28, 2018 11:11 am

Re: Balloon improvements

Post by cad1234 »

User avatar
Posts: 821
Joined: Sat Mar 11, 2017 9:23 am
Location: Germany

Re: Balloon improvements

Post by M4x »

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

Re: Balloon improvements

Post by user1234 »

Very nice! Thanks!

User avatar
Posts: 312
Joined: Wed Sep 23, 2020 12:53 pm
Location: Germany

Re: Balloon improvements

Post by RedBaron »

Very nice, thank you for the Effort.
Posts: 636
Joined: Mon Jun 22, 2020 12:16 pm

Re: Balloon improvements

Post by domad »

Thanks, @you are a great resource!
Post Reply