Prusa Slicer 2.6.0
Loading...
Searching...
No Matches
libslic3r.h File Reference
#include "libslic3r_version.h"
#include <memory>
#include <array>
#include <algorithm>
#include <ostream>
#include <iostream>
#include <math.h>
#include <queue>
#include <sstream>
#include <cstdio>
#include <stdint.h>
#include <stdarg.h>
#include <vector>
#include <cassert>
#include <cmath>
#include <type_traits>
#include <optional>
#include "Technologies.hpp"
#include "Semver.hpp"
+ Include dependency graph for libslic3r.h:

Go to the source code of this file.

Classes

struct  Slic3r::is_scaled_coord< I >
 
class  Slic3r::Range< It >
 

Namespaces

namespace  Slic3r
 

Macros

#define GCODEVIEWER_APP_NAME   "PrusaSlicer G-code Viewer"
 
#define GCODEVIEWER_APP_KEY   "PrusaSlicerGcodeViewer"
 
#define SMALL_PERIMETER_LENGTH   ((6.5 / SCALING_FACTOR) * 2 * PI)
 
#define scale_(val)   ((val) / SCALING_FACTOR)
 
#define SCALED_EPSILON   scale_(EPSILON)
 
#define UNUSED(x)   (void)(x)
 

Typedefs

using coord_t = int32_t
 
using coordf_t = double
 
template<class T , class Allocator = std::allocator<T>>
using Slic3r::deque = std::deque< T, Allocator >
 
template<class T , class O = T>
using Slic3r::FloatingOnly = std::enable_if_t< std::is_floating_point< T >::value, O >
 
template<class T , class O = T>
using Slic3r::ScaledCoordOnly = std::enable_if_t< is_scaled_coord< T >::value, O >
 
template<class T , class O = T>
using Slic3r::IntegerOnly = std::enable_if_t< std::is_integral< T >::value, O >
 
template<class T , class O = T>
using Slic3r::ArithmeticOnly = std::enable_if_t< std::is_arithmetic< T >::value, O >
 
template<class T , class O = T>
using Slic3r::IteratorOnly = std::enable_if_t< !std::is_same_v< typename std::iterator_traits< T >::value_type, void >, O >
 
template<class T >
using Slic3r::remove_cvref_t = std::remove_cv_t< std::remove_reference_t< T > >
 
template<class T >
using Slic3r::SamePair = std::pair< T, T >
 

Enumerations

enum  Slic3r::Axis {
  Slic3r::X =0 , Slic3r::Y , Slic3r::Z , Slic3r::E ,
  Slic3r::F , Slic3r::NUM_AXES , Slic3r::UNKNOWN_AXIS = NUM_AXES , Slic3r::NUM_AXES_WITH_UNKNOWN
}
 

Functions

template<typename T , typename Q >
Slic3r::unscale (Q v)
 
template<typename T , typename Alloc , typename Alloc2 >
void Slic3r::append (std::vector< T, Alloc > &dest, const std::vector< T, Alloc2 > &src)
 
template<typename T , typename Alloc >
void Slic3r::append (std::vector< T, Alloc > &dest, std::vector< T, Alloc > &&src)
 
template<class T , class... Args>
void Slic3r::clear_and_shrink (std::vector< T, Args... > &vec)
 
template<typename T >
void Slic3r::append_reversed (std::vector< T > &dest, const std::vector< T > &src)
 
template<typename T >
void Slic3r::append_reversed (std::vector< T > &dest, std::vector< T > &&src)
 
template<typename T_TO , typename T_FROM >
std::vector< T_TO > Slic3r::cast (const std::vector< T_FROM > &src)
 
template<typename T >
void Slic3r::remove_nulls (std::vector< T * > &vec)
 
template<typename T >
void Slic3r::sort_remove_duplicates (std::vector< T > &vec)
 
template<typename T , typename... Args>
std::unique_ptr< T > Slic3r::make_unique (Args &&... args)
 
