You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: include/GCodePathConfig.h
+3
Original file line number
Diff line number
Diff line change
@@ -28,6 +28,7 @@ struct GCodePathConfig
28
28
SpeedDerivatives speed_derivatives{}; //!< The speed settings (and acceleration and jerk) of the extruded line. May be changed when smoothSpeed is called.
29
29
bool is_bridge_path{ false }; //!< whether current config is used when bridging
30
30
double fan_speed{ FAN_SPEED_DEFAULT }; //!< fan speed override for this path, value should be within range 0-100 (inclusive) and ignored otherwise
31
+
double fan_overhang_factor{ 1.0 }; //!< fan speed overhang factor, multiplicative
31
32
double extrusion_mm3_per_mm{ calculateExtrusion() }; //!< current mm^3 filament moved per mm line traversed
Copy file name to clipboardexpand all lines: include/pathPlanning/GCodePath.h
+12
Original file line number
Diff line number
Diff line change
@@ -49,6 +49,7 @@ struct GCodePath
49
49
std::vector<Point3LL> points{}; //!< The points constituting this path. The Z coordinate is an offset relative to the actual layer height, added to the global z_offset.
50
50
bool done{ false }; //!< Path is finished, no more moves should be added, and a new path should be started instead of any appending done to this one.
51
51
double fan_speed{ GCodePathConfig::FAN_SPEED_DEFAULT }; //!< fan speed override for this path, value should be within range 0-100 (inclusive) and ignored otherwise
52
+
double fan_speed_overhang_factor{ 1.0 }; //!< fan speed overhang factor, multiplicative
52
53
TimeMaterialEstimates estimates{}; //!< Naive time and material estimates
53
54
bool travel_to_z{ true }; //! Indicates whether we should add a travel move to the Z height of the first point before processing the path
54
55
@@ -86,6 +87,17 @@ struct GCodePath
86
87
* \return the value of fan_speed if it is in the range 0-100, otherwise the value from the config
87
88
*/
88
89
[[nodiscard]] doublegetFanSpeed() constnoexcept;
90
+
91
+
/*!
92
+
* Set the fan speed overhang factor, this needs to be separate from the fan speed because of signalling values.
0 commit comments