722 Commits

Author SHA1 Message Date
Lukas Matena
c6cee75ee3 Rendering of extruder model in Preview 2025-02-17 11:03:15 +01:00
enricoturri1966
015b9f5536 SPE-2596 - Camera rotation around screen center, keeping the rotation pivot on the plane z = 0 2024-12-05 17:08:54 +01:00
enricoturri1966
b7135049d5 SPE-2506 - Improved scene panning in preview after changing selected bed 2024-12-05 17:08:54 +01:00
Lukas Matena
08eb318780 Multiple beds in SLA 2024-11-20 16:04:15 +01:00
YuSanka
324763a90e Nicer bed selector dialog 2024-11-20 16:04:15 +01:00
Lukas Matena
e1be0f041c Autoslice (part 1) 2024-11-20 16:04:15 +01:00
enricoturri1966
0bd37e6b08 SPE-2506 - Fixed rendering of sequential print clearance contours when using multiple beds 2024-11-20 16:04:15 +01:00
enricoturri1966
bbdd2e9d07 SPE-2506 - Fixed camera jumping when panning after rotating scene containing multiple beds 2024-11-20 16:04:15 +01:00
Martin Šach
5199d8fb48 Arrange: Move arrange into separate cmake targets
- Create a slicer specific arrange target
- Create a general arrange target from the arrange core
2024-11-20 16:04:15 +01:00
Martin Šach
3e33631abf Arrange: Use arrange for multiple beds.
- Support multiple wipe towers
- Arrange to grid directly within the arrange algorithm
- Suporrt arranging just the current bed
- Support fill bed with instances
- Add arrange selected on current bed
- Add arrange current bed keyboard shortcuts
- Fix cut not arranging properly (set instance bed after cut to the active bed, use arrange current bed selection only after cut)
- Fix shift-D on arrange
- Add window with options to the bed arrange button
2024-11-20 16:04:15 +01:00
Lukas Matena
5b59785456 wipe towers volumes 2024-11-20 16:04:15 +01:00
enricoturri1966
90136d3ad3 Camera + shading
Zoom to bed command set to zoom to active bed

Added camera rotation pivot which is updated whenever the active bed changes

SPE-2506 - Follow up of a2873759aba1eb13a31591d9e852be0f1e21786b - Fixed camera position after zoom to bed
2024-11-20 16:04:15 +01:00
Lukas Matena
cc73ff8f4f Multiple beds (part 7):
This is where it really gets nasty:

- Switch background_process.m_temp_output_path is now updated when beds are switched, so each Print writes to a different file.

- When switching beds in Preview, there is a cache in GCodeViewer which would mistakenly not load the other preview (happens in case when switching to a bed which is not sliced and back). Bypass this cache when beds are being switched.