template<class ForwardIt , class LowerThanKeyPredicate >
ForwardIt Slic3r::lower_bound_by_predicate (ForwardIt first, ForwardIt last, LowerThanKeyPredicate lower_than_key)
 
template<class ForwardIt , class T , class Compare = std::less<>>
ForwardIt Slic3r::binary_find (ForwardIt first, ForwardIt last, const T &value, Compare comp={})
 
template<class ForwardIt , class LowerThanKeyPredicate , class EqualToKeyPredicate >
ForwardIt Slic3r::binary_find_by_predicate (ForwardIt first, ForwardIt last, LowerThanKeyPredicate lower_thank_key, EqualToKeyPredicate equal_to_key)
 
template<typename ContainerType , typename ValueType >
bool Slic3r::contains (const ContainerType &c, const ValueType &v)
 
template<typename T >
bool Slic3r::contains (const std::initializer_list< T > &il, const T &v)
 
template<typename ContainerType , typename ValueType >
bool Slic3r::one_of (const ValueType &v, const ContainerType &c)
 
template<typename T >
bool Slic3r::one_of (const T &v, const std::initializer_list< T > &il)
 
template<typename T >
constexpr T Slic3r::sqr (T x)
 
template<typename T , typename Number >
constexpr T Slic3r::lerp (const T &a, const T &b, Number t)
 
template<typename Number >
constexpr bool Slic3r::is_approx (Number value, Number test_value, Number precision=EPSILON)
 
template<typename Number >
constexpr bool Slic3r::is_approx (const std::optional< Number > &value, const std::optional< Number > &test_value)
 
template<class T , class I , class... Args>
IntegerOnly< I, std::vector< T, Args... > > Slic3r::reserve_vector (I capacity)
 
template<class Cont >
auto Slic3r::range (Cont &&cont)
 
template<typename I >
IntegerOnly< I, I > Slic3r::fast_round_up (double a)
 

Variables

static constexpr double EPSILON = 1e-4
 
static constexpr double SCALING_FACTOR = 0.000001
 
static constexpr double PI = 3.141592653589793238
 
static constexpr double LOOP_CLIPPING_LENGTH_OVER_NOZZLE_DIAMETER = 0.15
 
static constexpr double INSET_OVERLAP_TOLERANCE = 0.4
 
static constexpr double EXTERNAL_INFILL_MARGIN = 3.
 
Semver Slic3r::SEMVER { SLIC3R_VERSION }
 
template<class T , class = FloatingOnly<T>>
constexpr T Slic3r::NaN = std::numeric_limits<T>::quiet_NaN()
 
constexpr float Slic3r::NaNf = NaN<float>
 
constexpr double Slic3r::NaNd = NaN<double>
 

Macro Definition Documentation

◆ GCODEVIEWER_APP_KEY

#define GCODEVIEWER_APP_KEY   "PrusaSlicerGcodeViewer"

◆ GCODEVIEWER_APP_NAME

#define GCODEVIEWER_APP_NAME   "PrusaSlicer G-code Viewer"

◆ scale_

#define scale_ (   val)    ((val) / SCALING_FACTOR)

◆ SCALED_EPSILON

#define SCALED_EPSILON   scale_(EPSILON)

◆ SMALL_PERIMETER_LENGTH

#define SMALL_PERIMETER_LENGTH   ((6.5 / SCALING_FACTOR) * 2 * PI)

◆ UNUSED

#define UNUSED (   x)    (void)(x)

Typedef Documentation

◆ coord_t

using coord_t = int32_t

◆ coordf_t

using coordf_t = double

Variable Documentation

◆ EPSILON

constexpr double EPSILON = 1e-4
staticconstexpr

