Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sketcher: Fix external geometry ellipse projection in parallel plane
==================================================================== When the ellipse to be projected and the sketch plane are parallel, the original code by shermelin provided for a translation of the original ellipse, which would be the best solution if it weren't because the Sketcher, internally, works under the assumption of a normal vector to the sketcher plane being (0,0,1). If the original ellipse is parallel to the sketch plane, but the sketch plane is not the XY plane, the copy and translation would result in a ellipse not in the XY plane of the Sketcher. Then the sketcher internals will not properly consider its dimensions. The solution applied here is to default to the general method for non-parallel planes. It solves: https://forum.freecadweb.org/viewtopic.php?f=3&t=55284#p477522
- Loading branch information
1 parent
2b881cc
commit 95fcacc
Showing
1 changed file
with
69 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters