OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
Slic3r::ModelVolume::CutInfo Struct Reference

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

Public Member Functions

 CutInfo ()=default
 CutInfo (CutConnectorType type, float rad_tolerance, float h_tolerance, bool processed=false)
void set_processed ()
void invalidate ()
void reset_from_upper ()
template<class Archive>
void serialize (Archive &ar)

Public Attributes

bool is_from_upper { true }
bool is_connector { false }
bool is_processed { true }
CutConnectorType connector_type { CutConnectorType::Plug }
float radius_tolerance { 0.f }
float height_tolerance { 0.f }

Detailed Description

Constructor & Destructor Documentation

◆ CutInfo() [1/2]

Slic3r::ModelVolume::CutInfo::CutInfo ( )
default

◆ CutInfo() [2/2]

Slic3r::ModelVolume::CutInfo::CutInfo ( CutConnectorType type,
float rad_tolerance,
float h_tolerance,
bool processed = false )
inline
867 :
868 is_connector(true),
869 is_processed(processed),
871 radius_tolerance(rad_tolerance),
872 height_tolerance(h_tolerance)
873 {}
ModelVolumeType type() const
Definition Model.hpp:1023
bool is_connector
Definition Model.hpp:860
CutConnectorType connector_type
Definition Model.hpp:862
float radius_tolerance
Definition Model.hpp:863
float height_tolerance
Definition Model.hpp:864
bool is_processed
Definition Model.hpp:861

References connector_type, height_tolerance, is_connector, is_processed, radius_tolerance, and Slic3r::ModelVolume::type().

Here is the call graph for this function:

Member Function Documentation

◆ invalidate()

void Slic3r::ModelVolume::CutInfo::invalidate ( )
inline
876{ is_connector = false; }

References is_connector.

◆ reset_from_upper()

void Slic3r::ModelVolume::CutInfo::reset_from_upper ( )
inline
877{ is_from_upper = true; }
bool is_from_upper
Definition Model.hpp:859

References is_from_upper.

◆ serialize()

template<class Archive>
void Slic3r::ModelVolume::CutInfo::serialize ( Archive & ar)
inline

◆ set_processed()

void Slic3r::ModelVolume::CutInfo::set_processed ( )
inline
875{ is_processed = true; }

References is_processed.

Referenced by Slic3r::process_connector_cut().

Here is the caller graph for this function:

Member Data Documentation

◆ connector_type

◆ height_tolerance

float Slic3r::ModelVolume::CutInfo::height_tolerance { 0.f }

◆ is_connector

◆ is_from_upper

bool Slic3r::ModelVolume::CutInfo::is_from_upper { true }
859{ true };

Referenced by Slic3r::Cut::perform_with_groove(), and reset_from_upper().

◆ is_processed

bool Slic3r::ModelVolume::CutInfo::is_processed { true }

◆ radius_tolerance

float Slic3r::ModelVolume::CutInfo::radius_tolerance { 0.f }

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