Skip to content

Commit

Permalink
Applied clang-format.
Browse files Browse the repository at this point in the history
  • Loading branch information
rburema authored and github-actions[bot] committed Oct 25, 2023
1 parent 78fcc88 commit 54edc02
Show file tree
Hide file tree
Showing 8 changed files with 59 additions and 59 deletions.
6 changes: 3 additions & 3 deletions include/FffGcodeWriter.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
#ifndef GCODE_WRITER_H
#define GCODE_WRITER_H

#include <fstream>
#include <optional>

#include "FanSpeedLayerTime.h"
#include "LayerPlanBuffer.h"
#include "gcodeExport.h"
Expand All @@ -12,9 +15,6 @@
#include "utils/ExtrusionLine.h" //Processing variable-width paths.
#include "utils/NoCopy.h"

#include <fstream>
#include <optional>

namespace cura
{

Expand Down
4 changes: 2 additions & 2 deletions include/SupportInfillPart.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
#ifndef SUPPORT_INFILL_PART_H
#define SUPPORT_INFILL_PART_H

#include <vector>

#include "utils/AABB.h"
#include "utils/ExtrusionLine.h"
#include "utils/polygon.h"

#include <vector>


namespace cura
{
Expand Down
6 changes: 3 additions & 3 deletions include/pathPlanning/GCodePath.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@
#ifndef PATH_PLANNING_G_CODE_PATH_H
#define PATH_PLANNING_G_CODE_PATH_H

#include <memory>
#include <vector>

#include "GCodePathConfig.h"
#include "SpaceFillType.h"
#include "TimeMaterialEstimates.h"
#include "settings/types/Ratio.h"
#include "sliceDataStorage.h"
#include "utils/IntPoint.h"

#include <memory>
#include <vector>

namespace cura
{

Expand Down
4 changes: 2 additions & 2 deletions include/settings/PathConfigStorage.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
#ifndef SETTINGS_PATH_CONFIGS_H
#define SETTINGS_PATH_CONFIGS_H

#include <vector>

#include "GCodePathConfig.h"
#include "pathPlanning/SpeedDerivatives.h"
#include "settings/MeshPathConfigs.h"
#include "settings/types/LayerIndex.h"
#include "utils/Coord_t.h"

#include <vector>

namespace cura
{

Expand Down
18 changes: 9 additions & 9 deletions src/LayerPlan.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,15 @@

#include "LayerPlan.h"

#include <algorithm>
#include <cstring>
#include <numeric>
#include <optional>

#include <range/v3/algorithm/max_element.hpp>
#include <scripta/logger.h>
#include <spdlog/spdlog.h>

#include "Application.h" //To communicate layer view data.
#include "ExtruderTrain.h"
#include "PathOrderMonotonic.h" //Monotonic ordering of skin lines.
Expand All @@ -20,15 +29,6 @@
#include "utils/polygonUtils.h"
#include "utils/section_type.h"

#include <range/v3/algorithm/max_element.hpp>
#include <scripta/logger.h>
#include <spdlog/spdlog.h>

#include <algorithm>
#include <cstring>
#include <numeric>
#include <optional>

namespace cura
{

Expand Down
28 changes: 14 additions & 14 deletions src/TreeSupport.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,20 @@

#include "TreeSupport.h"

#include <chrono>
#include <fstream>
#include <optional>
#include <stdio.h>
#include <string>
#include <thread>

#include <range/v3/view/drop_last.hpp>
#include <range/v3/view/enumerate.hpp>
#include <range/v3/view/iota.hpp>
#include <range/v3/view/reverse.hpp>
#include <scripta/logger.h>
#include <spdlog/spdlog.h>

#include "Application.h" //To get settings.
#include "TreeSupportTipGenerator.h"
#include "TreeSupportUtils.h"
Expand All @@ -18,20 +32,6 @@
#include "utils/polygonUtils.h" //For moveInside.
#include "utils/section_type.h"

#include <range/v3/view/drop_last.hpp>
#include <range/v3/view/enumerate.hpp>
#include <range/v3/view/iota.hpp>
#include <range/v3/view/reverse.hpp>
#include <scripta/logger.h>
#include <spdlog/spdlog.h>

#include <chrono>
#include <fstream>
#include <optional>
#include <stdio.h>
#include <string>
#include <thread>

namespace cura
{

Expand Down
22 changes: 11 additions & 11 deletions src/TreeSupportTipGenerator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,17 @@

#include "TreeSupportTipGenerator.h"

#include <chrono>
#include <fstream>
#include <stdio.h>
#include <string>

#include <range/v3/view/drop_last.hpp>
#include <range/v3/view/enumerate.hpp>
#include <range/v3/view/iota.hpp>
#include <range/v3/view/reverse.hpp>
#include <spdlog/spdlog.h>

#include "Application.h" //To get settings.
#include "TreeSupportUtils.h"
#include "infill/SierpinskiFillProvider.h"
Expand All @@ -13,17 +24,6 @@
#include "utils/math.h" //For round_up_divide and PI.
#include "utils/polygonUtils.h" //For moveInside.

#include <range/v3/view/drop_last.hpp>
#include <range/v3/view/enumerate.hpp>
#include <range/v3/view/iota.hpp>
#include <range/v3/view/reverse.hpp>
#include <spdlog/spdlog.h>

#include <chrono>
#include <fstream>
#include <stdio.h>
#include <string>


namespace cura
{
Expand Down
30 changes: 15 additions & 15 deletions src/support.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,21 @@

#include "support.h"

#include <cmath> // sqrt, round
#include <deque>
#include <fstream> // ifstream.good()
#include <utility> // pair

#include <range/v3/numeric/accumulate.hpp>
#include <range/v3/view/drop.hpp>
#include <range/v3/view/drop_last.hpp>
#include <range/v3/view/enumerate.hpp>
#include <range/v3/view/filter.hpp>
#include <range/v3/view/slice.hpp>
#include <range/v3/view/zip.hpp>
#include <scripta/logger.h>
#include <spdlog/spdlog.h>

#include "Application.h" //To get settings.
#include "BoostInterface.hpp"
#include "ExtruderTrain.h"
Expand All @@ -24,21 +39,6 @@
#include "utils/math.h"
#include "utils/views/get.h"

#include <range/v3/numeric/accumulate.hpp>
#include <range/v3/view/drop.hpp>
#include <range/v3/view/drop_last.hpp>
#include <range/v3/view/enumerate.hpp>
#include <range/v3/view/filter.hpp>
#include <range/v3/view/slice.hpp>
#include <range/v3/view/zip.hpp>
#include <scripta/logger.h>
#include <spdlog/spdlog.h>

#include <cmath> // sqrt, round
#include <deque>
#include <fstream> // ifstream.good()
#include <utility> // pair

namespace cura
{

Expand Down

0 comments on commit 54edc02

Please sign in to comment.