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: Some fixes in upgrade function #4067
Conversation
@marioalexis84 thank you for the PR. |
1827ac8
to
ce5c3d3
Compare
thanks @luzpaz , I have already modified the commit message. |
@luzpaz 0004462: Upgrade from shell to solid failed - UnboundLocalError was closed in the bug tracker, but in this PR there is a change in the makeSolid function that prevents the reported error message. |
Thanks, I think the webhooks may still work on a closed ticket. But JIC, i reopened 4462 on the tracker. |
Yes, it is clarified in the link that you gave me |
Then in that case what is left for 4462 beside this commit ? |
Whatever is relevant, sure. Just remember every code push triggers TravisCI. |
ce5c3d3
to
d535a4d
Compare
d535a4d
to
8e080f1
Compare
Thanks! Merging. In case the "automatic" bug closing doens't work, it's no big deal... Just close them manually ;) |
Related to 0004460: Draft Upgrade - Incorrect result
The reported bug is due a error in isCoplanar function, which is now fixed. For a more detailed explanation, see https://forum.freecadweb.org/viewtopic.php?f=23&t=51200&p=440821#p440821
The expected functionality in the report is out of the scope of current implementations of joinFaces and concatenate functions, which only work on flat shapes.
The bug 0004462: Upgrade from shell to solid failed - UnboundLocalError is fixed.
The bug 0004080: Draft upgrade make face fails with a sketch contatining multiple closed loops is fixed.
Now, joinFaces can deal with faces which generates internal holes when are joined.
There is a change in the Update workflow:
If multiple faces are selected, the update function converts it to a shell or compound. On the next call, if all the faces are coplanar, a single refined face is created, or, if the shell is closed, a solid is created.
There is a possible limited functionality to refine faces created on planes other than xy, yz, xz due the precision of the shapes needed in Part.makeFace
Thank you for creating a pull request to contribute to FreeCAD! To ease integration, please confirm the following:
git pull --rebase upstream master
./bin/FreeCAD --run-test 0
issue #<id>
orfixes #<id>
where<id>
is the associated MantisBT issue id if one existsAnd 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 0.19 Changelog Forum Thread.