OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
Slic3r::orientation::OrientParams Struct Reference

#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/libslic3r/Orient.hpp>

Public Member Functions

 OrientParams ()=default

Public Attributes

float TAR_A { 0.01f }
float TAR_B { 0.177f }
float RELATIVE_F { 6.610621027964314f }
float CONTOUR_F { 0.23228623269775997f }
float BOTTOM_F { 1.167152017941474f }
float BOTTOM_HULL_F { 0.1f }
float TAR_C { 0.24308070476924726f }
float TAR_D { 0.6284515508160871f }
float TAR_E { 0}
float FIRST_LAY_H { 0.2f}
float VECTOR_TOL { -0.0011163303070972383f }
float NEGL_FACE_SIZE { 0.1f }
float ASCENT { -0.5f }
float PLAFOND_ADV { 0.04079208948120519f }
float CONTOUR_AMOUNT { 0.0101472219892684f }
float OV_H { 1.0370178217794535f }
float height_offset { 2.7417608343142073f }
float height_log { 0.06442030687034085f }
float height_log_k { 0.3933594673063997f }
float LAF_MAX { 0.999f }
float LAF_MIN { 0.9703f }
float TAR_LAF { 0.01f }
float TAR_PROJ_AREA { 0.1f }
float BOTTOM_MIN { 0.1f }
float BOTTOM_MAX { 2000 }
float height_to_bottom_hull_ratio_MIN { 1 }
float BOTTOM_HULL_MAX { 2000 }
float APPERANCE_FACE_SUPP { 3 }
float overhang_angle { 60.f }
bool use_low_angle_face { true }
bool min_volume { false }
Eigen::Vector3f fun_dir {}
bool parallel { false }
 Allow parallel execution.
std::function< void(unsigned, std::string)> progressind {}
 Progress indicator callback called when an object gets packed. The unsigned argument is the number of items remaining to pack.
std::function< bool(void)> stopcondition {}
 A predicate returning true if abort is needed.

Detailed Description

Constructor & Destructor Documentation

◆ OrientParams()

Slic3r::orientation::OrientParams::OrientParams ( )
default

Member Data Documentation

◆ APPERANCE_FACE_SUPP

float Slic3r::orientation::OrientParams::APPERANCE_FACE_SUPP { 3 }
88{ 3 }; // penalty of generating supports on appearance face

Referenced by Slic3r::GUI::setMinimalSupportAreaPrams().

◆ ASCENT

float Slic3r::orientation::OrientParams::ASCENT { -0.5f }
73{ -0.5f };

Referenced by Slic3r::GUI::setMinimalSupportAreaPrams().

◆ BOTTOM_F

float Slic3r::orientation::OrientParams::BOTTOM_F { 1.167152017941474f }
65{ 1.167152017941474f };

Referenced by Slic3r::GUI::setMinimalSupportAreaPrams().

◆ BOTTOM_HULL_F

float Slic3r::orientation::OrientParams::BOTTOM_HULL_F { 0.1f }
66{ 0.1f };

Referenced by Slic3r::GUI::setMinimalSupportAreaPrams().

◆ BOTTOM_HULL_MAX

float Slic3r::orientation::OrientParams::BOTTOM_HULL_MAX { 2000 }
87{ 2000 }; // max bottom hull area to clip //600

Referenced by Slic3r::GUI::setMinimalSupportAreaPrams().

◆ BOTTOM_MAX

float Slic3r::orientation::OrientParams::BOTTOM_MAX { 2000 }
85{ 2000 }; // 400

Referenced by Slic3r::GUI::setMinimalSupportAreaPrams().

◆ BOTTOM_MIN

float Slic3r::orientation::OrientParams::BOTTOM_MIN { 0.1f }
84{ 0.1f }; // min bottom area. If lower than it the objects may be unstable

Referenced by Slic3r::GUI::setMinimalSupportAreaPrams().

◆ CONTOUR_AMOUNT

float Slic3r::orientation::OrientParams::CONTOUR_AMOUNT { 0.0101472219892684f }
75{ 0.0101472219892684f };

Referenced by Slic3r::GUI::setMinimalSupportAreaPrams().

◆ CONTOUR_F

float Slic3r::orientation::OrientParams::CONTOUR_F { 0.23228623269775997f }
64{ 0.23228623269775997f };

Referenced by Slic3r::GUI::setMinimalSupportAreaPrams().

◆ FIRST_LAY_H

float Slic3r::orientation::OrientParams::FIRST_LAY_H { 0.2f}

◆ fun_dir

Eigen::Vector3f Slic3r::orientation::OrientParams::fun_dir {}

◆ height_log

float Slic3r::orientation::OrientParams::height_log { 0.06442030687034085f }
78{ 0.06442030687034085f };

Referenced by Slic3r::GUI::setMinimalSupportAreaPrams().

◆ height_log_k

float Slic3r::orientation::OrientParams::height_log_k { 0.3933594673063997f }
79{ 0.3933594673063997f };

Referenced by Slic3r::GUI::setMinimalSupportAreaPrams().

◆ height_offset

float Slic3r::orientation::OrientParams::height_offset { 2.7417608343142073f }
77{ 2.7417608343142073f };

