mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-13 17:58:03 -06:00
Detection of sla supports out of printbed in Preview and when sla gizmo is active
This commit is contained in:
parent
3c4fa8859c
commit
efd429ea46
4 changed files with 59 additions and 19 deletions
|
@ -344,6 +344,7 @@ class GLCanvas3D
|
|||
enum Warning {
|
||||
ObjectOutside,
|
||||
ToolpathOutside,
|
||||
SlaSupportsOutside,
|
||||
SomethingNotShown,
|
||||
ObjectClashed
|
||||
};
|
||||
|
@ -695,13 +696,14 @@ private:
|
|||
// generates gcode unretractions geometry
|
||||
void _load_gcode_unretractions(const GCodePreviewData& preview_data);
|
||||
// generates objects and wipe tower geometry
|
||||
void _load_shells_fff();
|
||||
void _load_fff_shells();
|
||||
// generates objects geometry for sla
|
||||
void _load_shells_sla();
|
||||
void _load_sla_shells();
|
||||
// sets gcode geometry visibility according to user selection
|
||||
void _update_gcode_volumes_visibility(const GCodePreviewData& preview_data);
|
||||
void _update_toolpath_volumes_outside_state();
|
||||
void _show_warning_texture_if_needed();
|
||||
void _update_sla_shells_outside_state();
|
||||
void _show_warning_texture_if_needed(WarningTexture::Warning warning);
|
||||
|
||||
// generates the legend texture in dependence of the current shown view type
|
||||
void _generate_legend_texture(const GCodePreviewData& preview_data, const std::vector<float>& tool_colors);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue