View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0004448||TechDraw||Bug||public||2020-10-03 02:21||2022-02-02 20:21|
|Summary||0004448: 0.19 Tech Draw does not correctly open files from previous versions.|
|Description||0.19 Tech Draw does not correctly interpret the rotation angle of any rotated views created by previous versions. For example, if the page contains a view that has been rotated -90 degrees, 0.19 displays the view as being rotated 0 degrees. This causes any dimensions in the view to be incorrect (usually to "0.00") because the anchor points are shifted.|
|Steps To Reproduce||Step 1: Create a object in an earlier version (eg 0.18) and insert views of it into a Tech Draw page.|
Step 2: Either rotate one (or more) of the views or create a section view and rotate it. Angle does not matter but it should be obvious. Add some x and y dimensions to the rotated view.
Step 3:Save and close.
Step 4: Open the file in 0.19. You will find that (even though the angle in the data box is unchanged), the rotated view is displayed at a different angle and consequently the dimensions have changed.
Obviously, this corrupted file cannot be used, therefore I have marked this bug as severe. The file can be repaired by editing the rotation data in the properties box until the orientation is correct.
Sample file attached...
|Additional Information||The only additional information I have is that a file originally rotated -90 degrees becomes correct when the rotation angle is set to 0; and a file originally rotated 30 degrees becomes correct when the rotation angle is reset to 60. Maybe 0.18 is measuring the angles from horizontal while 0.19 is measuring from vertical???? |
|Tags||0.18, 0.19, TechDraw|
|FreeCAD Information||Forum link|
[quote=CrashedAgain post_id=435450 time=1601481254 user_id=29187]
Test file created in 0.18.16146.
All Tech Draw views were deliberately moved from their default locations because "locations" is where the problem lies.
Screenshot 1 is the original as created in 0.18. Note the rotated section view.
Screenshot 2 is the same file as opened by 0.19.22522. Note the Data sidebar indicates -90 rotation but the section view is not actually rotated and the dimensions are (0.00) because the reference points are now in line.
File was then saved (without making any changes) by 0.19 and then reopened in 0.18. (Screenshot3) All the views are piled together in the corner because 18 is now reading all the the x-y locations and the rotation value as 0.
But....if the file is now reopened in 19, the display is the same as screenshot 2, therefore the stored rotation data has not been changed and 19 can read the x-y data correctly but 18 can not. Neither version can read the rotation data correctly.
If the file is now re-saved by version 18, all the location values will actually be changed to "0".
TestFileCreatedin0.18.FCStd (13,215 bytes)
V018 had issues with direction of rotation and section views. Note that the -90 rotation in the sample file is counter clockwise in v018, but clockwise (as it should be) in v019.
Also note the inconsistency between section direction (looking down) and section normal ((0,0,-1) which indicates looking up).
It is unfortunate, but I don't think we can duplicate errors in order to maintain backwards compatibility.
||This ticket has been migrated to GitHub as issue 6109.|
|2020-10-03 02:21||CrashedAgain||New Issue|
|2020-10-03 02:21||CrashedAgain||Tag Attached: 0.18|
|2020-10-03 02:21||CrashedAgain||Tag Attached: 0.19|
|2020-10-03 02:21||CrashedAgain||Tag Attached: TechDraw|
|2020-10-03 02:21||CrashedAgain||File Added: TestFileCreatedin0.18.FCStd|
|2020-10-09 21:19||openBrain||FreeCAD Information||[quote=CrashedAgain post_id=435450 time=1601481254 user_id=29187] Test file created in 0.18.16146. All Tech Draw views were deliberately moved from their default locations because "locations" is where the problem lies. Screenshot 1 is the original ... => Forum link [quote=CrashedAgain post_id=435450 time=1601481254 user_id=29187] Test file created in 0.18.16146. All Tech Draw views were deliberately moved from their default locations be...|
|2021-02-06 06:38||abdullah||Target Version||=> 0.20|
|2022-02-02 20:20||wandererfan||Status||new => feedback|
|2022-02-02 20:20||wandererfan||Note Added: 0016340|
|2022-02-02 20:21||wandererfan||Status||feedback => resolved|
|2022-02-02 20:21||wandererfan||Resolution||open => won't fix|