Referenced by Slic3r::sla::Beam_< Samples >::Beam_(), Slic3r::GUI::GLGizmoCut3D::PartSelection::PartSelection(), Slic3r::PrintObject::PrintObject(), Slic3r::Geometry::TransformationSVD::TransformationSVD(), Slic3r::FFFTreeSupport::TreeSupportMeshGroupSettings::TreeSupportMeshGroupSettings(), Slic3r::FFFTreeSupport::TreeSupportSettings::TreeSupportSettings(), Slic3r::Fill::_adjust_solid_spacing(), Slic3r::GCode::_do_export(), Slic3r::_3MF_Importer::_extract_sla_support_points_from_archive(), Slic3r::GCode::_extrude(), Slic3r::FillGyroid::_fill_surface_single(), Slic3r::GUI::GLCanvas3D::_load_print_object_toolpaths(), Slic3r::Print::_make_wipe_tower(), Slic3r::GUI::GLCanvas3D::_mouse_to_bed_3d(), Slic3r::FillAdaptive::add_hook(), Slic3r::GUI::ObjectList::add_layer_range_after_current(), Slic3r::adjust_layer_height_profile(), Slic3r::Measure::angle_edge_edge(), Slic3r::MMU_Graph::append_voronoi_vertices(), Slic3r::Measure::are_parallel(), Slic3r::Measure::are_perpendicular(), Slic3r::arrangement::arrange(), Slic3r::LayerRanges::assign(), Slic3r::ToolOrdering::assign_custom_gcodes(), Slic3r::ModelObject::bake_xy_rotation_into_meshes(), Slic3r::PrintObjectSupportMaterial::bottom_contact_layers_and_layer_support_areas(), Slic3r::sla::anonymous_namespace{Pad.cpp}::breakstick_holes(), Slic3r::PrintObject::bridge_over_infill(), Slic3r::GUI::TabPrinter::build_extruder_pages(), Slic3r::GUI::TabPrinter::build_fff(), Slic3r::branchingtree::build_tree(), Slic3r::GUI::calc_surface_offset(), Slic3r::GUI::ObjectList::can_add_new_range_after_current(), Slic3r::Model::center_instances_around_point(), Slic3r::chain_monotonic_regions(), Slic3r::GUI::ObjectManipulation::change_position_value(), Slic3r::GUI::ObjectManipulation::change_rotation_value(), Slic3r::GUI::ObjectManipulation::change_scale_value(), Slic3r::GUI::ObjectManipulation::change_size_value(), Slic3r::SupportSpotsGenerator::check_extrusion_entity_stability(), Slic3r::sla::check_ground_route(), Slic3r::check_object_layers_fixed(), Slic3r::SupportSpotsGenerator::check_stability(), Slic3r::Geometry::circle_ransac(), Slic3r::ToolOrdering::collect_extruders(), Slic3r::GCode::collect_layers_to_print(), Slic3r::GCode::collect_layers_to_print(), Slic3r::PrintObject::combine_infill(), Slic3r::SupportSpotsGenerator::ObjectPart::compute_elastic_section_modulus(), Slic3r::compute_principal_components(), Slic3r::Geometry::contains_skew(), Slic3r::contour_distance(), Slic3r::FFFSupport::SupportGeneratorLayerExtruded::could_merge(), Slic3r::sla::create_ground_pillar(), Slic3r::sla::create_pad(), Slic3r::cut_mesh(), Slic3r::sla::deepsearch_ground_connection(), Slic3r::sla::deepsearch_ground_connection(), Slic3r::KDTreeIndirect< ANumDimensions, ACoordType, ACoordinateFn >::descent_mask(), Slic3r::Line::direction(), Slic3r::Geometry::directions_parallel(), Slic3r::Geometry::directions_perpendicular(), Slic3r::PrintObject::discover_vertical_shells(), Slic3r::FFFTreeSupport::discretize_circle(), Slic3r::GUI::ObjectList::edit_layer_range(), Slic3r::WipingExtrusions::ensure_perimeters_infills_order(), Slic3r::SupportSpotsGenerator::estimate_malformations(), Slic3r::estimate_points_properties(), Slic3r::ExtrusionQualityEstimator::estimate_speed_from_extrusion_quality(), Slic3r::SupportSpotsGenerator::estimate_supports_malformations(), Slic3r::client::InterpolateTableContext::evaluate(), Slic3r::WipeTower::extract_wipe_volumes(), Slic3r::WipeTowerWriter::extrude_explicit(), Slic3r::extruder_range_slow_down_non_proportional(), Slic3r::ToolOrdering::fill_wipe_tower_partitions(), Slic3r::filter_convex_concave_points_by_angle_threshold(), Slic3r::WipeTowerIntegration::finalize(), Slic3r::sla::find_merge_pt(), Slic3r::sla::find_min_z_height_rotation(), Slic3r::WipeTower::finish_layer(), Slic3r::Voronoi::detail::first_circle_segment_intersection_parameter(), Slic3r::branchingtree::PointCloud::foreach_reachable(), Slic3r::PrintObjectSupportMaterial::generate(), Slic3r::FFFTreeSupport::generate_initial_areas(), Slic3r::sla::generate_interior(), Slic3r::generate_layer_height_texture(), Slic3r::generate_object_layers(), Slic3r::FFFSupport::generate_raft_base(), Slic3r::FFFTreeSupport::generate_raft_contact(), Slic3r::FFFTreeSupport::generate_support_areas(), Slic3r::FFFSupport::generate_support_layers(), Slic3r::get_boundary(), Slic3r::get_boundary_external(), Slic3r::sla::anonymous_namespace{Rotfinder.cpp}::get_chull_rotations(), Slic3r::GLVolumeCollection::get_current_print_zs(), Slic3r::sla::DrainHole::get_intersections(), Slic3r::GUI::get_max_layer_height(), Slic3r::Measure::get_measurement(), Slic3r::sla::get_mesh(), Slic3r::get_perimeter_spacing_external(), Slic3r::GUI::GLGizmoPainterBase::get_projected_mouse_positions(), Slic3r::branchingtree::get_support_cone_bb(), Slic3r::GUI::MeshRaycaster::get_unobscured_idxs(), Slic3r::group_fills(), Slic3r::FFFTreeSupport::group_meshes(), Slic3r::sla::hollow_mesh_and_drill(), Slic3r::ToolOrdering::initialize_layers(), Slic3r::FillAdaptive::Octree::insert_triangle(), Slic3r::sla::DefaultSupportTree::interconnect_pillars(), Slic3r::line_alg::intersection(), Slic3r::Line::intersection_infinite(), Slic3r::sla::DrainHole::is_inside(), Slic3r::sla::anonymous_namespace{Rotfinder.cpp}::is_on_floor(), Slic3r::GUI::is_rotation_xy_synchronized(), Slic3r::SupportSpotsGenerator::ObjectPart::is_stable_while_extruding(), Slic3r::is_stick(), Slic3r::layer_height_profile_adaptive(), Slic3r::layer_height_profile_from_ranges(), Slic3r::layer_height_ranges_copy_configs(), Slic3r::layer_height_ranges_equal(), Slic3r::lerp(), Slic3r::lerp(), Slic3r::GUI::GCodeViewer::load_toolpaths(), Slic3r::Model::looks_like_multipart_object(), Slic3r::FillAdaptive::make_cubes_properties(), Slic3r::make_gyroid_waves(), Slic3r::make_loops(), Slic3r::make_one_period(), Slic3r::LayerRegion::make_perimeters(), Slic3r::Skirt::make_skirt_loops_per_extruder_other_layers(), Slic3r::make_support_cfg(), Slic3r::make_wave(), Slic3r::ToolOrdering::mark_skirt_layers(), Slic3r::WipingExtrusions::mark_wiping_extrusions(), Slic3r::merge_contact_layers(), Slic3r::Layer::merged(), Slic3r::GUI::GLGizmoRotate::mouse_position_in_local_plane(), Slic3r::new_contact_layer(), Slic3r::new_feedrate_to_reach_time_stretch(), Slic3r::SlicingAdaptive::next_layer_height(), Slic3r::Voronoi::offset(), Slic3r::GUI::GLCanvas3D::on_mouse(), Slic3r::GUI::GLGizmoRotate::on_render(), Slic3r::GUI::GLGizmoMeasure::on_render_input_window(), Slic3r::AntPathMatrix::operator()(), Slic3r::GUI::Rect::operator==(), Slic3r::sla::SupportPoint::operator==(), Slic3r::Measure::SurfaceFeature::operator==(), Slic3r::sla::optimize_pinhead_placement(), Slic3r::Line::parallel_to(), Slic3r::Line::perpendicular_to(), Slic3r::SeamPlacer::place_seam(), Slic3r::GCodeProcessor::process_G1(), Slic3r::GCodeProcessor::process_G2_G3(), Slic3r::PrintObjectSupportMaterial::raft_and_intermediate_support_layers(), Slic3r::Geometry::ray_ray_intersection(), Slic3r::GUI::Camera::recover_from_free_camera(), Slic3r::GUI::GCodeViewer::refresh_render_paths(), Slic3r::GUI::GLCanvas3D::reload_scene(), Slic3r::LinesBucketQueue::removeLowests(), Slic3r::GUI::GLGizmoRotate::render_angle_arc(), Slic3r::GUI::GLGizmoPainterBase::render_cursor_circle(), Slic3r::GUI::GLGizmoMeasure::render_dimensioning(), Slic3r::reorder_by_two_exchanges_with_segment_flipping(), Slic3r::GCodeWriter::retract(), Slic3r::GCodeWriter::retract_for_toolchange(), Slic3r::GUI::Camera::rotate_local_around_target(), Slic3r::Geometry::rotation_diff_z(), Slic3r::TriangleSelector::seed_fill_select_triangles(), Slic3r::Geometry::segment_segment_intersection(), Slic3r::Print::sequential_print_horizontal_clearance_valid(), Slic3r::GUI::GLGizmoRotate::set_angle(), Slic3r::Extruder::set_retracted(), Slic3r::slice_mesh_slabs(), Slic3r::slice_volumes_inner(), Slic3r::slices_to_regions(), Slic3r::PerExtruderAdjustments::slow_down_to_feedrate(), Slic3r::FFFTreeSupport::smooth_trees_inside_influence_areas(), Slic3r::Layer::sort_perimeters_into_islands(), Slic3r::SLAPrint::Steps::support_tree(), Slic3r::PerimeterGenerator::thick_polyline_to_multi_path(), Slic3r::PerExtruderAdjustments::time_stretch_when_slowing_down_to_feedrate(), Slic3r::WipeTower::toolchange_Wipe(), Slic3r::ToolOrdering::tools_for_layer(), Slic3r::Geometry::trafos_differ_in_rotation_by_z_and_mirroring_by_xy_only(), Slic3r::trafos_differ_in_rotation_by_z_and_mirroring_by_xy_only(), Slic3r::transformed_its_bbox2d(), Slic3r::transformed_its_bboxes_in_z_ranges(), Slic3r::GCodeWriter::travel_to_xyz(), Slic3r::GCodeWriter::travel_to_z(), Slic3r::FFFSupport::tree_supports_generate_paths(), Slic3r::TriangleSelector::triangle_midpoint_or_allocate(), Slic3r::PrintObjectSupportMaterial::trim_support_layers_by_object(), Slic3r::sla::SupportPointGenerator::uniformly_cover(), Slic3r::GUI::ObjectManipulation::update_if_dirty(), Slic3r::PresetBundle::update_multi_material_filament_presets(), Slic3r::GCodeWriter::update_position(), Slic3r::GUI::ConfigManipulation::update_print_fff_config(), Slic3r::GUI::ObjectManipulation::update_reset_buttons_visibility(), Slic3r::GUI::GLCanvas3D::update_sequential_clearance(), Slic3r::update_volume_bboxes(), Slic3r::validate(), Slic3r::Print::validate(), Slic3r::TriangleSelector::verify_triangle_midpoints(), Slic3r::Wipe::wipe(), and Slic3r::Flow::with_cross_section().

