OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
Orient.hpp File Reference
#include "TriangleMesh.hpp"
#include "Point.hpp"
#include "PrintConfig.hpp"
#include <string>
#include <functional>
#include <Eigen/Core>
#include <vector>
Include dependency graph for Orient.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Slic3r::orientation::OrientMesh
 Input/Output structure for the orient() function. The mesh field will not be modified during orientment. Instead, the translation and rotation fields will mark the needed transformation for the polygon to be in the orientd position. These can also be set to an initial offset and rotation. More...
struct  Slic3r::orientation::OrientParams

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

Typedefs

using Slic3r::orientation::OrientMeshs = std::vector<OrientMesh>

Functions

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)

Variables

static const constexpr int Slic3r::orientation::UNORIENTD = -1
 A logical bed representing an object not being orientd. Either the orient has not yet successfully run on this OrientPolygon or it could not fit the object due to overly large size or invalid geometry.