Collection of TD issues, proposals and ideas for FC 0.19

Discussions about the development of the TechDraw workbench
svbol
Posts: 41
Joined: Mon Dec 09, 2019 8:29 pm

Re: Collection of TD issues, proposals and ideas for FC 0.19

Postby svbol » Mon Dec 16, 2019 5:29 pm

Thank you for your answer.
1. I try find info about this Marks in Wiki before this posts. What I found:
" ShowCenters: Circle/arc center marks on/off" on https://www.freecadweb.org/wiki/TechDraw_NewView
but my FreeCAD have not this "ShowCenters"...

2. I create new task in BugTracker:
https://www.freecadweb.org/tracker/view.php?id=4227

P.S. May be you can help me with DMS (Angle format)?
I use this format any time, but change units to US (inch) and see Angle in decimal format now.

Can I add task in tracker about selector "23°30'00""/"23.500"?
"Format Spec" field of my Angle have "%.2f" only.
User avatar
uwestoehr
Posts: 1956
Joined: Sun Jan 27, 2019 3:21 am

Re: Collection of TD issues, proposals and ideas for FC 0.19

Postby uwestoehr » Tue Dec 17, 2019 10:02 am

svbol wrote:
Mon Dec 16, 2019 5:29 pm
1. I try find info about this Marks in Wiki before this posts. What I found:
" ShowCenters: Circle/arc center marks on/off" on https://www.freecadweb.org/wiki/TechDraw_NewView
but my FreeCAD have not this "ShowCenters"...
The Wiki is very outdated and we are aware of this. As first step we renamed and uniformed menu names, tooltips etc. Now we are fixing small issues and errors and also start updating the Wiki.

svbol wrote:
Mon Dec 16, 2019 5:29 pm
Can I add task in tracker about selector "23°30'00""/"23.500"?
"Format Spec" field of my Angle have "%.2f" only.
Please ask this in the main Help Forum:
https://forum.freecadweb.org/viewforum.php?f=3
since there might already be a solution or bugtracker entry.
User avatar
wandererfan
Posts: 4078
Joined: Tue Nov 06, 2012 5:42 pm

Re: Collection of TD issues, proposals and ideas for FC 0.19

Postby wandererfan » Tue Dec 17, 2019 2:07 pm

svbol wrote:
Mon Dec 16, 2019 5:29 pm
1. I try find info about this Marks in Wiki before this posts. What I found:
" ShowCenters: Circle/arc center marks on/off" on https://www.freecadweb.org/wiki/TechDraw_NewView
but my FreeCAD have not this "ShowCenters"...
What version are you using? This is an older feature. Look on the View tab of the property editor, not the Data tab.
2. I create new task in BugTracker:
https://www.freecadweb.org/tracker/view.php?id=4227
Thank you.
P.S. May be you can help me with DMS (Angle format)?
I use this format any time, but change units to US (inch) and see Angle in decimal format now.

Can I add task in tracker about selector "23°30'00""/"23.500"?
"Format Spec" field of my Angle have "%.2f" only.
I believe "Imperial Civil" is the only units schema that supports DMS.
DMSUnits.png
DMSUnits.png (13.18 KiB) Viewed 443 times
ImperialCivilPref.png
ImperialCivilPref.png (78.79 KiB) Viewed 443 times
A given schema can only support 1 form of angle display, so you'd have to ask for a new schema (US Inch with DMS?).
vocx
Posts: 5206
Joined: Thu Oct 18, 2018 9:18 pm

Re: Collection of TD issues, proposals and ideas for FC 0.19

Postby vocx » Wed Dec 18, 2019 6:38 pm

uwestoehr wrote:
Mon Nov 04, 2019 11:49 pm
...
Here is the rather massive PR for the renaming of tools and menus for the Wiki:
PR 2694
About this. Can you make a list of all commands that changed name? Ideally it would be

Code: Select all

old_name -> new_name
Then we can rename the wiki pages with the new name so that the Std_WhatsThis tool works correctly.
Always add the important information to your posts if you need help. Also see Tutorials and Video tutorials.
To support the documentation effort, and code development, your donation is appreciated: liberapay.com/FreeCAD.
lidiriel
Posts: 24
Joined: Sat Dec 21, 2019 9:30 pm
Location: France

Re: Collection of TD issues, proposals and ideas for FC 0.19

Postby lidiriel » Sun Dec 22, 2019 5:19 pm

Hi,

