Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft: Fix inaccuracy in Draft Edit command #9202

Merged
merged 1 commit into from Apr 12, 2023

Conversation

alafr
Copy link
Contributor

@alafr alafr commented Apr 6, 2023

This is a fix for the issue described in the forum
coin.SoCoordinate3() used in the EditTracker class rounds the x,y,z values. The loss of precision is not a lot (few micrometers) but it's apparently enough to create problems with planar faces and boolean operations.
This PR modifies the set and get functions of EditTracker so that the position is saved with precision in a App.Vector

Set as draft because I didn't test it a lot.


Thank you for creating a pull request to contribute to FreeCAD! Place an "X" in between the brackets below to "check off" to confirm that you have satisfied the requirement, or ask for help in the FreeCAD forum if there is something you don't understand.

  • Your Pull Request meets the requirements outlined in section 5 of CONTRIBUTING.md for a Valid PR

Please remember to update the Wiki with the features added or changed once this PR is merged.
Note: If you don't have wiki access, then please mention your contribution on the 1.0 Changelog Forum Thread.


@github-actions github-actions bot added the WB Draft Related to the Draft Workbench label Apr 6, 2023
@freecadci
Copy link

pipeline status for feature branch PR_9202. Pipeline 830325048 was triggered at 874399d. All CI branches and pipelines.

@Roy-043
Copy link
Contributor

Roy-043 commented Apr 12, 2023

Thank you. Please remove the Draft status. IMO this PR can be merged.

@alafr alafr marked this pull request as ready for review April 12, 2023 09:04
@alafr alafr force-pushed the fix_draft_edit_inaccuracy branch from 874399d to c765449 Compare April 12, 2023 09:05
@freecadci
Copy link

pipeline status for feature branch PR_9202. Pipeline 834788108 was triggered at c765449. All CI branches and pipelines.

@Roy-043
Copy link
Contributor

Roy-043 commented Apr 12, 2023

Many thanks. Will merge this now.

@Roy-043 Roy-043 merged commit 7a13209 into FreeCAD:master Apr 12, 2023
7 checks passed
Roy-043 pushed a commit to Roy-043/FreeCAD that referenced this pull request Apr 12, 2023
@Roy-043
Copy link
Contributor

Roy-043 commented Apr 12, 2023

Backported to V0.20.

@alafr alafr deleted the fix_draft_edit_inaccuracy branch April 13, 2024 20:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
WB Draft Related to the Draft Workbench
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants