Prusa Slicer 2.6.0
Loading...
Searching...
No Matches
Slic3r::sla::SupportTreeConfig Struct Reference

#include <src/libslic3r/SLA/SupportTree.hpp>

Public Member Functions

double head_fullwidth () const
 
double safety_distance () const
 
double safety_distance (double r) const
 

Public Attributes

bool enabled = true
 
SupportTreeType tree_type = SupportTreeType::Default
 
double head_front_radius_mm = 0.2
 
double head_penetration_mm = 0.5
 
double head_back_radius_mm = 0.5
 
double head_fallback_radius_mm = 0.25
 
double head_width_mm = 1.0
 
PillarConnectionMode pillar_connection_mode = PillarConnectionMode::dynamic
 
bool ground_facing_only = false
 
double pillar_widening_factor = .5
 
double base_radius_mm = 2.0
 
double base_height_mm = 1.0
 
double bridge_slope = M_PI/4
 
double max_bridge_length_mm = 10.0
 
double max_pillar_link_distance_mm = 10.0
 
double object_elevation_mm = 10
 
double pillar_base_safety_distance_mm = 0.5
 
unsigned max_bridges_on_pillar = 3
 
double max_weight_on_model_support = 10.f
 

Static Public Attributes

static const double constexpr normal_cutoff_angle = 150.0 * M_PI / 180.0
 
static const double constexpr safety_distance_mm = 0.5
 
static const double constexpr max_solo_pillar_height_mm = 15.0
 
static const double constexpr max_dual_pillar_height_mm = 35.0
 
static const double constexpr optimizer_rel_score_diff = 1e-10
 
static const unsigned constexpr optimizer_max_iterations = 2000
 
static const unsigned constexpr pillar_cascade_neighbors = 3
 

Detailed Description

Member Function Documentation

◆ head_fullwidth()

double Slic3r::sla::SupportTreeConfig::head_fullwidth ( ) const
inline
80 {
83 }
double head_back_radius_mm
Definition SupportTree.hpp:34
double head_front_radius_mm
Definition SupportTree.hpp:28
double head_penetration_mm
Definition SupportTree.hpp:31
double head_width_mm
Definition SupportTree.hpp:39

References head_back_radius_mm, head_front_radius_mm, head_penetration_mm, and head_width_mm.

Referenced by Slic3r::SLAPrint::validate().

+ Here is the caller graph for this function:

◆ safety_distance() [1/2]

double Slic3r::sla::SupportTreeConfig::safety_distance ( ) const
inline
85{ return safety_distance_mm; }
static const double constexpr safety_distance_mm
Definition SupportTree.hpp:101

References safety_distance_mm.

Referenced by Slic3r::sla::check_ground_route(), Slic3r::sla::optimize_anchor_placement(), Slic3r::sla::optimize_pinhead_placement(), and Slic3r::sla::search_widening_path().

+ Here is the caller graph for this function:

◆ safety_distance() [2/2]

double Slic3r::sla::SupportTreeConfig::safety_distance ( double  r) const
inline

Member Data Documentation

◆ base_height_mm

◆ base_radius_mm

◆ bridge_slope

◆ enabled

bool Slic3r::sla::SupportTreeConfig::enabled = true

◆ ground_facing_only

◆ head_back_radius_mm

◆ head_fallback_radius_mm

◆ head_front_radius_mm

◆ head_penetration_mm

◆ head_width_mm

◆ max_bridge_length_mm

◆ max_bridges_on_pillar

unsigned Slic3r::sla::SupportTreeConfig::max_bridges_on_pillar = 3

◆ max_dual_pillar_height_mm

const double constexpr Slic3r::sla::SupportTreeConfig::max_dual_pillar_height_mm = 35.0
staticconstexpr

◆ max_pillar_link_distance_mm

double Slic3r::sla::SupportTreeConfig::max_pillar_link_distance_mm = 10.0

◆ max_solo_pillar_height_mm

const double constexpr Slic3r::sla::SupportTreeConfig::max_solo_pillar_height_mm = 15.0
staticconstexpr

◆ max_weight_on_model_support

double Slic3r::sla::SupportTreeConfig::max_weight_on_model_support = 10.f

◆ normal_cutoff_angle

const double constexpr Slic3r::sla::SupportTreeConfig::normal_cutoff_angle = 150.0 * M_PI / 180.0
staticconstexpr

◆ object_elevation_mm

◆ optimizer_max_iterations

const unsigned constexpr Slic3r::sla::SupportTreeConfig::optimizer_max_iterations = 2000
staticconstexpr

◆ optimizer_rel_score_diff

const double constexpr Slic3r::sla::SupportTreeConfig::optimizer_rel_score_diff = 1e-10
staticconstexpr

◆ pillar_base_safety_distance_mm

double Slic3r::sla::SupportTreeConfig::pillar_base_safety_distance_mm = 0.5

◆ pillar_cascade_neighbors

const unsigned constexpr Slic3r::sla::SupportTreeConfig::pillar_cascade_neighbors = 3
staticconstexpr

◆ pillar_connection_mode

PillarConnectionMode Slic3r::sla::SupportTreeConfig::pillar_connection_mode = PillarConnectionMode::dynamic

◆ pillar_widening_factor

double Slic3r::sla::SupportTreeConfig::pillar_widening_factor = .5

◆ safety_distance_mm

◆ tree_type

SupportTreeType Slic3r::sla::SupportTreeConfig::tree_type = SupportTreeType::Default

The documentation for this struct was generated from the following file: