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

[Path] fix flipEdge not taking into account FirstParameter and LastParameter… #10033

Merged
merged 2 commits into from Aug 21, 2023

Conversation

jffmichi
Copy link

@jffmichi jffmichi commented Aug 1, 2023

… for splines

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 CAM Related to the CAM/Path Workbench label Aug 1, 2023
@jffmichi
Copy link
Author

jffmichi commented Aug 1, 2023

This PR fixes issue #8915.

When FirstParameter or LastParameter in edge differ from the respective values in spline, the values in the edge were not taken into account when returning the flipped edge.

All tests complete successfully but I would prefer if there were another set of eyes having a look at the proposed changes. Thank you.

@jffmichi jffmichi changed the title fix flipEdge not taking into account FirstParameter and LastParameter… [Path] fix flipEdge not taking into account FirstParameter and LastParameter… Aug 1, 2023
@jffmichi jffmichi marked this pull request as draft August 1, 2023 21:35
@jffmichi jffmichi marked this pull request as ready for review August 1, 2023 22:16
@luzpaz luzpaz linked an issue Aug 6, 2023 that may be closed by this pull request
2 tasks
@mlampert
Copy link
Contributor

mlampert commented Aug 9, 2023

Could you add a unit test that exposes the issue and verifies that it's fixed?

@jffmichi
Copy link
Author

jffmichi commented Aug 9, 2023

Like so? Please tell me if you need something else 👍

Copy link
Contributor

@mlampert mlampert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great, thanks

@luzpaz luzpaz requested a review from sliptonic August 16, 2023 20:19
@sliptonic sliptonic self-assigned this Aug 21, 2023
@sliptonic sliptonic merged commit 9382255 into FreeCAD:master Aug 21, 2023
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
WB CAM Related to the CAM/Path Workbench
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Issue] Extensions missing edges in some cases
3 participants