◆ EXTERNAL_INFILL_MARGIN

constexpr double EXTERNAL_INFILL_MARGIN = 3.
staticconstexpr

◆ INSET_OVERLAP_TOLERANCE

constexpr double INSET_OVERLAP_TOLERANCE = 0.4
staticconstexpr

◆ LOOP_CLIPPING_LENGTH_OVER_NOZZLE_DIAMETER

constexpr double LOOP_CLIPPING_LENGTH_OVER_NOZZLE_DIAMETER = 0.15
staticconstexpr

◆ PI

constexpr double PI = 3.141592653589793238
staticconstexpr

Referenced by Slic3r::GUI::SceneRaycaster::SceneRaycaster(), Slic3r::GUI::GLCanvas3D::_load_wipe_tower_toolpaths(), Slic3r::GCodeWriter::_retract(), Slic3r::sla::DefaultSupportTree::add_pinheads(), Slic3r::Measure::angle_edge_plane(), Slic3r::Geometry::angle_to_0_2PI(), Slic3r::MinAreaBoundigBox::angle_to_X(), igl::angular_distance(), Slic3r::GUI::Mouse3DController::State::apply(), Slic3r::BridgeDetector::bridge_direction_candidates(), Slic3r::SupportSpotsGenerator::build_object_part_from_slice(), Slic3r::SupportSpotsGenerator::check_stability(), Slic3r::GUI::circular_arrow(), Slic3r::compute_edge_length(), Slic3r::SeamPlacerImpl::compute_global_occlusion(), Slic3r::FillAdaptive::connect_lines_using_hooks(), Slic3r::sla::DefaultSupportTree::connect_to_model_body(), Slic3r::Arachne::SkeletalTrapezoidation::constructFromPolygons(), Slic3r::BridgeDetector::coverage(), Slic3r::sla::create_ground_pillar(), Slic3r::GUI::create_mesh(), Slic3r::sla::cylinder(), Slic3r::sla::deepsearch_ground_connection(), Slic3r::Geometry::deg2rad(), Slic3r::BridgeDetector::detect_angle(), Slic3r::GUI::diamond(), Slic3r::Line::direction(), Slic3r::Geometry::directions_parallel(), Slic3r::Geometry::directions_perpendicular(), Slic3r::GUI::GLGizmoCut3D::dragging_grabber_xy(), Slic3r::extract_colored_segments(), Slic3r::Extruder::filament_crossection(), Slic3r::arrangement::fill_config(), Slic3r::GUI::RotoptimizeJob::finalize(), Slic3r::sla::find_best_misalignment_rotation(), Slic3r::sla::find_least_supports_rotation(), Slic3r::GUI::GLGizmoCut3D::flip_cut_plane(), igl::gaussian_curvature(), Slic3r::ModelObject::get_connector_mesh(), Slic3r::sla::get_mesh(), Slic3r::branchingtree::get_support_cone_bb(), Slic3r::sla::anonymous_namespace{Rotfinder.cpp}::get_supportedness_score(), Slic3r::get_trapezoids2(), Slic3r::sla::halfcone(), Slic3r::GUI::Selection::init(), Slic3r::GUI::init_from_snap_radii(), Slic3r::GUI::GLGizmoCut3D::init_picking_models(), Slic3r::BridgeDetector::initialize(), Slic3r::sla::DefaultSupportTree::interconnect_pillars(), Slic3r::GUI::GLGizmoCut3D::is_outside_of_cut_contour(), Slic3r::Geometry::is_rotation_ninety_degrees(), Slic3r::its_make_cone(), Slic3r::its_make_cylinder(), Slic3r::its_make_frustum(), Slic3r::its_make_sphere(), Slic3r::GUI::GLGizmoRotate::local_transform(), Slic3r::make_fill_polylines(), Slic3r::make_pad_cfg(), Slic3r::make_support_cfg(), Slic3r::Flow::mm3_per_mm(), Slic3r::GUI::GLGizmoRotate::mouse_position_in_local_plane(), Slic3r::GUI::GLGizmoCut3D::mouse_position_in_local_plane(), Slic3r::multi_material_segmentation_by_painting(), Slic3r::GUI::GLGizmoRotate::on_dragging(), Slic3r::GUI::GLGizmoEmboss::on_init(), Slic3r::GUI::GLGizmoMove3D::on_init(), Slic3r::GUI::GLCanvas3D::on_mouse(), Slic3r::GUI::GLGizmoEmboss::on_mouse_for_rotation(), Slic3r::GUI::GLGizmoSlaSupports::on_render(), Slic3r::GUI::GLGizmoEmboss::on_stop_dragging(), Slic3r::sla::optimize_anchor_placement(), Slic3r::sla::optimize_pinhead_placement(), Slic3r::Line::orientation(), igl::per_corner_normals(), Slic3r::sla::pinhead(), Slic3r::GCodeProcessor::process_G2_G3(), Slic3r::GCodeProcessor::UsedFilaments::process_role_cache(), igl::quat_to_axis_angle(), igl::quat_to_axis_angle_deg(), Slic3r::Geometry::rad2deg(), igl::random_dir(), igl::random_dir_stratified(), Slic3r::GUI::GLGizmoBase::Grabber::render(), Slic3r::GUI::GLGizmoPainterBase::render_cursor_circle(), Slic3r::GUI::GLGizmoPainterBase::render_cursor_sphere(), Slic3r::GUI::GLGizmoCut3D::render_cut_plane_grabbers(), Slic3r::GUI::GLGizmoMeasure::render_dimensioning(), Slic3r::GUI::GCodeViewer::render_legend(), Slic3r::GUI::GLGizmoSlaSupports::render_points(), Slic3r::GUI::GLGizmoCut3D::render_rotation_snapping(), Slic3r::GUI::Selection::render_sidebar_position_hints(), Slic3r::GUI::Selection::render_sidebar_rotation_hints(), Slic3r::GUI::Selection::render_sidebar_scale_hints(), Slic3r::GUI::GLGizmoRotate::render_snap_radii(), Slic3r::ModelObject::reset_instance_transformation(), Slic3r::Flow::rounded_rectangle_extrusion_spacing(), Slic3r::Flow::rounded_rectangle_extrusion_width_from_spacing(), Slic3r::SeamPlacerImpl::sample_hemisphere_uniform(), Slic3r::branchingtree::sample_mesh(), Slic3r::SeamPlacerImpl::sample_power_cosine_hemisphere(), Slic3r::SeamPlacerImpl::sample_sphere_uniform(), Slic3r::sla::search_ground_route(), Slic3r::sla::search_widening_path(), Slic3r::GUI::GLGizmoRotate::set_angle(), Slic3r::Geometry::Transformation::set_rotation(), Slic3r::sla::sphere(), Slic3r::GUI::stilized_arrow(), igl::straighten_seams(), Slic3r::PerimeterGenerator::thick_polyline_to_multi_path(), priv::to_range_pi_pi(), igl::two_axis_valuator_fixed_up(), Slic3r::GUI::GLGizmoFlatten::update_planes(), Slic3r::GUI::GLGizmoSlaSupports::update_point_raycasters_for_picking_transform(), Slic3r::DoExport::update_print_estimated_stats(), Slic3r::GUI::GLGizmoCut3D::update_raycasters_for_picking_transform(), Slic3r::GUI::BedShapePanel::update_shape(), and Slic3r::Geometry::MedialAxis::validate_edge().

◆ SCALING_FACTOR