- Added a CallAfter logic into GLCanvas3D::select_bed (the central function where beds are switched). It now does the following:
  1. Stops the background process
  2. Schedules a callafter which then
  3. wxYields the event queue (so all events generated as a result of (1) are consumed before active bed is switched.
  4. switches active bed
  5. fires couple of update functions and events, schedules background process

- When BSProcess is switched to the new bed, it now calls on_slicing_update (in sync). This is to regenerate all slicing error/warning notifications. The on_slicing_update function was updated to be able to process all print(object)steps and objects.

- Sliced info in sidebar did not properly show when switching beds in 3D scene. Added explicit refresh into update_background_process.
2024-11-20 13:36:13 +01:00
Lukas Matena
1f9344a5dc Use ModelWipeTower instead of config for wipe tower pos and rot (frontend part) - SPE-2520 2024-10-16 12:27:25 +02:00
YuSanka
0237acb38f Follow-up 3bd0728b: Fixed the toolbar icons size, when it's set from Preferences.
see https://github.com/prusa3d/PrusaSlicer/issues/12838#issuecomment-2176534793
2024-06-24 19:49:25 +02:00
YuSanka
3bd0728bc6 Fixed blurring of the Toolbars 2024-06-12 14:39:11 +02:00
Lukas Matena
226b20fa17 Added a 'layer statistics' legend for SLA 2024-06-06 12:17:44 +02:00
Lukáš Hejl
4b8fe98443 SPE-2186: Add shrinkage compensation into filament settings.
There is a limitation that on multi-tool printers, all used filaments must have the same shrinkage compression values.
2024-05-14 17:16:23 +02:00
YuSanka
320d11d5db ImguiDoubleSlider: Change layout of horizontal slider and position_window 2024-04-25 10:28:03 +02:00
YuSanka
56a3740fe4 ImguiDoubleSlider: WIP: Control is split to DSManagerForGcode and DSManagerForLayers (both are derived from template class)
+ GLCanvas3D: refactoring for handle of events related to the manipulation with sliders
 + use callbacks to process navigation in sliders instead of wxEvents
2024-04-24 10:54:12 +02:00
enricoturri1966
1112fca688 Tech ENABLE_OPENGL_ES replaced by build option SLIC3R_OPENGL_ES 2024-03-26 14:41:57 +01:00
enricoturri1966
539c155c59 Code cleanup and techs removal - completed 2024-03-26 14:41:55 +01:00
enricoturri1966
6529f28f26 New gcode visualization library - Separation of tool colors and color changes colors to simplify client code 2024-03-26 14:26:59 +01:00
enricoturri1966
9bb31f3468 New gcode visualization library - Interface cleanup and documentation 2024-03-26 14:15:39 +01:00
enricoturri1966
13f9d6f28e New gcode visualization integration - Fixed management of gcode preview view type 2024-03-26 14:15:38 +01:00
enricoturri1966
55b674ca3b Code cleanup 2024-03-26 14:15:37 +01:00
enricoturri1966
f11fdf4432 Refactoring 2024-03-26 14:14:52 +01:00
enricoturri1966
00a19fe4eb New gcode visualization integration - Fixed pre-gcode preview layers times 2024-03-26 14:12:32 +01:00
enricoturri1966
160d9b0187 New gcode visualization integration - Modify pre-gcode preview to use the new toolpaths renderer, objects WIP 2024-03-26 14:12:32 +01:00
enricoturri1966
a2b9104567 New gcode visualization - Modify pre-gcode preview to use the new toolpaths renderer, WIP (brim/skirt/wipe tower) 2024-03-26 14:12:32 +01:00
enricoturri1966
1d6fb321af New gcode visualization integration - Removal of old visualization 2024-03-26 14:12:32 +01:00
enricoturri1966
560263ea05 New gcode visualization integration - View ranges management moved to new visualizer 2024-03-26 14:12:32 +01:00
enricoturri1966
d3fd11dad9 New gcode visualization integration - Layers times 2024-03-26 14:04:08 +01:00
enricoturri1966
285a274ff7 SPE-1982: Tech ENABLE_NEW_GCODE_VIEWER - 1st installment of new toolpaths rendering code (WIP) 2024-03-26 14:04:05 +01:00
YuSanka
e065f0c83b TopBar: Added "Search" control
+ Deleted old search controls from tab and canvas3D
2024-03-25 12:05:55 +01:00
Filip Sykala - NTB T15p
6a1f31ec47 Merge branch 'master' into fs_svg_SPE-1517 2023-10-16 11:44:35 +02:00
enricoturri1966
319454c259 SPE-1937: Fixed rendering of sequential clearance contours when dragging an object while the collision detection is running 2023-10-16 10:42:42 +02:00
enricoturri1966
56a24af0a5 SPE-1948: Fixed missing update of raycaster when mirroring objects 2023-10-12 14:42:26 +02:00
Filip Sykala - NTB T15p
255081e342 Merge branch 'master' into fs_svg_SPE-1517 2023-09-13 21:53:59 +02:00
Vojtech Bubnik
8dad25efc4 Merge branch 'master' into master_262 2023-09-04 14:44:32 +02:00
Filip Sykala - NTB T15p
ca71305c75 Merge branch 'master' into fs_svg
# Conflicts:
#	src/slic3r/Utils/EmbossStylesSerializable.cpp
#	src/slic3r/Utils/EmbossStylesSerializable.hpp
2023-09-04 13:33:22 +02:00
ps_copyright
f32859c302 final copyright headers 2023-09-01 14:49:07 +02:00
Filip Sykala - NTB T15p
57141aa61a Merge branch 'master' into fs_svg
# Conflicts:
#	src/slic3r/GUI/Gizmos/GLGizmoEmboss.hpp
2023-08-22 16:20:42 +02:00
enricoturri1966
81b137eb06 Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate into et_spe1784_binary_gcode 2023-08-22 08:37:47 +02:00
enricoturri1966
200df9c02d Do not show shell for non-printable and out of printbed volumes in preview 2023-08-21 09:43:45 +02:00
enricoturri1966
b809996d30 SPE-1761: Show part shells in pre-gcode preview 2023-08-21 09:42:00 +02:00
tamasmeszaros
c545400b0a fixing sequential print settings not being loaded correctly
SPE-1827
2023-08-16 09:59:10 +02:00
tamasmeszaros
0b31ef6e1e Beginning of arrange gen2 2023-08-16 09:59:10 +02:00
enricoturri1966
ee87536ff6 Added debug imgui dialog to allow to change binary gcode parameters at runtime 2023-07-21 12:24:24 +02:00
Filip Sykala - NTB T15p
87517c5c68 Merge branch 'fs_dir_per_glyph_SPE-1597' into fs_svg 2023-06-09 11:17:41 +02:00