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

Add optional z-lift on travel move. #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gregmeess
Copy link
Collaborator

No description provided.

Builder.AppendExtrude(loopV, useSpeed, poly.TypeFlags, null);
}

private void AppendTravel(Vector2d startPt, Vector2d endPt)
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Broke out into new method:

  • original logic for whether or not to retract
  • new logic for whether or not to do a z-lift before moving

@@ -112,7 +133,7 @@ public virtual void AppendPolyline2d(FillPolyline2d curve)
}

Vector2d startPt = curve[iNearest];
Builder.AppendTravel(startPt, Settings.RapidTravelSpeed);
AppendTravel(currentPos2, startPt);
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Previously there was no check here for whether or not do to a travel with retraction; now this uses the logic in the new method. Not sure if a possible "leaky move" is desired here or not.

gregmeess pushed a commit to SutroMachine/gsSlicer that referenced this pull request Feb 26, 2020
Make the position of the build plate origin a user-accessible setting.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant