mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-24 23:23:59 -06:00
Improvements in the manual layer width editor.
This commit is contained in:
parent
955bc957ba
commit
479f716625
4 changed files with 178 additions and 83 deletions
|
@ -103,13 +103,21 @@ extern std::vector<coordf_t> layer_height_profile_adaptive(
|
|||
const t_layer_height_ranges &layer_height_ranges,
|
||||
const ModelVolumePtrs &volumes);
|
||||
|
||||
|
||||
enum LayerHeightEditActionType {
|
||||
LAYER_HEIGHT_EDIT_ACTION_INCREASE = 0,
|
||||
LAYER_HEIGHT_EDIT_ACTION_DECREASE = 1,
|
||||
LAYER_HEIGHT_EDIT_ACTION_REDUCE = 2,
|
||||
LAYER_HEIGHT_EDIT_ACTION_SMOOTH = 3
|
||||
};
|
||||
|
||||
extern void adjust_layer_height_profile(
|
||||
const SlicingParameters &slicing_params,
|
||||
std::vector<coordf_t> &layer_height_profile,
|
||||
coordf_t z,
|
||||
coordf_t layer_thickness_delta,
|
||||
coordf_t band_width,
|
||||
int action);
|
||||
LayerHeightEditActionType action);
|
||||
|
||||
// Produce object layers as pairs of low / high layer boundaries, stored into a linear vector.
|
||||
// The object layers are based at z=0, ignoring the raft layers.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue