Browse Source

Merge pull request #5696 from thinkyhead/rc_volumetric_default

Allow enabling volumetric filament on config load
pull/1/head
Scott Lahteine 8 years ago
committed by GitHub
parent
commit
9b5515926a
  1. 10
      Marlin/Configuration_adv.h
  2. 8
      Marlin/Marlin_main.cpp
  3. 8
      Marlin/configuration_store.cpp
  4. 9
      Marlin/example_configurations/Cartesio/Configuration_adv.h
  5. 9
      Marlin/example_configurations/Felix/Configuration_adv.h
  6. 9
      Marlin/example_configurations/Hephestos/Configuration_adv.h
  7. 9
      Marlin/example_configurations/Hephestos_2/Configuration_adv.h
  8. 9
      Marlin/example_configurations/K8200/Configuration_adv.h
  9. 9
      Marlin/example_configurations/K8400/Configuration_adv.h
  10. 9
      Marlin/example_configurations/RigidBot/Configuration_adv.h
  11. 9
      Marlin/example_configurations/SCARA/Configuration_adv.h
  12. 9
      Marlin/example_configurations/TAZ4/Configuration_adv.h
  13. 9
      Marlin/example_configurations/WITBOX/Configuration_adv.h
  14. 9
      Marlin/example_configurations/delta/generic/Configuration_adv.h
  15. 9
      Marlin/example_configurations/delta/kossel_mini/Configuration_adv.h
  16. 9
      Marlin/example_configurations/delta/kossel_pro/Configuration_adv.h
  17. 9
      Marlin/example_configurations/delta/kossel_xl/Configuration_adv.h
  18. 9
      Marlin/example_configurations/makibox/Configuration_adv.h
  19. 9
      Marlin/example_configurations/tvrrug/Round2/Configuration_adv.h

10
Marlin/Configuration_adv.h

@ -1085,4 +1085,14 @@
*/
//#define EXTENDED_CAPABILITIES_REPORT
/**
* Volumetric extrusion default state
* Activate to make volumetric extrusion the default method,
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
*
* M200 D0 to disable, M200 Dn to set a new diameter.
*/
//#define VOLUMETRIC_DEFAULT_ON
#endif // CONFIGURATION_ADV_H

8
Marlin/Marlin_main.cpp

@ -388,7 +388,13 @@ int feedrate_percentage = 100, saved_feedrate_percentage,
flow_percentage[EXTRUDERS] = ARRAY_BY_EXTRUDERS1(100);
bool axis_relative_modes[] = AXIS_RELATIVE_MODES,
volumetric_enabled = false;
volumetric_enabled =
#if ENABLED(VOLUMETRIC_DEFAULT_ON)
true
#else
false
#endif
;
float filament_size[EXTRUDERS] = ARRAY_BY_EXTRUDERS1(DEFAULT_NOMINAL_FILAMENT_DIA),
volumetric_multiplier[EXTRUDERS] = ARRAY_BY_EXTRUDERS1(1.0);

8
Marlin/configuration_store.cpp

