View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0002190||Draft||Feature||public||2015-07-10 19:03||2021-02-06 06:45|
|Summary||0002190: Use relative coordinates for changing dimension text position.|
|Description||When user tries to change dimension text position global coordinates are used instead of relative coordinates.|
1.) Use relative coordinates by default.
2.) Use global coordinates but therefore default values for X,Y,Z text position property should not be set at 0 but at global coordinate values.
|Tags||No tags attached.|
||relative coordinates don't exist anymore once the object has been created.|
If Text Position X Y Z property is set to 0 dimension text will always be centered and slightly above dimension line. Regardless of the changes made to X Y Z Dimline Property.
Therefore if user changes for example Text Position Y property from 0 to 0,5 i am guessing the user expects the result where dimension text is moved by 0,5 in Y direction from that original position (centered and slightly above dimension line). Instead dimension text is moved away from dimension line to global 0,5 in Y direction.
||Hmm I don't like that, because if the dimension changes, the text position will change too, which is not what I want.|
That already happen if X Y Z property is set to 0. Dimension text is tied to dimension and should move with it and therefore respect relative changes in X Y Z direction set by the user.
Positioning the dimension text individually in the global coordinate system makes less sense compared to positioning the dimension text relative to the dimension itself. I am not against having an option for both as probably there could be use case for everything. As for positioning text in global coordinate system Draft Text tool makes more sense.
Alternative solution could be to have "auto" and "manual" mode.
-Default mode would be "auto" and it would do the same as current 0,0,0 setting.
-If changed to "manual" mode global coordinates could be set (as now) with one difference and that is X,Y,Z value would be pre-filled with current dimension text global coordinates.
||There need to be "relative" positioning too, to move the text around the "auto" (centre of the line) position, for example to the other side of the line. When changes are small, chances are that such "relatively" positioned text is still in acceptable position. Those chances are smaller when position is global.|
||@yorik, are you still of the same idea about relative coordinates of the text position vector?|
||No not really... indeed it would make sense.|
||I can have a look at it, it doesn't seem something complicated to address... Do you think we should provide some kind of backward compatibility or just change it?|
||Maybe we can change the property name? So there is a clear "before" and "after"... But also I don't think this feature is used much, so it might be overkill and we could just do it and see (and maybe provide a method that users can do manually to fix things)|
Looking at https://forum.freecadweb.org/viewtopic.php?f=8&t=47677&p=408935#p408935
That property could even become a full placement.
||@carlopav any progress on this ?|
||@Kunda1 , sorry not much time to dedicate to Freecad at the moment, i'll be back soon I hope. :)|
||This ticket has been migrated to GitHub as issue 5631.|
|2015-07-10 19:03||triplus||New Issue|
|2015-09-10 19:39||yorik||Note Added: 0006393|
|2015-09-19 21:02||triplus||Note Added: 0006437|
|2015-09-20 16:38||yorik||Note Added: 0006442|
|2015-09-20 21:37||triplus||Note Added: 0006443|
|2015-09-22 16:14||triplus||Note Added: 0006444|
|2017-07-02 14:51||steelman||Note Added: 0009649|
|2020-06-14 20:28||carlopav||Note Added: 0014544|
|2020-06-15 08:14||yorik||Note Added: 0014549|
|2020-06-15 11:13||carlopav||Note Added: 0014552|
|2020-06-15 17:15||carlopav||Assigned To||=> carlopav|
|2020-06-15 17:15||carlopav||Status||new => assigned|
|2020-06-16 10:42||yorik||Note Added: 0014559|
|2020-06-16 12:59||yorik||Note Added: 0014564|
|2020-10-23 02:53||Kunda1||Note Added: 0014941|
|2020-10-23 11:53||carlopav||Note Added: 0014942|
|2021-02-06 06:45||abdullah||Target Version||=> 0.20|