Skip to content

Commit

Permalink
Merge pull request gradientspace#5 from SutroMachine/travel-z-lift
Browse files Browse the repository at this point in the history
Add optional z-lift on travel move.
  • Loading branch information
rms80 authored Apr 24, 2019
2 parents 00614dd + 256ffd4 commit 401fa25
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions settings/AdditiveSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,12 @@ public override MachineInfo BaseMachine {

public double FanSpeedX = 1.0; // default fan speed, fraction of max speed (generally unknown)


// Settings for z-lift on rapid travel moves
public bool TravelLiftEnabled { get; set; } = true;
public double TravelLiftHeight { get; set; } = 0.2;
public double TravelLiftDistanceThreshold { get; set; } = 5d;

/*
* Shells
*/
Expand Down Expand Up @@ -344,6 +350,10 @@ protected virtual void CopyFieldsTo(SingleMaterialFFFSettings to)
to.OuterPerimeterSpeedX = this.OuterPerimeterSpeedX;
to.FanSpeedX = this.FanSpeedX;

to.TravelLiftEnabled = this.TravelLiftEnabled;
to.TravelLiftHeight = this.TravelLiftHeight;
to.TravelLiftDistanceThreshold = this.TravelLiftDistanceThreshold;

to.Shells = this.Shells;
to.InteriorSolidRegionShells = this.InteriorSolidRegionShells;
to.OuterShellLast = this.OuterShellLast;
Expand Down

0 comments on commit 401fa25

Please sign in to comment.