forked from prusa3d/PrusaSlicer
-
Notifications
You must be signed in to change notification settings - Fork 0
GUI: Add Slider
Alex Petsiuk edited this page Aug 14, 2024
·
3 revisions
To better understand the internal slicing process, it may be helpful to visualize several g-code parameters, as shown in the figure below.
Relevant commits:
- Layer batching visualization
e7b12c8
,d125844
,e7602b3
,a0b8a6c
- Critical region intersections slider
22fae5d
,9d7d123
...\src\PrusaSlicer\src\slic3r\GUI\GCodeViewer.hpp, ...GCodeViewer.cpp
class GUI_App : public wxApp
class Preview : public wxPanel
class View3D : public wxPanel
{
View3D(wxWindow* parent, Bed3D& bed, Model* model, DynamicPrintConfig* config, BackgroundSlicingProcess* process);
void reload_scene(bool refresh_immediately, bool force_full_scene_refresh = false);
}
class Preview : public wxPanel
{
DynamicPrintConfig* m_config;
BackgroundSlicingProcess* m_process;
GCodeProcessorResult* m_gcode_result;
DoubleSlider::Control* m_layers_slider{ nullptr };
DoubleSlider::Control* m_moves_slider{ nullptr };
enum class OptionType : unsigned int
{
Travel,
Wipe,
Retractions,
Unretractions,
Seams,
ToolChanges,
ColorChanges,
PausePrints,
CustomGCodes,
CenterOfGravity,
Shells,
ToolMarker,
Legend
};
void load_print(bool keep_z_range = false);
void reload_print(bool keep_volumes = false);
void refresh_print();
void update_moves_slider();
void update_layers_slider(const std::vector<double>& layers_z, bool keep_z_range = false);
}
new
added "Layer time (linear)" and "Layer time (logarithmic)"
Search in commits "volumetric flow rate": https://github.com/search?q=org%3Aprusa3d+volumetric+flow+rate&type=commits
- GCode Preview - Added visualization of volumetric flow rate
- Fix of slow update when dragging the vertical slider in G-code viewer
- Tech ENABLE_PREVIEW_LAYER_TIME - Implementation of coloring toolpaths…
- ENABLE_PREVIEW_LAYER_TIME -> Linear and logarithmic layer time visual…
- Added first layer print times to print statistics written at the end
https://github.com/prusa3d/PrusaSlicer/commit/4d483f323f732ceccf6e581e160b962aa49d09f5
void Preview::load_print_as_fff(bool keep_z_range)
- GCodeViewer -> Extrusion toolpaths colored by color print (wip) + vis…
- https://github.com/search?q=repo%3Aprusa3d%2FPrusaSlicer+slice+now+button&type=commits Added tooltip [Ctrl - R] to the Slice now button
- Switching to the preview screen when the "Slice now" button is pressed.
- Do not automatically start slicing when switching to gcode preview if…
- Disable "Slice now" and "Export G-code" buttons during BGP
- One more fix to updates of the "Slice now" and "Export G-code buttons"
- Implemented another behavior of the "Slice Now" / "Export/Send G-code…