OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
TreeSupportCommon.hpp File Reference
#include "../libslic3r.h"
#include "../Polygon.hpp"
#include "libslic3r/PrintConfig.hpp"
#include "libslic3r/Slicing.hpp"
#include "libslic3r/Print.hpp"
#include "libslic3r/Flow.hpp"
#include "libslic3r/Point.hpp"
#include "libslic3r/Support/SupportParameters.hpp"
#include "libslic3r/Support/SupportLayer.hpp"
#include "SupportCommon.hpp"
#include "libslic3r/Utils.hpp"
#include <algorithm>
#include <cstddef>
#include <math.h>
#include <cmath>
#include <limits>
#include <cassert>
#include <cstdio>
#include <iterator>
#include <mutex>
#include <string_view>
#include <vector>
#include <utility>
Include dependency graph for TreeSupportCommon.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Slic3r::TreeSupport3D::TreeSupportMeshGroupSettings
struct  Slic3r::TreeSupport3D::TreeSupportSettings
 This struct contains settings used in the tree support. Thanks to this most functions do not need to know of meshes etc. Also makes the code shorter. More...
class  Slic3r::TreeSupport3D::InterfacePlacer

Namespaces

namespace  Slic3r
 |/ Copyright (c) Prusa Research 2020 - 2023 Enrico Turri @enricoturri1966 |/ |/ PrusaSlicer is released under the terms of the AGPLv3 or higher |/
namespace  Slic3r::TreeSupport3D

Typedefs

using Slic3r::TreeSupport3D::LayerIndex = int

Enumerations

enum class  Slic3r::TreeSupport3D::InterfacePreference {
  Slic3r::TreeSupport3D::InterfaceAreaOverwritesSupport , Slic3r::TreeSupport3D::SupportAreaOverwritesInterface , Slic3r::TreeSupport3D::InterfaceLinesOverwriteSupport , Slic3r::TreeSupport3D::SupportLinesOverwriteInterface ,
  Slic3r::TreeSupport3D::Nothing
}
enum class  Slic3r::TreeSupport3D::LineStatus {
  Slic3r::TreeSupport3D::INVALID , Slic3r::TreeSupport3D::TO_MODEL , Slic3r::TreeSupport3D::TO_MODEL_GRACIOUS , Slic3r::TreeSupport3D::TO_MODEL_GRACIOUS_SAFE ,
  Slic3r::TreeSupport3D::TO_BP , Slic3r::TreeSupport3D::TO_BP_SAFE
}

Functions

double Slic3r::TreeSupport3D::tiny_area_threshold ()
void Slic3r::TreeSupport3D::tree_supports_show_error (std::string_view message, bool critical)
double Slic3r::TreeSupport3D::layer_z (const SlicingParameters &slicing_params, const TreeSupportSettings &config, const size_t layer_idx)
double Slic3r::TreeSupport3D::first_object_support_layer_z (const SlicingParameters &slicing_params)
LayerIndex Slic3r::TreeSupport3D::layer_idx_ceil (const SlicingParameters &slicing_params, const TreeSupportSettings &config, const double z)
LayerIndex Slic3r::TreeSupport3D::layer_idx_floor (const SlicingParameters &slicing_params, const TreeSupportSettings &config, const double z)
SupportGeneratorLayer & Slic3r::TreeSupport3D::layer_initialize (SupportGeneratorLayer &layer_new, const SlicingParameters &slicing_params, const TreeSupportSettings &config, const size_t layer_idx)
SupportGeneratorLayer & Slic3r::TreeSupport3D::layer_allocate_unguarded (SupportGeneratorLayerStorage &layer_storage, SupporLayerType layer_type, const SlicingParameters &slicing_params, const TreeSupportSettings &config, size_t layer_idx)
SupportGeneratorLayer & Slic3r::TreeSupport3D::layer_allocate (SupportGeneratorLayerStorage &layer_storage, SupporLayerType layer_type, const SlicingParameters &slicing_params, const TreeSupportSettings &config, size_t layer_idx)

Variables

static constexpr const size_t Slic3r::SUPPORT_TREE_CIRCLE_RESOLUTION = 25