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 bug with spindle not restarting #4613

Merged
merged 1 commit into from
Mar 13, 2021

Conversation

sliptonic
Copy link
Member

@sliptonic sliptonic commented Mar 12, 2021

if output is split by operation spindle should restart when next file is loaded

Thank you for creating a pull request to contribute to FreeCAD! To ease integration, we ask you to conform to the following items. Pull requests which don't satisfy all the items below might be rejected. If you are in doubt with any of the items below, don't hesitate to ask for help in the FreeCAD forum!

  • Your pull request is confined strictly to a single module. That is, all the files changed by your pull request are either in App, Base, Gui or one of the Mod subfolders. If you need to make changes in several locations, make several pull requests and wait for the first one to be merged before submitting the next ones
  • In case your pull request does more than just fixing small bugs, make sure you discussed your ideas with other developers on the FreeCAD forum
  • Your branch is rebased on latest master git pull --rebase upstream master
  • All FreeCAD unit tests are confirmed to pass by running ./bin/FreeCAD --run-test 0
  • All commit messages are well-written ex: Fixes typo in Draft Move command text
  • Your pull request is well written and has a good description, and its title starts with the module name, ex: Draft: Fixed typos
  • Commit messages include issue #<id> or fixes #<id> where <id> is the FreeCAD bug tracker issue number in case a particular commit solves or is related to an existing issue on the tracker. Ex: Draft: fix typos - fixes #0004805

And 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.


if output is split by operation spindle should restart when next file is loaded
@@ -236,7 +236,7 @@ def Activated(self):
elif hasattr(sel, "Path"):
try:
job = PathUtils.findParentJob(sel)
except Exception: # pylint: disable=broad-except
except Exception:
Copy link
Contributor

Choose a reason for hiding this comment

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

Just curious, is there a reason why you remove the pylint suppressions added by @mlampert in f16703e ?

Copy link
Member Author

Choose a reason for hiding this comment

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

I might be misrembering a conversation with mlampert. I thought they were deprecated now

Copy link
Contributor

Choose a reason for hiding this comment

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

those were added when we didn't have any other linter for python - I think we should remove them as we go, we're not using pylint

@luzpaz luzpaz requested a review from mlampert March 12, 2021 22:57
@luzpaz luzpaz added the WB CAM Related to the CAM/Path Workbench label Mar 12, 2021
@sliptonic sliptonic merged commit e6801d9 into FreeCAD:master Mar 13, 2021
@sliptonic sliptonic deleted the bug/outputsplit branch April 19, 2021 14:35
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.

None yet

4 participants