-
-
Notifications
You must be signed in to change notification settings - Fork 891
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bfbd3a2
commit be09f20
Showing
5 changed files
with
367 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
// Copyright (c) 2024 UltiMaker | ||
// CuraEngine is released under the terms of the AGPLv3 or higher | ||
|
||
#pragma once | ||
|
||
#include <utils/Coord_t.h> | ||
|
||
#include "feature_generation/MeshFeatureGenerator.h" | ||
|
||
namespace cura | ||
{ | ||
|
||
enum class EFillMethod; | ||
enum class PrintFeatureType : unsigned char; | ||
struct GCodePathConfig; | ||
struct Ratio; | ||
class AngleDegrees; | ||
class SkinPart; | ||
class Shape; | ||
|
||
class MeshSkinGenerator : public MeshFeatureGenerator | ||
{ | ||
public: | ||
explicit MeshSkinGenerator(const std::shared_ptr<SliceMeshStorage>& mesh); | ||
|
||
protected: | ||
void generateFeatures(const SliceDataStorage& storage, const LayerPlanPtr& layer_plan, const std::vector<ExtruderPlanPtr>& extruder_plans, const SliceLayerPart& part) | ||
const override; | ||
|
||
private: | ||
void processRoofing(const LayerPlanPtr& layer_plan, const SkinPart& skin_part, const ExtruderPlanPtr& extruder_plan) const; | ||
|
||
void processTopBottom(const SliceDataStorage& storage, const LayerPlanPtr& layer_plan, const SkinPart& skin_part, const ExtruderPlanPtr& extruder_plan) const; | ||
|
||
void processSkinPrintFeature( | ||
const LayerPlanPtr& layer_plan, | ||
const Shape& area, | ||
const GCodePathConfig& config, | ||
EFillMethod pattern, | ||
const AngleDegrees skin_angle, | ||
const Ratio skin_density, | ||
const PrintFeatureType feature_type, | ||
const ExtruderPlanPtr& extruder_plan) const; | ||
}; | ||
|
||
} // namespace cura |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.