OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
Slic3r::SurfaceFillParams Struct Reference
Collaboration diagram for Slic3r::SurfaceFillParams:

Public Member Functions

bool operator< (const SurfaceFillParams &rhs) const
bool operator== (const SurfaceFillParams &rhs) const

Public Attributes

unsigned int extruder = 0
InfillPattern pattern = InfillPattern(0)
coordf_t spacing = 0.
coordf_t overlap = 0.
float angle = 0.f
bool fixed_angle = false
bool bridge
float bridge_angle = 0.f
float density = 0.f
int multiline = 1
float anchor_length = 1000.f
float anchor_length_max = 1000.f
Flow flow
ExtrusionRole extrusion_role = ExtrusionRole(0)
size_t idx = 0
float role_speed = 0
float lateral_lattice_angle_1 = 0.f
float lateral_lattice_angle_2 = 0.f
float infill_lock_depth = 0
float skin_infill_depth = 0
bool symmetric_infill_y_axis = false
bool infill_complete_top = false
float infill_overhang_angle = 60.f
bool gyroid_optimized = false
AdaptiveInfillMode adaptive_infill_mode = AdaptiveInfillMode::Disabled
float adaptive_infill_interior_density = 0.f
AdaptiveInfillGradient adaptive_infill_gradient = AdaptiveInfillGradient::Linear
double smooth_factor { 0. }
CenterOfSurfacePattern center_of_surface_pattern {CenterOfSurfacePattern::Each_Surface}
bool separated_infills {false}
SurfaceFillOrder fill_order = SurfaceFillOrder::Default

Detailed Description

Member Function Documentation

◆ operator<()

bool Slic3r::SurfaceFillParams::operator< ( const SurfaceFillParams & rhs) const
inline
330 {
331#define RETURN_COMPARE_NON_EQUAL(KEY) if (this->KEY < rhs.KEY) return true; if (this->KEY > rhs.KEY) return false;
332#define RETURN_COMPARE_NON_EQUAL_TYPED(TYPE, KEY) if (TYPE(this->KEY) < TYPE(rhs.KEY)) return true; if (TYPE(this->KEY) > TYPE(rhs.KEY)) return false;
333
334 // Sort first by decreasing bridging angle, so that the bridges are processed with priority when trimming one layer by the other.
335 if (this->bridge_angle > rhs.bridge_angle) return true;
336 if (this->bridge_angle < rhs.bridge_angle) return false;
337
346// RETURN_COMPARE_NON_EQUAL_TYPED(unsigned, dont_adjust);
351 RETURN_COMPARE_NON_EQUAL(flow.nozzle_diameter());
370
371 return false;
372 }
#define RETURN_COMPARE_NON_EQUAL_TYPED(TYPE, KEY)
#define RETURN_COMPARE_NON_EQUAL(KEY)
AdaptiveInfillMode adaptive_infill_mode
Definition Fill.cpp:317
float density
Definition Fill.cpp:276
float role_speed
Definition Fill.cpp:298
bool fixed_angle
Definition Fill.cpp:269
ExtrusionRole extrusion_role
Definition Fill.cpp:291
float infill_overhang_angle
Definition Fill.cpp:311
bool symmetric_infill_y_axis
Definition Fill.cpp:305
SurfaceFillOrder fill_order
Definition Fill.cpp:328
float bridge_angle
Definition Fill.cpp:273
float anchor_length_max
Definition Fill.cpp:284
double smooth_factor
Definition Fill.cpp:322
unsigned int extruder
Definition Fill.cpp:257
float skin_infill_depth
Definition Fill.cpp:304
bool separated_infills
Definition Fill.cpp:325
bool gyroid_optimized
Definition Fill.cpp:314
bool bridge
Definition Fill.cpp:271
AdaptiveInfillGradient adaptive_infill_gradient
Definition Fill.cpp:319
float angle
Definition Fill.cpp:267
coordf_t spacing
Definition Fill.cpp:263
float infill_lock_depth
Definition Fill.cpp:303
float lateral_lattice_angle_1
Definition Fill.cpp:301
InfillPattern pattern
Definition Fill.cpp:259
coordf_t overlap
Definition Fill.cpp:265
bool infill_complete_top
Definition Fill.cpp:308
float adaptive_infill_interior_density
Definition Fill.cpp:318
Flow flow
Definition Fill.cpp:288
CenterOfSurfacePattern center_of_surface_pattern
Definition Fill.cpp:324
float anchor_length
Definition Fill.cpp:283
int multiline
Definition Fill.cpp:278
float lateral_lattice_angle_2
Definition Fill.cpp:302

References adaptive_infill_gradient, adaptive_infill_interior_density, adaptive_infill_mode, anchor_length, anchor_length_max, angle, bridge, bridge_angle, center_of_surface_pattern, density, extruder, extrusion_role, fill_order, fixed_angle, flow, gyroid_optimized, infill_complete_top, infill_lock_depth, infill_overhang_angle, lateral_lattice_angle_1, lateral_lattice_angle_2, multiline, overlap, pattern, RETURN_COMPARE_NON_EQUAL, RETURN_COMPARE_NON_EQUAL_TYPED, role_speed, separated_infills, skin_infill_depth, smooth_factor, spacing, and symmetric_infill_y_axis.

◆ operator==()