Referenced by Slic3r::GUI::setMinimalSupportAreaPrams().

◆ height_to_bottom_hull_ratio_MIN

float Slic3r::orientation::OrientParams::height_to_bottom_hull_ratio_MIN { 1 }

◆ LAF_MAX

float Slic3r::orientation::OrientParams::LAF_MAX { 0.999f }
80{ 0.999f }; // cos(1.4\degree) for low angle face //0.9997f;

Referenced by Slic3r::GUI::setMinimalSupportAreaPrams().

◆ LAF_MIN

float Slic3r::orientation::OrientParams::LAF_MIN { 0.9703f }
81{ 0.9703f }; // cos(14\degree) 0.9703f;

Referenced by Slic3r::GUI::setMinimalSupportAreaPrams().

◆ min_volume

bool Slic3r::orientation::OrientParams::min_volume { false }

◆ NEGL_FACE_SIZE

float Slic3r::orientation::OrientParams::NEGL_FACE_SIZE { 0.1f }
72{ 0.1f };

Referenced by Slic3r::GUI::setMinimalSupportAreaPrams().

◆ OV_H

float Slic3r::orientation::OrientParams::OV_H { 1.0370178217794535f }
76{ 1.0370178217794535f };

Referenced by Slic3r::GUI::setMinimalSupportAreaPrams().

◆ overhang_angle

float Slic3r::orientation::OrientParams::overhang_angle { 60.f }
90{ 60.f };

Referenced by Slic3r::GUI::setMinimalSupportAreaPrams().

◆ parallel

bool Slic3r::orientation::OrientParams::parallel { false }

Allow parallel execution.

96{ false };

Referenced by Slic3r::orientation::_orient(), and Slic3r::GUI::setMinimalSupportAreaPrams().

◆ PLAFOND_ADV

float Slic3r::orientation::OrientParams::PLAFOND_ADV { 0.04079208948120519f }
74{ 0.04079208948120519f };

Referenced by Slic3r::GUI::setMinimalSupportAreaPrams().

◆ progressind

std::function<void(unsigned, std::string)> Slic3r::orientation::OrientParams::progressind {}

Progress indicator callback called when an object gets packed. The unsigned argument is the number of items remaining to pack.

100{};

Referenced by Slic3r::orientation::orient(), Slic3r::GUI::OrientJob::process(), and Slic3r::GUI::setMinimalSupportAreaPrams().

◆ RELATIVE_F

float Slic3r::orientation::OrientParams::RELATIVE_F { 6.610621027964314f }
63{ 6.610621027964314f };

Referenced by Slic3r::GUI::setMinimalSupportAreaPrams().

◆ stopcondition

std::function<bool(void)> Slic3r::orientation::OrientParams::stopcondition {}

A predicate returning true if abort is needed.

103{};

Referenced by Slic3r::orientation::orient(), Slic3r::GUI::OrientJob::process(), and Slic3r::GUI::setMinimalSupportAreaPrams().

◆ TAR_A

float Slic3r::orientation::OrientParams::TAR_A { 0.01f }
61{ 0.01f }; // 0.128f;

Referenced by Slic3r::GUI::setMinimalSupportAreaPrams().

◆ TAR_B

float Slic3r::orientation::OrientParams::TAR_B { 0.177f }
62{ 0.177f };

Referenced by Slic3r::GUI::setMinimalSupportAreaPrams().

◆ TAR_C

float Slic3r::orientation::OrientParams::TAR_C { 0.24308070476924726f }
67{ 0.24308070476924726f };

Referenced by Slic3r::GUI::setMinimalSupportAreaPrams().

◆ TAR_D

float Slic3r::orientation::OrientParams::TAR_D { 0.6284515508160871f }
68{ 0.6284515508160871f };

Referenced by Slic3r::GUI::setMinimalSupportAreaPrams().

◆ TAR_E

float Slic3r::orientation::OrientParams::TAR_E { 0}
69{ 0}; // 0.032157292647062234;

Referenced by Slic3r::GUI::setMinimalSupportAreaPrams().

◆ TAR_LAF

float Slic3r::orientation::OrientParams::TAR_LAF { 0.01f }
82{ 0.01f }; // 0.1f

Referenced by Slic3r::GUI::setMinimalSupportAreaPrams().

◆ TAR_PROJ_AREA

float Slic3r::orientation::OrientParams::TAR_PROJ_AREA { 0.1f }
83{ 0.1f };

Referenced by Slic3r::GUI::setMinimalSupportAreaPrams().

◆ use_low_angle_face

bool Slic3r::orientation::OrientParams::use_low_angle_face { true }
91{ true };

Referenced by Slic3r::GUI::setMinimalSupportAreaPrams().

◆ VECTOR_TOL

float Slic3r::orientation::OrientParams::VECTOR_TOL { -0.0011163303070972383f }
71{ -0.0011163303070972383f };

Referenced by Slic3r::GUI::setMinimalSupportAreaPrams().


The documentation for this struct was generated from the following file:
  • /home/runner/work/OrcaSlicer/OrcaSlicer/src/libslic3r/Orient.hpp