Input/Output structure for the arrange() function. The poly field will not be modified during arrangement. Instead, the translation and rotation fields will mark the needed transformation for the polygon to be in the arranged position. These can also be set to an initial offset and rotation. More...
#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/libslic3r/Arrange.hpp>
Public Member Functions | |
| void | apply () |
| Helper function to call the setter with the arrange data arguments. | |
| bool | is_arranged () const |
| Test if arrange() was called previously and gave a successful result. | |
| ExPolygon | transformed_poly () const |
Public Attributes | |
| ExPolygon | poly |
| Vec2crd | translation {0, 0} |
| The 2D silhouette to be arranged. | |
| double | rotation {0.0} |
| The translation of the poly. | |
| coord_t | inflation = 0 |
| The rotation of the poly in radians. | |
| int | bed_idx {UNARRANGED} |
| Arrange with inflated polygon. | |
| int | priority {0} |
| To which logical bed does poly belong... | |
| int | locked_plate { -1 } |
| bool | is_virt_object { false } |
| bool | is_extrusion_cali_object { false } |
| bool | is_wipe_tower { false } |
| bool | has_tree_support {false} |
| int | row {0} |
| int | col {0} |
| std::vector< int > | extrude_ids {} |
| int | filament_temp_type { -1 } |
| extruder_id for least extruder switch | |
| int | bed_temp {0} |
| int | print_temp {0} |
| bed temperature for different material judge | |
| int | first_bed_temp { 0 } |
| print temperature for different material judge | |
| int | first_print_temp { 0 } |
| first layer bed temperature for different material judge | |
| int | vitrify_temp { 0 } |
| first layer print temperature for different material judge | |
| int | itemid { 0 } |
| int | is_applied { 0 } |
| double | height { 0 } |
| double | z_min { 0 } |
| double | z_max { 0 } |
| bool | has_z_range { false } |
| bool | is_bed_exclusion { false } |
| std::vector< int > | bed_exclusion_extruder_ids {} |
| int | bed_exclusion_extruder_id { -1 } |
| double | brim_width { 0 } |
| std::string | name |
| std::vector< double > | allowed_rotations = {0.} |
| std::function< void(const ArrangePolygon &)> | setter = nullptr |
| Optional setter function which can store arbitrary data in its closure. | |
Input/Output structure for the arrange() function. The poly field will not be modified during arrangement. Instead, the translation and rotation fields will mark the needed transformation for the polygon to be in the arranged position. These can also be set to an initial offset and rotation.
The bed_idx field will indicate the logical bed into which the polygon belongs: UNARRANGED means no place for the polygon (also the initial state before arrange), 0..N means the index of the bed. Zero is the physical bed, larger than zero means a virtual bed.
|
inline |
Helper function to call the setter with the arrange data arguments.
|
inline |
Test if arrange() was called previously and gave a successful result.
|
inline |
| std::vector<double> Slic3r::arrangement::ArrangePolygon::allowed_rotations = {0.} |
| std::vector<int> Slic3r::arrangement::ArrangePolygon::bed_exclusion_extruder_ids {} |
Arrange with inflated polygon.
| double Slic3r::arrangement::ArrangePolygon::brim_width { 0 } |
| std::vector<int> Slic3r::arrangement::ArrangePolygon::extrude_ids {} |
extruder_id for least extruder switch
print temperature for different material judge
first layer bed temperature for different material judge
| bool Slic3r::arrangement::ArrangePolygon::has_z_range { false } |
| double Slic3r::arrangement::ArrangePolygon::height { 0 } |
The rotation of the poly in radians.
| bool Slic3r::arrangement::ArrangePolygon::is_bed_exclusion { false } |
| bool Slic3r::arrangement::ArrangePolygon::is_virt_object { false } |
| bool Slic3r::arrangement::ArrangePolygon::is_wipe_tower { false } |
| std::string Slic3r::arrangement::ArrangePolygon::name |
bed temperature for different material judge
To which logical bed does poly belong...
| double Slic3r::arrangement::ArrangePolygon::rotation {0.0} |
The translation of the poly.
| std::function<void(const ArrangePolygon&)> Slic3r::arrangement::ArrangePolygon::setter = nullptr |
Optional setter function which can store arbitrary data in its closure.
The 2D silhouette to be arranged.
first layer print temperature for different material judge
| double Slic3r::arrangement::ArrangePolygon::z_max { 0 } |
| double Slic3r::arrangement::ArrangePolygon::z_min { 0 } |