OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
Slic3r::BeltBrimFrame Struct Reference

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

Public Member Functions

double u_stretch () const
double cos_tilt () const
int downhill_sign () const

Public Attributes

double shear = 0.
int from_axis = 1

Detailed Description

Member Function Documentation

◆ cos_tilt()

double Slic3r::BeltBrimFrame::cos_tilt ( ) const
inline
64{ return 1. / this->u_stretch(); }
double u_stretch() const
Definition BeltBrim.hpp:62

References u_stretch().

Referenced by Slic3r::belt_unflatten(), and Slic3r::make_belt_brim().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ downhill_sign()

int Slic3r::BeltBrimFrame::downhill_sign ( ) const
inline
67{ return shear > 0. ? -1 : +1; }
double shear
Definition BeltBrim.hpp:56

Referenced by Slic3r::belt_brim_clip_leading_edge(), and Slic3r::belt_brim_region().

Here is the caller graph for this function:

◆ u_stretch()

double Slic3r::BeltBrimFrame::u_stretch ( ) const
inline
62{ return std::sqrt(1. + shear * shear); }

References shear.

Referenced by Slic3r::belt_brim_band_paths(), Slic3r::belt_flatten(), cos_tilt(), and Slic3r::make_belt_brim().

Here is the caller graph for this function:

Member Data Documentation

◆ from_axis

◆ shear

double Slic3r::BeltBrimFrame::shear = 0.

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