have you corrected the bug "Balloon annotations move when Lock Position is true" ?
I have a same bug :
create a small project in tech draw and add balloon annotation and move it at a specific position.
then you close the project and reopen the annotation have moved.
if you reclose en re-open the annotation doesn''t move.

Perhaps it is linked with the fact : when you change the annotation position (x,y) in data window, the annotation position is not uppdated.

bye.

Lidiriel

PS : you can test on the small project in attachment.
Attachments
merlon.FCStd
freecad project for balloon bug
(18.02 KiB) Downloaded 7 times
Capture d’écran du 2019-12-21 23-20-36.png
new position of balloon after close/re-open
Capture d’écran du 2019-12-21 23-20-36.png (130.39 KiB) Viewed 381 times
Capture d’écran du 2019-12-21 23-20-20.png
initial position of balloon annotation
Capture d’écran du 2019-12-21 23-20-20.png (131.66 KiB) Viewed 381 times
chrisb
Posts: 29003
Joined: Tue Mar 17, 2015 9:14 am

Re: Collection of TD issues, proposals and ideas for FC 0.19

Postby chrisb » Sun Dec 22, 2019 6:44 pm

I couldn't find a view nor a balloon in the uploaded file, so I created them myself, hoping they act as yours. I observe:
- Setting lock position of the view and of the balloon to false -> Balloon keeps the position on reload
- Setting lock position of the view to true and of the balloon to false -> Balloon keeps the position on reload
- Setting lock position of the view and the balloon to true -> Balloon text keeps the position while the error moves:
Snip macro screenshot-bd27ab.png
Snip macro screenshot-bd27ab.png (11.92 KiB) Viewed 378 times
My solution would be: not to set LockPosition of the balloon.

OS: macOS High Sierra (10.13)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.18947 (Git)
Build type: Release
Branch: master
Hash: 91f6a5e5ee1b48063d5d4b59cc6250fc2a1021b1
Python version: 3.7.3
Qt version: 5.12.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/Germany (en_DE)
A Sketcher Lecture with in-depth information is available in English, auf deutsch, en français, en español.
User avatar
wandererfan
Posts: 4078
Joined: Tue Nov 06, 2012 5:42 pm

Re: Collection of TD issues, proposals and ideas for FC 0.19

Postby wandererfan » Sun Dec 22, 2019 8:00 pm

lidiriel wrote:
Sun Dec 22, 2019 5:19 pm
have you corrected the bug "Balloon annotations move when Lock Position is true" ?
No. It is moving up the list, but there are still tasks ahead of it.
Perhaps it is linked with the fact : when you change the annotation position (x,y) in data window, the annotation position is not uppdated.
This is probably related. Balloons have a number of positioning issues at the moment.
lidiriel
Posts: 24
Joined: Sat Dec 21, 2019 9:30 pm
Location: France

Re: Collection of TD issues, proposals and ideas for FC 0.19

Postby lidiriel » Mon Dec 23, 2019 10:47 pm

Hi all,

i have corrected several issu of balloon positionning. Try this patch.
You can try :
  • lock/unlock balloon
  • lock/unlock view
  • close/reopen document.
  • modify X,Y position in data view
there is already a probleme with the lock balloon and originX originY. I try to solve this.

bye
Attachments
merlon.FCStd
testing file with balloon
(19.76 KiB) Downloaded 7 times
balloon.zip
patch against master branch
(843 Bytes) Downloaded 11 times
lidiriel
Posts: 24
Joined: Sat Dec 21, 2019 9:30 pm
Location: France

Re: Collection of TD issues, proposals and ideas for FC 0.19

Postby lidiriel » Mon Dec 23, 2019 11:53 pm

Hi,

next patch to lock originX/Y when balloon is locked.
I had a override handleXYlock method

bye
Attachments
merlon.FCStd
small testing use case
(19.63 KiB) Downloaded 7 times
balloon2.zip
balloon lock/positionning patch
(1.22 KiB) Downloaded 9 times
User avatar
wandererfan
Posts: 4078
Joined: Tue Nov 06, 2012 5:42 pm

Re: Collection of TD issues, proposals and ideas for FC 0.19

Postby wandererfan » Tue Dec 24, 2019 7:44 pm

lidiriel wrote:
Mon Dec 23, 2019 10:47 pm
i have corrected several issu of balloon positionning. Try this patch.
Thank you for the patch. It looks good. I'll look deeper after Christmas.

Joyeux Noel!

wf