@ -824,7 +824,13 @@ void Config_ResetDefault() {
retract_recover_feedrate_mm_s = RETRACT_RECOVER_FEEDRATE;
#endif
volumetric_enabled = false;
volumetric_enabled =
#if ENABLED(VOLUMETRIC_DEFAULT_ON)
true
#else
false
#endif
;
for (uint8_t q = 0; q < COUNT(filament_size); q++)
filament_size[q] = DEFAULT_NOMINAL_FILAMENT_DIA;

9
Marlin/example_configurations/Cartesio/Configuration_adv.h

@ -1080,4 +1080,13 @@
*/
//#define EXTENDED_CAPABILITIES_REPORT
/**
* Volumetric extrusion default state
* Activate to make volumetric extrusion the default method,
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
*
* M200 D0 to disable, M200 Dn to set a new diameter.
*/
//#define VOLUMETRIC_DEFAULT_ON
#endif // CONFIGURATION_ADV_H

9
Marlin/example_configurations/Felix/Configuration_adv.h

@ -1085,4 +1085,13 @@
*/
//#define EXTENDED_CAPABILITIES_REPORT
/**
* Volumetric extrusion default state
* Activate to make volumetric extrusion the default method,
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
*
* M200 D0 to disable, M200 Dn to set a new diameter.
*/
//#define VOLUMETRIC_DEFAULT_ON
#endif // CONFIGURATION_ADV_H

9
Marlin/example_configurations/Hephestos/Configuration_adv.h

@ -1085,4 +1085,13 @@
*/
//#define EXTENDED_CAPABILITIES_REPORT
/**
* Volumetric extrusion default state
* Activate to make volumetric extrusion the default method,
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
*
* M200 D0 to disable, M200 Dn to set a new diameter.
*/
//#define VOLUMETRIC_DEFAULT_ON
#endif // CONFIGURATION_ADV_H

9
Marlin/example_configurations/Hephestos_2/Configuration_adv.h

@ -1068,4 +1068,13 @@
*/
//#define EXTENDED_CAPABILITIES_REPORT
/**
* Volumetric extrusion default state
* Activate to make volumetric extrusion the default method,
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
*
* M200 D0 to disable, M200 Dn to set a new diameter.
*/
//#define VOLUMETRIC_DEFAULT_ON
#endif // CONFIGURATION_ADV_H

9
Marlin/example_configurations/K8200/Configuration_adv.h

@ -1093,4 +1093,13 @@
*/
//#define EXTENDED_CAPABILITIES_REPORT
/**
* Volumetric extrusion default state
* Activate to make volumetric extrusion the default method,
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
*
* M200 D0 to disable, M200 Dn to set a new diameter.
*/
//#define VOLUMETRIC_DEFAULT_ON
#endif // CONFIGURATION_ADV_H

9
Marlin/example_configurations/K8400/Configuration_adv.h

@ -1080,4 +1080,13 @@
*/
//#define EXTENDED_CAPABILITIES_REPORT
/**
* Volumetric extrusion default state
* Activate to make volumetric extrusion the default method,
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
*
* M200 D0 to disable, M200 Dn to set a new diameter.
*/
//#define VOLUMETRIC_DEFAULT_ON
#endif // CONFIGURATION_ADV_H

9
Marlin/example_configurations/RigidBot/Configuration_adv.h

@ -1085,4 +1085,13 @@
*/
//#define EXTENDED_CAPABILITIES_REPORT
/**
* Volumetric extrusion default state
* Activate to make volumetric extrusion the default method,
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
*
* M200 D0 to disable, M200 Dn to set a new diameter.
*/
//#define VOLUMETRIC_DEFAULT_ON
#endif // CONFIGURATION_ADV_H

9
Marlin/example_configurations/SCARA/Configuration_adv.h

@ -1085,4 +1085,13 @@
*/
//#define EXTENDED_CAPABILITIES_REPORT
/**
* Volumetric extrusion default state
* Activate to make volumetric extrusion the default method,
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
*
* M200 D0 to disable, M200 Dn to set a new diameter.
*/
//#define VOLUMETRIC_DEFAULT_ON
#endif // CONFIGURATION_ADV_H

9
Marlin/example_configurations/TAZ4/Configuration_adv.h

@ -1088,4 +1088,13 @@
*/
//#define EXTENDED_CAPABILITIES_REPORT
/**
* Volumetric extrusion default state
* Activate to make volumetric extrusion the default method,
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
*
* M200 D0 to disable, M200 Dn to set a new diameter.
*/
//#define VOLUMETRIC_DEFAULT_ON
#endif // CONFIGURATION_ADV_H

9
Marlin/example_configurations/WITBOX/Configuration_adv.h

@ -1085,4 +1085,13 @@
*/
//#define EXTENDED_CAPABILITIES_REPORT
/**
* Volumetric extrusion default state
* Activate to make volumetric extrusion the default method,
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
*
* M200 D0 to disable, M200 Dn to set a new diameter.
*/
//#define VOLUMETRIC_DEFAULT_ON
#endif // CONFIGURATION_ADV_H

9
Marlin/example_configurations/delta/generic/Configuration_adv.h

@ -1087,4 +1087,13 @@
*/
//#define EXTENDED_CAPABILITIES_REPORT
/**
* Volumetric extrusion default state
* Activate to make volumetric extrusion the default method,
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
*
* M200 D0 to disable, M200 Dn to set a new diameter.
*/
//#define VOLUMETRIC_DEFAULT_ON
#endif // CONFIGURATION_ADV_H

9
Marlin/example_configurations/delta/kossel_mini/Configuration_adv.h

@ -1087,4 +1087,13 @@
*/
//#define EXTENDED_CAPABILITIES_REPORT
/**
* Volumetric extrusion default state
* Activate to make volumetric extrusion the default method,
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
*
* M200 D0 to disable, M200 Dn to set a new diameter.
*/
//#define VOLUMETRIC_DEFAULT_ON
#endif // CONFIGURATION_ADV_H

9
Marlin/example_configurations/delta/kossel_pro/Configuration_adv.h

@ -1092,4 +1092,13 @@
*/
//#define EXTENDED_CAPABILITIES_REPORT
/**
* Volumetric extrusion default state
* Activate to make volumetric extrusion the default method,
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
*
* M200 D0 to disable, M200 Dn to set a new diameter.
*/
//#define VOLUMETRIC_DEFAULT_ON
#endif // CONFIGURATION_ADV_H

9
Marlin/example_configurations/delta/kossel_xl/Configuration_adv.h

@ -1087,4 +1087,13 @@
*/
//#define EXTENDED_CAPABILITIES_REPORT
/**
* Volumetric extrusion default state
* Activate to make volumetric extrusion the default method,
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
*
* M200 D0 to disable, M200 Dn to set a new diameter.
*/
//#define VOLUMETRIC_DEFAULT_ON
#endif // CONFIGURATION_ADV_H

9
Marlin/example_configurations/makibox/Configuration_adv.h

@ -1085,4 +1085,13 @@
*/
//#define EXTENDED_CAPABILITIES_REPORT
/**
* Volumetric extrusion default state
* Activate to make volumetric extrusion the default method,
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
*
* M200 D0 to disable, M200 Dn to set a new diameter.
*/
//#define VOLUMETRIC_DEFAULT_ON
#endif // CONFIGURATION_ADV_H

9
Marlin/example_configurations/tvrrug/Round2/Configuration_adv.h

@ -1085,4 +1085,13 @@
*/
//#define EXTENDED_CAPABILITIES_REPORT
/**
* Volumetric extrusion default state
* Activate to make volumetric extrusion the default method,
* with DEFAULT_NOMINAL_FILAMENT_DIA as the default diameter.
*
* M200 D0 to disable, M200 Dn to set a new diameter.
*/
//#define VOLUMETRIC_DEFAULT_ON
#endif // CONFIGURATION_ADV_H

Loading…
Cancel
Save