OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
Orient.cpp File Reference
#include "Orient.hpp"
#include "Geometry.hpp"
#include <Eigen/Core>
#include <ios>
#include <iomanip>
#include "TriangleMesh.hpp"
#include "Point.hpp"
#include <functional>
#include <cmath>
#include "libslic3r.h"
#include <cstddef>
#include <iostream>
#include <algorithm>
#include <cstdlib>
#include "Model.hpp"
#include "PrintConfig.hpp"
#include <numeric>
#include <boost/geometry/index/rtree.hpp>
#include <boost/log/trivial.hpp>
#include <string>
#include <sstream>
#include <ostream>
#include <tbb/parallel_for.h>
#include <vector>
#include <unordered_map>
#include <utility>
#include <boost/multiprecision/integer.hpp>
#include <boost/rational.hpp>
#include "BoundingBox.hpp"
Include dependency graph for Orient.cpp:

Go to the source code of this file.

Classes

struct  Slic3r::orientation::CostItems
class  Slic3r::orientation::AutoOrienter
struct  Slic3r::orientation::AutoOrienter::VecHash

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::orientation

Macros

#define MAX3(a, b, c)
#define MEDIAN3(a, b, c)
#define SQ(x)

Functions

void Slic3r::orientation::_orient (OrientMeshs &meshs_, const OrientParams &params, std::function< void(unsigned, std::string)> progressfn, std::function< bool()> stopfn)
void Slic3r::orientation::orient (OrientMeshs &items, const OrientMeshs &excludes, const OrientParams &params={})
 Orients the input polygons.
void Slic3r::orientation::orient (ModelObject *obj)
void Slic3r::orientation::orient (ModelInstance *instance)
void Slic3r::orientation::orient_for_cooling (TriangleMesh &mesh, const FanDirection &fan_dir)

Macro Definition Documentation

◆ MAX3

#define MAX3 ( a,
b,
c )
Value:
std::max(std::max(a,b),c)

Referenced by Slic3r::orientation::AutoOrienter::project_vertices().

◆ MEDIAN3

#define MEDIAN3 ( a,
b,
c )
Value:
std::max(std::min(a,b), std::min(std::max(a,b),c))

Referenced by Slic3r::orientation::AutoOrienter::project_vertices().

◆ SQ