OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
Slic3r::sla::anonymous_namespace{Pad.cpp}::PadConfig3D Struct Reference

Public Member Functions

 PadConfig3D (const PadConfig &cfg2d)
double bottom_offset () const

Public Attributes

double thickness
double height
double wing_height
double slope

Detailed Description

Constructor & Destructor Documentation

◆ PadConfig3D()

Slic3r::sla::anonymous_namespace{Pad.cpp}::PadConfig3D::PadConfig3D ( const PadConfig & cfg2d)
inlineexplicit
164 : thickness{cfg2d.wall_thickness_mm}
165 , height{cfg2d.full_height()}
166 , wing_height{cfg2d.wall_height_mm}
167 , slope{cfg2d.wall_slope}
168 {}

References height, slope, thickness, and wing_height.

Member Function Documentation

◆ bottom_offset()

double Slic3r::sla::anonymous_namespace{Pad.cpp}::PadConfig3D::bottom_offset ( ) const
inline
171 {
172 return (thickness + wing_height) / std::tan(slope);
173 }

References slope, thickness, and wing_height.

Referenced by Slic3r::sla::anonymous_namespace{Pad.cpp}::create_outer_pad_geometry().

Here is the caller graph for this function:

Member Data Documentation

◆ height

◆ slope

double Slic3r::sla::anonymous_namespace{Pad.cpp}::PadConfig3D::slope

◆ thickness

double Slic3r::sla::anonymous_namespace{Pad.cpp}::PadConfig3D::thickness

◆ wing_height

double Slic3r::sla::anonymous_namespace{Pad.cpp}::PadConfig3D::wing_height

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