bool Slic3r::SurfaceFillParams::operator== ( const SurfaceFillParams & rhs) const
inline
374 {
375 return this->extruder == rhs.extruder &&
376 this->pattern == rhs.pattern &&
377 this->spacing == rhs.spacing &&
378 this->overlap == rhs.overlap &&
379 this->angle == rhs.angle &&
380 this->fixed_angle == rhs.fixed_angle &&
381 this->bridge == rhs.bridge &&
382 this->bridge_angle == rhs.bridge_angle &&
383 this->density == rhs.density &&
384 this->multiline == rhs.multiline &&
385// this->dont_adjust == rhs.dont_adjust &&
386 this->anchor_length == rhs.anchor_length &&
387 this->anchor_length_max == rhs.anchor_length_max &&
388 this->flow == rhs.flow &&
389 this->extrusion_role == rhs.extrusion_role &&
390 this->role_speed == rhs.role_speed &&
391 this->lateral_lattice_angle_1 == rhs.lateral_lattice_angle_1 &&
392 this->lateral_lattice_angle_2 == rhs.lateral_lattice_angle_2 &&
393 this->infill_lock_depth == rhs.infill_lock_depth &&
394 this->skin_infill_depth == rhs.skin_infill_depth &&
395 this->infill_overhang_angle == rhs.infill_overhang_angle &&
396 this->center_of_surface_pattern == rhs.center_of_surface_pattern &&
397 this->separated_infills == rhs.separated_infills &&
398 this->gyroid_optimized == rhs.gyroid_optimized &&
399 this->adaptive_infill_mode == rhs.adaptive_infill_mode &&
400 this->adaptive_infill_interior_density == rhs.adaptive_infill_interior_density &&
401 this->adaptive_infill_gradient == rhs.adaptive_infill_gradient &&
402 this->smooth_factor == rhs.smooth_factor &&
403 this->fill_order == rhs.fill_order;
404 }

References adaptive_infill_gradient, adaptive_infill_interior_density, adaptive_infill_mode, anchor_length, anchor_length_max, angle, bridge, bridge_angle, center_of_surface_pattern, density, extruder, extrusion_role, fill_order, fixed_angle, flow, gyroid_optimized, infill_lock_depth, infill_overhang_angle, lateral_lattice_angle_1, lateral_lattice_angle_2, multiline, overlap, pattern, role_speed, separated_infills, skin_infill_depth, smooth_factor, and spacing.

Member Data Documentation

◆ adaptive_infill_gradient

AdaptiveInfillGradient Slic3r::SurfaceFillParams::adaptive_infill_gradient = AdaptiveInfillGradient::Linear

◆ adaptive_infill_interior_density

float Slic3r::SurfaceFillParams::adaptive_infill_interior_density = 0.f

◆ adaptive_infill_mode

AdaptiveInfillMode Slic3r::SurfaceFillParams::adaptive_infill_mode = AdaptiveInfillMode::Disabled

◆ anchor_length

float Slic3r::SurfaceFillParams::anchor_length = 1000.f

◆ anchor_length_max

float Slic3r::SurfaceFillParams::anchor_length_max = 1000.f

◆ angle

float Slic3r::SurfaceFillParams::angle = 0.f

◆ bridge

bool Slic3r::SurfaceFillParams::bridge

◆ bridge_angle

float Slic3r::SurfaceFillParams::bridge_angle = 0.f

◆ center_of_surface_pattern

◆ density

float Slic3r::SurfaceFillParams::density = 0.f

◆ extruder

unsigned int Slic3r::SurfaceFillParams::extruder = 0

◆ extrusion_role

ExtrusionRole Slic3r::SurfaceFillParams::extrusion_role = ExtrusionRole(0)

◆ fill_order

SurfaceFillOrder Slic3r::SurfaceFillParams::fill_order = SurfaceFillOrder::Default

◆ fixed_angle

bool Slic3r::SurfaceFillParams::fixed_angle = false

◆ flow

Flow Slic3r::SurfaceFillParams::flow

◆ gyroid_optimized

bool Slic3r::SurfaceFillParams::gyroid_optimized = false

◆ idx

size_t Slic3r::SurfaceFillParams::idx = 0

Referenced by Slic3r::group_fills().

◆ infill_complete_top

bool Slic3r::SurfaceFillParams::infill_complete_top = false

Referenced by Slic3r::group_fills(), and operator<().

◆ infill_lock_depth

float Slic3r::SurfaceFillParams::infill_lock_depth = 0

◆ infill_overhang_angle

float Slic3r::SurfaceFillParams::infill_overhang_angle = 60.f

◆ lateral_lattice_angle_1

float Slic3r::SurfaceFillParams::lateral_lattice_angle_1 = 0.f

◆ lateral_lattice_angle_2

float Slic3r::SurfaceFillParams::lateral_lattice_angle_2 = 0.f

◆ multiline

int Slic3r::SurfaceFillParams::multiline = 1

◆ overlap

coordf_t Slic3r::SurfaceFillParams::overlap = 0.

Referenced by operator<(), and operator==().

◆ pattern

InfillPattern Slic3r::SurfaceFillParams::pattern = InfillPattern(0)

◆ role_speed

float Slic3r::SurfaceFillParams::role_speed = 0

◆ separated_infills

bool Slic3r::SurfaceFillParams::separated_infills {false}
325{false};

Referenced by Slic3r::group_fills(), operator<(), and operator==().

◆ skin_infill_depth

float Slic3r::SurfaceFillParams::skin_infill_depth = 0

◆ smooth_factor

double Slic3r::SurfaceFillParams::smooth_factor { 0. }
322{ 0. };

Referenced by Slic3r::group_fills(), operator<(), and operator==().

◆ spacing

coordf_t Slic3r::SurfaceFillParams::spacing = 0.

◆ symmetric_infill_y_axis

bool Slic3r::SurfaceFillParams::symmetric_infill_y_axis = false

Referenced by Slic3r::group_fills(), and operator<().


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