Commit Graph

5337 Commits

Author SHA1 Message Date
Vojtech Bubnik
0688778a24 Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2020-12-04 11:53:29 +01:00
Vojtech Bubnik
e1fc0b17a2 Ramp up layer cooling fan over X layers #848
Fan speed will be ramped up linearly from zero at layer disable_fan_first_layers
to maximum at layer full_fan_speed_layer. full_fan_speed_layer will be
ignored if lower than disable_fan_first_layers, in which case
the fan will be running at maximum allowed speed at layer
disable_fan_first_layers + 1.;

WIP: The cooling PresetHints are likely not finalized yet.
2020-12-04 11:53:02 +01:00
Vojtech Bubnik
e42e25c933 1) Storing the physical_printer_settings_id into the 3MF, AMF, GCode.
2) Activating the physical_printer_settings_id when loading from 3MF, AMF, GCode.
   The physical printer is only activated if it references the printer_settings_id
   loaded from the same file.
3) When loading the presets from 3MF, AMF, GCode, the "external" profiles
   are no more created for profiles which differ from the local profiles
   the loaded profiles reference. Instead, the referenced profile is activated
   and modified with the loaded preset. If the referenced profile does not
   exist, but the profile refers to a system profile with the "inherits"
   fileds, the system profile is loaded and modified instead.
   This works for all profiles with the exception of multi-extruder
   printer with multiple filament profiles modified. In that case
   the first modified filament profile will be loaded as modified,
   while the other modified profiles will be loaded as "external".

This should fix
Physical printer + 3mf file, wrong preset used to generate gcode #5178
and possibly
https://github.com/prusa3d/PrusaSlicer/issues/5272
2020-12-04 10:48:51 +01:00
enricoturri1966
dcee9d7bfe Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_animations 2020-12-04 10:27:54 +01:00
enricoturri1966
4870656877 Import all valid files when dragging and dropping a set of files on the application 2020-12-04 09:15:55 +01:00
enricoturri1966
6835c5ad35 Fixed build on MAC 2020-12-03 15:40:52 +01:00
enricoturri1966
cc0688678c Fixed conflicts after merge with master 2020-12-03 15:27:34 +01:00
enricoturri1966
bcb2a4884b NotificationManager -> Separate notification update from its render to reduce the amount of scene refresh 2020-12-03 15:12:32 +01:00
Vojtech Bubnik
dea4c13677 Revert "Fix of Proxy secured print host URL. Special character on password #4187"
The whole URL line was incorrectly escaped including the http:// prefix,
which is not correct.
This reverts commit 1b720dbc3d.
2020-12-03 14:20:04 +01:00
Vojtech Bubnik
6fd1143b1c Fix of Unexpected Behavior @ Application Open and When GCODE is Generated #5254
Icon not loaded from the exe on Windows.
2020-12-03 14:14:40 +01:00
tamasmeszaros
624494eab6 Merge branch 'tm_arrange_bugfixes' 2020-12-03 14:09:55 +01:00
enricoturri1966
639ef33aab Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-12-03 13:49:20 +01:00
enricoturri1966
2a0a9af0c9 #5360 - GCode Viewer -> Added menu command to reload gcode file 2020-12-03 13:48:54 +01:00
YuSanka
6124f677ae Suppressed a check of printer_presets for the containing information about "Print Host upload", when presets ate exported from the amf/3mf 2020-12-03 13:25:23 +01:00
Vojtech Bubnik
3dd9b8c718 Further improvement error reporting with buggy custom G-code sections #1516
1) The macro-processor sanitizes the source code line for invalid UTF-8
   characters. Ideally these invalid characters would be replaced with ?,
   they are just dropped as of now. Better than showing an empty string
   when converting to wxString though.
2) G-code export collects full error message for 1st occurence of an error
   for each custom G-code block.
3) The composite error message now displays the errors collected in 2).
4) The error window is now scaled bigger and the Slicer logo is smaller
   if the text is to be rendered with monospaced font, as the monospaced
   text will not be word wrapped.
2020-12-03 12:50:24 +01:00
tamasmeszaros
844ea89432 Fix out of bed items after arrange.
Disabled outline decimation for arrange and added very small (EPSILON) safety offset to bed detection boundaries.
2020-12-03 12:00:12 +01:00
YuSanka
b251fea5fe Typo fix for b9c53adddb 2020-12-03 11:31:15 +01:00
Vojtech Bubnik
306acbdfb4 Improvement of Improve error reporting with buggy custom G-code sections #1516
Errors in the file output templates are reported in mono-spaced font,
so that the arrow character ^ is displayed at the right column
pointing to the offending spot.
2020-12-03 11:03:16 +01:00
YuSanka
7afef2bbb5 OSX specific: Hot fix for the c503a4e424 2020-12-03 10:40:17 +01:00
YuSanka
c503a4e424 Increased width for Infill ComboBox and EditCtrls from Manipulation panel on right panel
+ Added updated POT-file
2020-12-03 10:35:21 +01:00
Vojtech Bubnik
1b720dbc3d Fix of Proxy secured print host URL. Special character on password #4187
A raw URL was passed to libcurl, while it should have been URL encoded.
2020-12-03 08:07:13 +01:00
Vojtech Bubnik
597a158a6e Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2020-12-03 07:30:26 +01:00
Vojtech Bubnik
4412ba0f92 Fixes Spelling Error in Unsaved changes dialog (#5363) 2020-12-03 07:30:06 +01:00
tamasmeszaros
4e9254ec5a Follow up fix for bed filling
fixes: 2813db8906
2020-12-02 18:08:30 +01:00
tamasmeszaros
2813db8906 Fix for bed filling with some existing items out of bed. 2020-12-02 17:52:40 +01:00
tamasmeszaros
4e90df1ea5 Fix status indication glitch for bed filling 2020-12-02 17:50:12 +01:00
tamasmeszaros
4f7f08d0de Further improvement on arrange settings handling 2020-12-02 14:04:39 +01:00
david kocik
ae926bd1ed error_code in boost::filesystem::space to ensure the drive exists. Fix of #5354 2020-12-02 12:12:24 +01:00
YuSanka
b9c53adddb Linux specific, dark mode: Fixed a black text on a black background for the view mode buttons. 2020-12-02 11:58:08 +01:00
Vojtech Bubnik
89ff8eef10 Preview class refactoring: Moved initialization of member variables
to header.
2020-12-02 11:38:10 +01:00
tamasmeszaros
8df4d6a170 Add separate arrangement distance control for SLA mode 2020-12-02 10:28:13 +01:00
YuSanka
9d34d350a5 Localization: Update POT
+ Fixed translation for the "Extruder n" category on the Printer Settings Tab
 + Fixed a crash, when scrolling inside Search imGui with some localization (e.t. Russion)
2020-12-01 16:44:53 +01:00
Lukáš Hejl
f25e5c0ec6 Merge remote-tracking branch 'origin/master' into lh_avoid_crossing_perimeters 2020-12-01 14:31:22 +01:00
tamasmeszaros
8027f6608a Fix arrange distance with enabled sequential printing
fixes #5258
2020-12-01 14:08:07 +01:00
David Kocik
d47e6bfd5c Stop showing Exporting finished notification after exporting error. 2020-12-01 13:04:19 +01:00
David Kocik
994b69f19b cleanup 2020-12-01 12:06:10 +01:00
David Kocik
247f3a7dbe Set boost to use utf8 for system messages (in cmake). Fix of #5180. 2020-12-01 12:06:10 +01:00
enricoturri1966
42a00a32df Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_animations 2020-12-01 10:43:32 +01:00
enricoturri1966
24a8f832bc Fixed activation of shortcut dialog with '?' key 2020-12-01 10:43:04 +01:00
enricoturri1966
e842077cc6 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_animations 2020-12-01 10:18:00 +01:00
enricoturri1966
430648471a Follow-up of 6ae1a10614 - Fixed typo 2020-12-01 10:17:35 +01:00
enricoturri1966
67d42c7053 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_animations 2020-12-01 08:45:50 +01:00
enricoturri1966
dc736f7855 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-12-01 08:33:20 +01:00
enricoturri1966
6ae1a10614 #5333 - Reworked navigation of preview's sliders using the keyboard 2020-12-01 08:33:06 +01:00
tamasmeszaros
f04db7b595 Fix Arrange dialog distance input field usability 2020-11-30 15:57:53 +01:00
YuSanka
7e33047804 UnsavedChangesDialog: Linux specific: Made a first column wider
+ Field: Made def_width() wider
2020-11-30 13:48:22 +01:00
enricoturri1966
8cc46a450b Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_animations 2020-11-30 13:46:03 +01:00
enricoturri1966
0d4123192f Removed GLCanvas3D from parameters of NotificationManager methods 2020-11-30 13:45:17 +01:00
Pascal de Bruijn
3a3e9271b1 Field.cpp: wider def_width_wider
This fixes truncated ComboBox present on some systems
2020-11-30 04:25:13 -08:00
Vojtech Bubnik
2e73a75951 Linux specific fix for switching languages: PrusaSlicer 2.3 forces
en_GB locale when switching to English from the user interface,
while often Linux users have just en_US locales configured.

With this commit the user will have to select English (U.S.) or
English (U.K.). Usually English (U.S.) will work.

Vojtech is scared to touch the code for the other platforms (Windows and Mac)
as the language switching has been reworked multiple times and it is quite
fragile.
2020-11-30 11:57:16 +01:00
tamasmeszaros
982e6eb55b Don't apply result if fill bed was canceled. 2020-11-30 09:38:22 +01:00
Vojtěch Bubník
031eca533e
Merge pull request #5159 from mloidl/repetier_fix
Possible segmentation fault in physical printer dialog when Host is set to "Repetier"
2020-11-30 09:36:57 +01:00
Lukáš Hejl
87879034f6 Merge remote-tracking branch 'origin/master' into lh_avoid_crossing_perimeters
# Conflicts:
#	src/libslic3r/MotionPlanner.cpp
#	src/libslic3r/libslic3r.h
2020-11-29 17:27:23 +01:00
Lukas Matena
3f999acef8 Added a missing include (gcc 8.4) 2020-11-28 20:51:57 +01:00
Vojtech Bubnik
30d7ef2cf9 Bumped up version number to beta1.
Changed the location of PrusaSlicer profiles from PrusaSlicer-alpha
to PrusaSlicer-beta.
2020-11-28 11:14:53 +01:00
Vojtech Bubnik
3dd6d7e878 Escaping of ampersands in label texts (otherwise the ampersand is
processed as a hotkey prefix and not displayed at all).
Solves visualization of the new profile names containing ampersands
(Original Prusa Mini & Mini+)
Also the text was not correcly converted from UTF8.
2020-11-28 11:13:46 +01:00
David Kocik
6beb493255 Logging level at LoadFromOtherInstanceEvent 2020-11-28 10:56:42 +01:00
YuSanka
7ab1fcaa5c Fixed update after editing for "infill_ancor" and "infill_ancor_max" parameters.
* Update value only if it is changed
* Show info dialog (suggestion to change mm to %) only when parameter value is bigger than 100
2020-11-28 01:18:58 +01:00
YuSanka
b71c001845 Fixed suppress scrolling for preset comboboxes and some comboboxes on right panel on all platforms 2020-11-27 14:58:51 -08:00
David Kocik
a650801b80 call correct load_files at MacOpenFiles 2020-11-27 12:54:37 +01:00
enricoturri1966
184e4f77cd Bring PrusaSlicer to top when drag and dropping a project file on its executable 2020-11-27 09:35:32 +01:00
tamasmeszaros
dfbf4cbab2 Fix bed filling with more existing instances than needed 2020-11-26 15:11:54 +01:00
YuSanka
7f22ce63f6 Refactoring:
1. Use C++ style cast instead of C style
2. Deleted unused code from Search
2020-11-26 14:34:54 +01:00
enricoturri1966
d9be78d4cb Fixed bug introduced with 4d483f323f 2020-11-26 13:37:08 +01:00
enricoturri1966
10fb75edf0 Enabled tech ENABLE_CTRL_M_ON_WINDOWS -> Added customizable support for legacy CTRL+M settings dialog on Windows in preference dialog 2020-11-26 11:00:24 +01:00
enricoturri1966
e2b4de455b Customizable association of .3mf, .stl and .gcode files on Windows 2020-11-26 10:09:34 +01:00
enricoturri1966
7da1622e76 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-11-26 08:43:22 +01:00
enricoturri1966
4d483f323f GCode Viewer -> Show extimated layer time on the vertical slider for gcode produced by PrusaSlicer 2.3.0, Cura, Simplify3D, CraftWare, ideaMaker 2020-11-26 08:43:04 +01:00
YuSanka
9bb0848d27 PhysicalPrinterDialog: Fixed editing of the SLA physical printers
Bug repro:
1. Create sla physical printer.
2. Close dialog.
3. Open dialog to edit printer -> in preset combobox is selected fff printer preset
2020-11-25 22:48:12 +01:00
YuSanka
32c60b070e Hot fix for 9305535039 2020-11-25 21:18:51 +01:00
YuSanka
275bc52fdf Suppress scroll for SLA support and pad settings on the right panel 2020-11-25 20:13:26 +01:00
YuSanka
9305535039 OSX and Linux specific: Fixed preset selection 2020-11-25 20:13:26 +01:00
tamasmeszaros
0a932ebfe3 Enable http digest authentication for CURL 2020-11-25 13:58:03 +01:00
enricoturri1966
f0aa4de20a Fixed conflicts after merge with master 2020-11-25 12:42:26 +01:00
enricoturri1966
abf5a58336 Preference dialog centered on the application 2020-11-25 12:40:05 +01:00
David Kocik
3d78ae9271 Instance check on windows: concider whole window name when searching for another instance 2020-11-25 12:28:10 +01:00
YuSanka
77f845b0be Added a possibility to suppress scrolling for some ComboBoxes 2020-11-24 18:44:13 +01:00
tamasmeszaros
0bfbe18a3c Merge branch 'tm_arrange_perf_improve' 2020-11-24 16:20:17 +01:00
Vojtech Bubnik
62bdc192d8 Fix of [2.3.0-alpha4] Crash - several models cause crash when slicing #5208
Fixed some issues in internal anchors of the Adaptive Cubic infill.
The ugly and dangerous implicit casting operators in Line, MultiPoint,
Polyline and Polygon were made explicit.
2020-11-24 16:01:08 +01:00
tamasmeszaros
d34beab557 Add "slow" hint to rotations for arrangement 2020-11-24 15:36:39 +01:00
YuSanka
10c41290fd DoubleSlider: Fixed ruler for the short objects 2020-11-24 15:14:04 +01:00
YuSanka
250bd689f2 Fix for #5231. Suppress scrolling for the PresetComboBoxes when they aren't dropped. 2020-11-24 15:14:04 +01:00
tamasmeszaros
30693e29e4 Stop bed filling if enough instances are generated 2020-11-24 14:41:36 +01:00
enricoturri1966
9d71597e05 Fixed conflicts after merge with master 2020-11-24 13:37:52 +01:00
enricoturri1966
44fe3b8a00 Tech ENABLE_DRAG_AND_DROP_FIX -> Apply dialog implemented with 808c43cb4b also to drag and drop of project files into application executable 2020-11-24 13:35:43 +01:00
enricoturri1966
1ce8cddbda Do not show anything in vertical slider if estimated times are missing 2020-11-24 12:00:46 +01:00
enricoturri1966
b2ab5db69b ENABLE_GCODE_VIEWER set as default in:
DoubleSlider hpp/cpp
2020-11-24 11:53:52 +01:00
enricoturri1966
709404ce3e Fixed crash in texture compression 2020-11-24 11:09:05 +01:00
YuSanka
b2951cb43e Added "Remember my choice" checkbox to the message dialog after first clicking on parameter label in Settings tabs 2020-11-24 10:04:00 +01:00
enricoturri1966
4736408a46 Fixed localization on preview's legend button 2020-11-24 09:23:33 +01:00
tamasmeszaros
0fc1929076 Merge branch 'tm_arrange_wipe_tower_fix' 2020-11-23 17:52:20 +01:00
enricoturri1966
92953acc57 #5236 - Fixed color not correctly shown after slice
The bug was introduced with 148f4fe766 which is now replaced by this commit
2020-11-23 17:15:22 +01:00
David Kocik
95d65f9f30 Documentation for NotificationManager 2020-11-23 16:42:03 +01:00
tamasmeszaros
f1acde8024 Fix broken wipe tower arrangement
fixes #5207
fixes #5216
2020-11-23 16:05:24 +01:00
enricoturri1966
1d0b947fa8 ENABLE_GCODE_VIEWER set as default in:
GCodeViewer hpp/cpp
2020-11-23 14:30:31 +01:00
enricoturri1966
6b732e5a26 Merge remote-tracking branch 'origin/et_wipe_moves' 2020-11-23 13:48:03 +01:00
enricoturri1966
26befd5fa3 #5234 - Disabled pop-up menu on the wipe tower 2020-11-23 13:45:12 +01:00
enricoturri1966
f68cf49f3d Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_wipe_moves 2020-11-23 10:11:04 +01:00
YuSanka
2e0e63fed8 Tooltips for the parameters labels on Settings tabs are back 2020-11-21 18:16:34 +01:00
Vojtech Bubnik
641d27eef4 Fixed missing include 2020-11-21 16:05:58 +01:00
Vojtech Bubnik
25ca1fcf77 Some minor refactoring / polishing. 2020-11-21 13:16:03 +01:00
Vojtech Bubnik
288dbfd0d8 fixed typo in comment & formatting 2020-11-21 11:43:54 +01:00
enricoturri1966
ce7b843de7 GCode Viewer - Fixed filament label in legend 2020-11-21 11:30:14 +01:00
Vojtech Bubnik
ddc9e26f19 Follow-up to 80e8b5e985
Removed the legacy PreviewData.cpp,hpp
2020-11-21 11:02:20 +01:00
enricoturri1966
0e6acbc0e2 Preview - Visualization of wipe mones 2020-11-21 10:36:10 +01:00
YuSanka
b7abe7dfa9 Added "Suppress to open hyperlink in browser" parameter in Preferences 2020-11-20 18:46:34 +01:00
tamasmeszaros
93aaf660cf Fixes for arrange menu
Fixed issues:
- Imgui window is aligned with the arrange toolbar button
- Reset and Arrange buttons added onto the window
- Window closes after clicking the canvas or hitting ESC
- Tooltip extended with instructions for using the arrange menu

Remaining issues:
- Imgui arrange button closes the menu after clicked
- Menu is not in "exclusive or" relationship with other imgui windows.
2020-11-20 17:52:53 +01:00
YuSanka
9f30ea535a Windows specific: Fixed layout of fields inside the OG_CustomCtrl 2020-11-20 17:27:44 +01:00
YuSanka
bca000a739 Font of the DoubleSliders is changes to default (#5121) 2020-11-20 17:27:44 +01:00
YuSanka
5330b34d0a Added "Filament -> Spool weight" parameter 2020-11-20 14:31:11 +01:00
Vojtech Bubnik
d5e6b17d70 Merge branch 'master' of https://github.com/Prusa3D/PrusaSlicer 2020-11-20 13:40:40 +01:00
tamasmeszaros
20995c7b7a Merge branch 'tm_fill_with_instances' 2020-11-20 13:05:05 +01:00
Enrico Turri
cf42e9fc6e Fixed typo 2020-11-20 12:01:59 +01:00
tamasmeszaros
adf81af6de Prototype feature: fill plater with instances of selected object
#fixes #1350
2020-11-20 09:58:52 +01:00
tamasmeszaros
bc3696bd42 Save and load arrange settings to app_config 2020-11-20 09:57:52 +01:00
tamasmeszaros
d5bdaceff2 Right mouse reaction to arrange button
Working arrange settings popup
2020-11-20 09:57:52 +01:00
David Kocik
a0239a7509 close export finished notification after eject atempt 2020-11-20 09:43:16 +01:00
YuSanka
5144feb319 Estimated printing time per layer for SLAPrint
Split the time if it's needed
2020-11-19 21:41:51 +01:00
David Kocik
5f97b2512b Merge remote-tracking branch 'aegean-odyssey/ao_profile_resources_patch' into master 2020-11-19 19:02:32 +01:00
David Kocik
c6e9b48db5 eject debug log 2020-11-19 15:57:38 +01:00
enricoturri1966
a1905d9b9e ENABLE_GCODE_VIEWER set as default in:
MainFrame hpp/cpp

Plater hpp/cpp
2020-11-19 14:59:46 +01:00
enricoturri1966
ef9cea76c2 ENABLE_GCODE_VIEWER set as default in:
GLCanvas3D hpp/cpp

GUI_Preview hpp/cpp
2020-11-19 12:29:19 +01:00
YuSanka
4cc3e939da Localization: Update for the CZ, DE, ES, FR, IT and PL languages 2020-11-18 17:25:05 +01:00
YuSanka
03b336145f Updated UI for the "infill_anchor" parameter 2020-11-18 17:00:08 +01:00
enricoturri1966
df19697d8e Fixed Shift+A to arrange selection 2020-11-18 15:14:49 +01:00
enricoturri1966
72f9cc07e8 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-11-18 14:10:39 +01:00
enricoturri1966
d0c87eb7ca Added missing include 2020-11-18 14:10:02 +01:00
YuSanka
feffb66085 Ruler for DoubleSlider: Added estimated print time 2020-11-18 05:02:51 -08:00
YuSanka
cb844a4034 DoubleSlider's ruler is implemented in respect to the use with sequential printing of objects 2020-11-18 05:02:51 -08:00
YuSanka
6e748f2e4a Implemented ruler for the vertical DoubleSlider 2020-11-18 05:02:51 -08:00
enricoturri1966
badb85650e Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-11-18 13:42:54 +01:00
enricoturri1966
24b425cf57 Follow-up of 808c43cb4b -> Fixed drag and drop of non-project files 2020-11-18 13:42:17 +01:00
enricoturri1966
0ed3262645 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-11-18 13:05:04 +01:00
enricoturri1966
87e1875822 ENABLE_GCODE_VIEWER set as default in:
SysInfoDialog.cpp

Selection hpp/cpp

Preferences.cpp

GUI_Utils.hpp

KBShortcutsDialog.cpp
2020-11-18 13:04:34 +01:00
YuSanka
5be9d42519 Localization, new POT 2020-11-18 12:30:00 +01:00
YuSanka
a9f6e6da9d Changed layout of the "Machine limits" settings tab 2020-11-18 12:08:09 +01:00
enricoturri1966
faff112ea8 ENABLE_GCODE_VIEWER set as default in:
3DScene hpp/cpp

AboutDialog.cpp

BackgroundSlicingProcess hpp/cpp

BitmapCache.cpp

ConfigWizard_private.hpp

GUI_App hpp/cpp

GUI_Init.cpp
2020-11-18 10:44:03 +01:00
David Kocik
16dd7c74f1 boost canonical fix at instance check. Hopefully a fix of #4973 2020-11-17 15:03:34 +01:00
David Kocik
1e12b99338 fix of segfault on startup at SplashScreen::SetText 2020-11-17 14:43:52 +01:00
enricoturri1966
a20ce2f484 ENABLE_GCODE_VIEWER set as default in 3DBed.hpp/.cpp 2020-11-16 17:29:21 +01:00
enricoturri1966
afddcf71db Preview - Paint in grey toolpaths belonging to layers containing pause prints or custom gcodes 2020-11-16 15:01:13 +01:00
Lukáš Hejl
20916e2362 Disable filed with max detour length when avoid crossing perimeters is disabled 2020-11-16 14:22:32 +01:00
Lukáš Hejl
c828a5d6e9 Added the possibility to set the maximum length of the detour 2020-11-16 14:22:32 +01:00
Vojtech Bubnik
e77fc43159 Merge remote-tracking branch 'remotes/origin/master' into lh_adaptive_infill_hooks 2020-11-16 10:54:19 +01:00
Vojtech Bubnik
4280fdb5f2 Reworked connection of infill lines to perimeter lines.
Added a new "infill_anchor" parameter.
2020-11-16 10:54:00 +01:00
enricoturri1966
e04c6a4d17 Fixed screen-size for point markers used to visualize retraction/unretractions and other options in preview 2020-11-16 10:29:54 +01:00
enricoturri1966
9b3ff9b1cf Zoom max limit increased from 100 to 250 2020-11-16 08:48:44 +01:00
enricoturri1966
808c43cb4b Added dialog to choose import action when dragging and dropping a project file 2020-11-16 08:39:25 +01:00
Martin Loidl
c5391d3354 fixed possible segmentation in physical printer dialog
* When pressing "Refresh Printers" in Physical Printer Dialog slicer
  crashed because of a wrong cast
2020-11-14 21:46:54 +01:00
enricoturri1966
0688a76c73 Code cleanup 2020-11-13 11:50:52 +01:00
enricoturri1966
e78e3ad80b Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_sequential 2020-11-13 10:46:41 +01:00
YuSanka
172c1bbab7 Fix the typo in 932dfb4fca
The resize of the Spincontrol was wrong placed in the code
2020-11-12 21:43:21 +01:00
YuSanka
d962d431c0 Localization:
* added missed phrases
* fixed some phrases
* updated POT-file and PO/MO-files for the CZ-translation
2020-11-12 21:35:39 +01:00
enricoturri1966
9e4cb893f7 Sequential print visualization using vertical slider in preview -> Added travel moves 2020-11-12 16:29:44 +01:00
YuSanka
932dfb4fca GTK3 specific : Fix of #5053 2020-11-12 15:33:24 +01:00
YuSanka
353536ab86 Physical printers dialog: Update Test button in respect to the inputted printhost 2020-11-12 15:24:47 +01:00
YuSanka
4eded76136 Custom controls : The width for full_width fields is updated according to the custom control width
(thanks to the @supermerill for the mention on it, 6acf6bdf21)

+ Deleted redundant background color, as mentioned in the #5062
2020-11-12 10:13:16 +01:00
enricoturri1966
80e8b5e985 Removed the legacy PreviewData.cpp,hpp 2020-11-11 16:38:51 +01:00
enricoturri1966
4ad42d6171 WIP - Sequential print visualization using vertical slider in preview (missing travel moves) 2020-11-11 16:22:09 +01:00
David Kocik
0a4ce079e8 escape_ampersand function and changed order of printer names and pictures in config wizard 2020-11-11 16:08:27 +01:00
enricoturri1966
4f85a42830 Follow-up of bb74d2da5b and 7b2aca0159 -> Removed inclusions of GCode/Analyzer.hpp and GCodeTimeEstimator.hpp 2020-11-11 15:41:48 +01:00
YuSanka
a2b915af0f Fixed of #5081
Width of sub-label is calculated by using of GetTextExtent() instead of PaintDC->GetMultiLineTextExtent, because of PaintDC is not OK sometimes.
For example on GTK3 PaintDC->IsOk() only, when it's using in a native paint event
see https://github.com/wxWidgets/wxWidgets/blob/master/src/gtk/dc.cpp, line 346
2020-11-11 12:04:15 +01:00
YuSanka
e20d8f1623 MM print : Fixed re-scaling of the Extruders column in the Object list 2020-11-10 11:06:33 +01:00
David Kocik
422ad1c5bf Callback stored at std::function for notification hyperlink. Notification progress bar draft. 2020-11-10 09:22:47 +01:00
David Kocik
870aba8d15 Large notification buttons and icons 2020-11-09 15:15:30 +01:00
enricoturri1966
a72fb79f72 #5098 - Fixed no preview after language change 2020-11-09 14:27:00 +01:00
Lukas Matena
2618992c8b Fix of an ASAN crash on app close (Linux) 2020-11-09 14:00:58 +01:00
enricoturri1966
bf12c7cb8c GCode Viewer - Fixed color print visualization for gcode containing multiple extruders 2020-11-09 13:06:20 +01:00
enricoturri1966
479d4b70f2 GCode Viewer - Show print/printer/filament settings names in legend 2020-11-09 08:41:14 +01:00
YuSanka
8448d1a1dc OSX specific : Set top border for the mode buttons, when settings pages has new layouts
(when tabs bar is hidden)

+ Code cleaning for OG_CustomCtrl (delete unused input parameter from the draw_blinking_bmp())
2020-11-06 16:24:03 +01:00
YuSanka
1492bc9cd5 Localization : Next phrases corrections and update for PrusaSlicer.pot 2020-11-06 12:14:19 +01:00
enricoturri1966
f1b5142daa Follow-up of 944e760722 -> Removed debug output line 2020-11-06 11:20:47 +01:00
enricoturri1966
411159b5e7 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-11-06 11:03:56 +01:00
enricoturri1966
944e760722 #4892 - Follow-up of 30481e1ea8 -> Fixed behavior of imgui dialog for settings of 3DConnexion devices (CTRL+M) on Windows 2020-11-06 11:03:41 +01:00
tamasmeszaros
2a98aa113c Remove unused RotoptimzeWindow imgui dialog.
It might be added in the future in a more polished form.
2020-11-06 10:06:05 +01:00
YuSanka
a131217ada Added missed parent for the SysInfoDialog
see f0a339758b
2020-11-05 22:19:48 +01:00
YuSanka
ed2f03ec79 Localization:
Some phrases are corrected in the code
The POT-file is updated
2020-11-05 22:17:49 +01:00
YuSanka
f0a339758b Fixed a Dialog position under OSX
Always set parent for the Dialog, if we want to see the Dialog in the same display as a parent.
Dialog will be shown in the primary monitor otherwise.

+ fixed a draw of the canvas legend when we move application between Retina and non-Retina displays
2020-11-05 11:53:16 -08:00
David Kocik
e9295e268a config wizard printer selection - changed vertical spacing 2020-11-05 17:43:40 +01:00
enricoturri1966
8491872fb7 #5079 - Fixed GCode Viewer changing files modified date on Windows 2020-11-05 14:02:43 +01:00
enricoturri1966
6d56e60091 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-11-05 11:02:08 +01:00
enricoturri1966
aea09b8347 #5072 - Added color icon into 'Print' items in legend for gcode color print visualization 2020-11-05 11:01:54 +01:00
enricoturri1966
2ec5a0d46c Fixed visualization of gcode toolpaths for spiral vase mode 2020-11-05 11:00:04 +01:00
YuSanka
ea5fdcd7b1 Removed cog icon from the horizontal slider.
+ Shortcut "Shift+G" works from the Preview canvas now (not just from the focused slider as before)
2020-11-04 07:30:33 -08:00
YuSanka
11ee0cc2cc Hot-fix for my last commit (d576c029bd) 2020-11-04 13:14:57 +01:00
Lukas Matena
ab6af3ff68 Fix of #5058 (failing build with wx3.0) 2020-11-04 11:58:45 +01:00
YuSanka
d576c029bd CustomCtrl : fixed correction of the CustomCtrl's line height in respect to the height of the inside controls (fields or widgets)
Issue was appeared on the Ubuntu 20.04
2020-11-04 10:17:32 +01:00
David Kocik
3ca3a544a8 New Export Finished notification showing path and opening containing folder. Fix of #4917. Fixed wrongly grayed eject button in File menu. Hopefully fix of ctrl shortcut of tooltips at sidebar. 2020-11-04 09:29:08 +01:00
YuSanka
4d7b5d4451 "Sequential slider applied only to top layer" parameter from the Preferences is applied just for the horizontal slider now 2020-11-03 15:45:23 +01:00
Lukas Matena
b84efca01e Degree sign in FDM supports gizmo dialog:
The sign is used insted of 'deg' and it was moved into the slider,
to make it consistent with sliders in SLA gizmos.
2020-11-03 15:15:09 +01:00
YuSanka
1c1b1bc019 Custom control : Fixed un-hovering for labels, which work as a hyperlinks 2020-11-03 13:40:49 +01:00
enricoturri1966
f94e94f53e GCode tool marker set as visible by default 2020-11-03 09:27:18 +01:00
enricoturri1966
54d6834553 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-11-03 08:41:14 +01:00
enricoturri1966
30481e1ea8 Tech ENABLE_CTRL_M_ON_WINDOWS [Experimental] to re-enable imgui dialog for settings of 3DConnexion devices (CTRL+M) on Windows 2020-11-03 08:41:04 +01:00
YuSanka
0a3109030e PhysicalPrinterDialog : fixed layout in update() 2020-11-02 22:04:40 +01:00
YuSanka
186d408cf4 Big code cleaning
Deleted all unused code
2020-11-02 06:48:30 -08:00
YuSanka
a87ec980a7 Hot fit for last commit : use "en" language marker, when "translation_language" wasn't saved to the AppConfig 2020-11-02 06:48:30 -08:00
YuSanka
b2700a8ac6 Custom control : Bug fixing
* OG_CustomCtrl is inherited from the wxPanel instead of the wxControl now.
  As a result, Tab-key is working now for the fields inside the custom control
* Open localized web-page if any exist for labels

+ Fixed update of icons inside the PresetComboBoxes after switching between Dark/Light modes
2020-11-02 06:48:30 -08:00
YuSanka
32b8be600c Custom control: Fixed bitmaps layout under OSX
+ Implemented hyperlinks for parameters labels to the help page
2020-11-02 06:48:30 -08:00
YuSanka
4dc78a424e Custom controls : OSX-specific fix. Get bitmap height in respect to the scaling on Retina 2020-11-02 06:48:30 -08:00
YuSanka
e05080c53b Fixed update of the field related to the "extruders_count" parameter after printer preset change 2020-11-02 06:48:30 -08:00
YuSanka
1c22d788aa Custom control : Implemented blinking icon 2020-11-02 06:48:30 -08:00
YuSanka
4f5efc99fb Custom control : Action buttons are "alive" now
- show tooltips for buttons
- LBtnClick invokes revert functions for the field
2020-11-02 06:48:30 -08:00
YuSanka
e93e80166b Custom control : fixed re-scaling for MSW 2020-11-02 06:48:30 -08:00
YuSanka
1b3c288b35 Custom control : Implemented update items visibility in respect to the mode 2020-11-02 06:48:30 -08:00
YuSanka
534a2f5d33 Custom control : Fixed color of the colored label, associated with option, which doesn't have a corresponded field 2020-11-02 06:48:30 -08:00
YuSanka
7022fb0891 Fixed position for all controls from the settings tabs 2020-11-02 06:48:30 -08:00
YuSanka
f1a74367ed Choice field: Use wxComboBox instead of wxBitmapComboBox for non-OSX platforms 2020-11-02 06:48:30 -08:00
YuSanka
74d6aea4d4 Custom control: first implementation 2020-11-02 06:48:30 -08:00
enricoturri1966
6bf839b315 Show the name of the loaded G-code in the application title bar 2020-11-02 14:10:34 +01:00
enricoturri1966
9dbc0c6ba2 #4395, #4701, #1336 - Added the ability to invert the scroll wheel when zooming 2020-11-02 13:08:13 +01:00
enricoturri1966
516db43b20 Improved handling of loading invalid .gcode files 2020-11-02 11:59:37 +01:00
enricoturri1966
38e883a66e Fixed scaling of mouse position for mouse wheel event handling in imgui on Retina monitors 2020-11-02 10:17:28 +01:00
enricoturri1966
3ec057bef7 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-11-02 09:37:09 +01:00
enricoturri1966
692917806a #5013 - Incorrect OpenGL warning when starting PrusaSlicer GCode Viewer with a file argument 2020-11-02 09:36:55 +01:00
Lukas Matena
d75ca6b76d New icon for FDM supports gizmo 2020-11-02 08:30:33 +01:00
Lukas Matena
1130d78c19 Fix of #3505 (place on face oriented objects at slight angle sometimes) 2020-10-29 12:49:43 +01:00
Vojtech Bubnik
cfbc9f0845 Fix of previous commit. 2020-10-28 11:11:58 +01:00
Vojtech Bubnik
eb103e45a6 Revert of d29a82e944 2020-10-28 11:11:58 +01:00
Lukas Matena
0a9f316d64 Fix of #5009 (Shift+Tab shall be disabled in gcode viewer mode) 2020-10-28 10:49:04 +01:00
Vojtech Bubnik
7c06054904 Manual merge of Unmount message enhancement #4523 2020-10-28 10:09:47 +01:00
Vojtech Bubnik
7c571c1d9d Merge of pull request Add support for RepetierServer #4384 by @docbobo
with the following refactorings:

1) Removed the "printhost_slug" config from the Printer config
   and from all the Printer config related spots.
2) "printhost_slug" renamed to "printhost_port". Slug sounds nasty.
3) Improved error reporting of RepetierHost class.
4) Refactored for the new "Physical Printers"

Following refactorings were done independently of the Repetier pull request:
1) Removed PrintHost static print config.
2) Clean-up after conversion of print host configuration
   from Printer config to Physical Printer config.
3) Fixed some issues, where the Printer config was still queried for
   host configuration. Vojtech believes that this should not happen
   after the host configuration is converted to physical printers.

Vojtech still feels that more refactoring is needed in regard to porting
the host configuration from Printer profile to the new Physical Printer
profile.
2020-10-28 09:51:05 +01:00
enricoturri1966
00ec9cc4ed Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-10-27 14:01:55 +01:00
enricoturri1966
c8d875bee1 #4987 - Fixed camera switches back to non-Perspective camera after slice 2020-10-27 14:01:42 +01:00
enricoturri1966
b9c0c15104 Fixed build when ENABLE_GCODE_VIEWER is disabled 2020-10-27 13:52:54 +01:00
Vojtech Bubnik
06c16b085d Snapshots extended to capture and restore sla_print, sla_material,
physical_printers.
Updated the snapshots dialog to display sla_print and sla_material.
Updated the snapshots dialog to display physical_printer instead of
printer if the physical_printer key is nonempty.
The "physical_printer" key was moved from [extras] to [presets] section
of PrusaSlicer.ini
2020-10-27 12:48:31 +01:00
David Kocik
15a75ec6b0 prevent notifications moving left when in preview 2020-10-27 09:39:58 +01:00
David Kocik
8e20515060 added namespace boost::placeholders to indentify _1, hopefully fix of #4983 2020-10-27 09:16:09 +01:00
Lukas Matena
b27bf1815c Renamed FDM supports and seam gizmos 2020-10-26 16:23:04 +01:00
enricoturri1966
21f1853d53 Fixed update of sequential slider when showing/hiding feature types using the legend 2020-10-26 15:01:37 +01:00
enricoturri1966
e6e3e98fd5 Fixed editable lower thumb of sequential slider when changing settings in preference dialog while the preview is hidden 2020-10-26 13:52:51 +01:00
Lukas Matena
f4311f67ef Fix of #4969: XDG path detection with wx3.0 2020-10-26 12:54:00 +01:00
enricoturri1966
a830b7ea83 Setting dialog for 3DConnexion device (CTRL+M) enabled on MAC 2020-10-26 11:35:53 +01:00
YuSanka
d29a82e944 Fixed 493cdbd069
Instead of "sep" should be used "\t" to the "Shift"-part will not be spoiled
2020-10-26 09:18:04 +01:00
YuSanka
493cdbd069 Added shortcut ("Shift+Tab") for the menu item "Collapse sidebar" 2020-10-25 15:10:51 +01:00
Vojtech Bubnik
ebdf2acd03 Follow-up to
Use https in config update URLs

	http://files.prusa3d.com/* always redirects to HTTPS so use https scheme
    directly.

The pull request broke updates to those who installed configs with
http://, not https:// prefix.
2020-10-24 16:35:34 +02:00
David Kocik
64f6499db5 Fix of empty error string. No testing errors for boost::filesystem::permission. 2020-10-23 18:35:32 +02:00
Lukas Matena
ab6e653de4 Rendering painted triangles - increase polygon offset to avoid artifacts 2020-10-23 17:34:24 +02:00
David Kocik
115cbd4650 aditional information to FAIL_COPY_FILE error message and changed bools controlling Export finished notification 2020-10-23 10:18:14 +02:00
David Kocik
a623630614 exportToRemovableFinished notification fix in simple mode 2020-10-23 10:10:15 +02:00
Lukas Matena
43c6f4cb6c Fix rendering painted triangles (not showing when viewed in direction of the normal) 2020-10-23 08:07:47 +02:00
Lukas Matena
057c8a1c1d Changed datadir path on Linux to xdg specs (2911)
In case the new dir does not exist and the old one does,
show a warning to the user.
2020-10-23 07:52:11 +02:00
Lukas Matena
5670f5ffb0 Fix couple of build issues on gcc 2020-10-23 07:51:58 +02:00
Vojtech Bubnik
027ab4fb02 GUI initialization extracted from PrusaSlicer.cpp to GUI_Init.cpp/hpp.
Implemented try/catch blocks for Slic3r exceptions and std::exceptions
with GUI error reporting. This is extremely important to report
corruption of PrusaSlicer.ini.
2020-10-22 16:28:55 +02:00
Vojtech Bubnik
81b6883710 Thread names shortened to 15 characters to fit Posix norm.
Added get_current_thread_name()
2020-10-22 14:11:08 +02:00
enricoturri1966
be73962699 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-10-22 13:54:45 +02:00
enricoturri1966
4222d80afe Fixed crash on Windows when dragging and dropping a non gcode file into gcode viewer exe file 2020-10-22 13:54:31 +02:00
Vojtech Bubnik
6531061d09 Support for naming slicer own threads for debugging.
The following threads are named with this commit:
slic3r_main, slic3r_BackgroundSlicingProcess,
slic3r_tbbpool_xx_yy where xx is a one based index of the TTB thread
and yy is the platform thread ID.
2020-10-22 13:54:15 +02:00
enricoturri1966
8d59abfdf8 Fixed color of layer containing pause prints in non-gcode preview 2020-10-22 12:55:13 +02:00
enricoturri1966
844ec8447d ENABLE_PAN_ROTATE_SCENE_IN_GIZMOS set as default 2020-10-22 11:01:30 +02:00
enricoturri1966
0e04c84879 Follow-up of 68a7e5ce41 -> Updated keyboard shortcuts dialog 2020-10-22 10:08:16 +02:00
Vojtech Bubnik
acbf25681a Wifi Duet upload: Improved some string copying. 2020-10-21 14:42:08 +02:00
enricoturri1966
a5961ef981 New icons for standalone gcode viewer 2020-10-21 13:49:39 +02:00
enricoturri1966
0d239520e6 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-10-21 13:17:58 +02:00
enricoturri1966
4ab226dad3 Follow-up of 7cf350d0bc -> Fixed unselection of objects when any gizmo is active and CTRL is pressed 2020-10-21 13:17:41 +02:00
YuSanka
ffd09892f9 DoubleSlider : Fixed motion of the upper thumb, when no one thumb is active 2020-10-21 13:17:07 +02:00
enricoturri1966
6fd946f73e Follow-up of 68a7e5ce41 -> Stop painting in painting gizmos when CTRL is pressed 2020-10-21 11:25:28 +02:00
enricoturri1966
bf5bfb8b65 Follow-up of 68a7e5ce41 -> Disable visualization of hovering on objects while any gizmo is active and CTRL is pressed 2020-10-21 11:04:48 +02:00
enricoturri1966
d31da5bbe0 Follow-up of 68a7e5ce41 -> Disable GLGizmoFlatten markers when CTRL is pressed 2020-10-21 10:30:25 +02:00
enricoturri1966
7cf350d0bc Follow-up of 68a7e5ce41 -> Fixed objects selection when any gizmo is active 2020-10-21 09:52:05 +02:00
Lukas Matena
d0ad098661 Fix debug build 2020-10-20 17:55:32 +02:00
YuSanka
a4962b4fe6 Fixed a build 2020-10-20 17:23:57 +02:00
Lukas Matena
81ce368e5d Merged PR #4345 - support for DuetSoftwareSupport print host (thanks @wilriker) 2020-10-20 16:42:07 +02:00
Lukas Matena
8a88b353f3 Added missing forward declaration for gcc 2020-10-20 16:41:25 +02:00
YuSanka
981feebc94 Behavior of the "cog" icon is changed to avoid misunderstandings appear in issue #4891:
"Cog" icon is enabled now every time, but it will had next behavior:
1. Add physical printer, if logical printer is selected
2. Edit physical printer, if it is selected.

 + PresetComboBox: Fixed the black rectangle instead of icon for the "Add/Remove presets" item
2020-10-20 16:38:13 +02:00
YuSanka
36cb544e5b Fix of #4909
Deleted redundant control of the mode update. We should update DoubleSlider's mode every time
2020-10-20 11:17:51 +02:00
David Kocik
068a254ef0 configuration wizard: added Checked information to sorting algortihm on filaments page. Fix of #4922 2020-10-20 10:35:48 +02:00
Lukas Matena
197d2b968c Tiny changes in the new Duet3D dsf support code 2020-10-19 17:23:13 +02:00
enricoturri1966
68a7e5ce41 Rotating/panning the view, using mouse left/right + CTRL modifier, while any gizmo is active 2020-10-19 15:55:16 +02:00
YuSanka
0f8f412e90 Fixed #4918
Added missed "Add/Remove filaments" item for the filament preset combobox
2020-10-19 15:10:14 +02:00
YuSanka
11b6d4bcf5 Localization: Updated POT and List.txt
+ SavePresetDialog class is extracted from the PresetComboBoxes.cpp the the separate files
2020-10-19 14:18:02 +02:00
enricoturri1966
5d3d9d9b92 #4888 - Fixed jerky movements in Preview when using 3D mouse 2020-10-19 12:34:33 +02:00
Lukas Matena
daeb618812 Merge branch 'add-duet-software-framework-support' of https://github.com/Duet3D/PrusaSlicer into Duet3D-add-duet-software-framework-support 2020-10-19 11:50:31 +02:00
Lukas Matena
a47e94ebd5 Fix of #4889 (malfunctioning single instance detection on macOS):
This was hapenning because the datadir did not exist yet, which was interpreted as another instance running.
2020-10-19 11:08:03 +02:00
YuSanka
9fdaa1bdbe Fixed typo in 8a1eba5a09 2020-10-19 10:08:21 +02:00
YuSanka
a61d0a9532 Suppress edit of items of UnsavedChangesDialog, fixed update of the information line
+ added white version for icons "exit" and "switch_presets"
2020-10-18 13:44:15 +02:00
Vojtech Bubnik
f1c9d39302 Unifying "unretraction" and "deretraction" #3862
Deretraction or unretraction? #3541
2020-10-17 21:23:31 +02:00
Vojtěch Bubník
c59db4e7fe
Merge pull request #4213 from onovy/https
Use https in config update URLs
2020-10-17 21:13:43 +02:00
Vojtech Bubnik
8a1eba5a09 Improved wording and localization of the Unsaved Changes Dialog. 2020-10-17 14:04:11 +02:00
enricoturri1966
06c35297b6 Disabled icon to add color changes, print pauses and custom gcode in vertical slider of standalone gcode viewer 2020-10-17 14:01:45 +02:00
enricoturri1966
ce3fc31b48 #4880 - Initialization of OpenGL data used by GCodeViewer done on the first call of GCodeViewer::render() 2020-10-17 13:04:58 +02:00
Vojtech Bubnik
c2f5cef8a4 Reverted the "single_instance" condition check, David thinks
the old way is correct.
2020-10-17 12:57:02 +02:00
Vojtěch Bubník
9fec55e3e5
Merge pull request #4841 from DenkBrettl/langfix
Update language to be more clear
2020-10-17 11:12:22 +02:00
Vojtech Bubnik
7896de892b Fix of the "dock" menu on OSX to start a new instance of PrusaSlicer
in case a single instance is disabled.
Make the "single_instance" enabled by default on OSX initially
to match the platform.
2020-10-17 09:23:05 +02:00
YuSanka
bc2088eb78 Add info for the removed "Print host upload" group 2020-10-16 16:30:46 +02:00
Lukas Matena
637324d386 Do not render bed texture when looking from below the bed in hollowing gizmo
The same as it is for FDM/SLA supports and seam gizmos.
2020-10-16 15:56:45 +02:00
enricoturri1966
ccd8e3644e Fixed build when tech ENABLE_GCODE_VIEWER is disabled 2020-10-16 14:08:24 +02:00
YuSanka
0f85777a79 UnsavedChangesDialog: Updated icons on "Discard" buttons
+ Put "exit" icon on "Quit" menu item
2020-10-16 13:21:23 +02:00
Vojtech Bubnik
54cbf2abc3 Refactoring of UnsavedChangesDialog:
Use std containers instead of wxWidgets containers.
Use unique_ptr for memory management.
2020-10-16 12:20:57 +02:00
YuSanka
899d8fc361 Show "Merge" item of the context menu for multiple selection only for objects or instances 2020-10-16 11:01:27 +02:00
David Kocik
0aced42f64 OSX dock menu item start new instance visibility 2020-10-16 10:49:15 +02:00
enricoturri1966
43bf7e81fd Temporary disabled skipping of invisible paths when moving thumb on horizontal slider in preview 2020-10-16 09:42:48 +02:00
YuSanka
772b0b760e UnsavedChangesDialog
* Fixed a crash on preset changing and press Cancel button in SavePresetDialog
* Added Cancel button for MessageDialog after check "Remember my choice"

SplashScreen
* Set Version string in respect to the height of a Title string
2020-10-15 22:47:42 +02:00
David Kocik
1b2dcabf94 fix of OSX dock menu items 2020-10-15 19:40:57 +02:00
David Kocik
4ec5ea34bf OSX dock menu items 2020-10-15 18:53:35 +02:00
Vojtech Bubnik
a8fda7d2f1 Fixed some more issues in copy / paste of objects and volumes
due to the layer_height_profile, paint on supports and seam
being stored as an object on its own onto the Undo / Redo stack.
2020-10-15 17:29:49 +02:00
YuSanka
00a7799341 UnsavedChangesDialog : improvements
* Added "Remember my choice" checkbox
* Center on the screen and set position in respect to the position of mainframe or settings dialog

Preferences : Added checkboxes for enable/suppress showing of the UnsavedChangeDialog

SearchImGui : close after parameter selection_is_changed_according_to_physical_printers

PhysicalPrinterDialog, SavePresetDialog : Center on the screen
2020-10-15 16:53:14 +02:00
David Kocik
7531da603b boost::filesystem::canonical at non windows instance check path to binary 2020-10-15 15:22:46 +02:00
Vojtech Bubnik
a009b24124 Updated textation of the Filament selection config wizard page. 2020-10-15 14:16:53 +02:00
enricoturri1966
58d57f9b71 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-10-15 12:43:09 +02:00
enricoturri1966
36bedfdebf #4719 - Fixed toolpaths generation when background process is on 2020-10-15 12:42:58 +02:00
enricoturri1966
77d292283b Fixed rendering of thumbnails 2020-10-15 12:20:38 +02:00
Vojtech Bubnik
c388c42055 Fixed assignment of the slicing timestamp to the slicing finished
notification.
2020-10-15 12:02:55 +02:00
enricoturri1966
3fc12fdaaa Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-10-15 10:25:22 +02:00
enricoturri1966
8580ecacca Added option to apply the sequential slider in preview to top layer only or to whole gcode toolpaths 2020-10-15 10:25:13 +02:00
Vojtech Bubnik
b25548594d Notifications:
Revert of substitution of boost::bind with std::bind, does not compile
on all platforms.
Further polishing and documentation.
2020-10-15 09:56:40 +02:00
David Kocik
d87ca6bdc1 bring_forward on recieved other instance msg 2020-10-15 09:52:29 +02:00
Vojtech Bubnik
87206cd695 NotificationManager documentation improvements 2020-10-15 09:20:05 +02:00
Vojtech Bubnik
263759aca6 Fix of Compile error in InstanceCheck.cpp on Linux (#4877) 2020-10-15 07:45:36 +02:00
Yuri D'Elia
1fd54938ef Use Ctrl+Shift+I to open a new instance instead of Ctrl+I
"Open new instance" overrider the "import" shortcut.

Use Ctrl+Shift+I for new instance, which is definitely less important
than importing new models.

Also document the shortcut in the Keyboard shortcuts dialog.

Fixes #4711
2020-10-14 20:51:21 +02:00
David Kocik
6eee0c043c order of checking lockfile in instance check 2020-10-14 18:17:42 +02:00
Vojtech Bubnik
adeab9b460 Fixed bugs introduced in refactoring of NotificationManager. 2020-10-14 17:51:51 +02:00
Vojtech Bubnik
607c237749 NotificationManager: Removed space reservation for "Slope visualization"
dialog, which is gone.
2020-10-14 17:19:11 +02:00
Vojtech Bubnik
447f4b8303 Polishing of NotificationManager:
Fixed pairing of PrintObjects with slicing warning notifications.
Removed or commented out dead code.
Added documentation.
2020-10-14 16:49:06 +02:00
David Kocik
83bd7ce7ab instance check - command line analysis - not return if only 1 argument 2020-10-14 14:46:52 +02:00
Vojtech Bubnik
cadebab07b Notifications refactoring: Reusing ImGUI windows, commenting out dead code. 2020-10-14 14:18:04 +02:00
Vojtech Bubnik
dd2cd62a4f WIP Review of NotificationManager: Fixed some typos, added some comments. 2020-10-14 12:57:40 +02:00
Vojtech Bubnik
e0c5309bc3 wxEVT_CREATE and wxEVT_ACTIVATE is not being called on the main frame
on application start-up, at least not on Windows.
wxEVT_CREATE was called for some control deep in the Plater, however
the event was delivered to the main frame and only for slicer, not
for G-code viewer. Thus the callbacks for 3D Mouse were not registered
for and the 3D mouse did not work on Windows.

Fixed by calling the callback registration from the first execution
of the Idle function.
2020-10-14 12:55:07 +02:00
David Kocik
d7686d7e6a Merge branch 'dk_instances' into master 2020-10-14 09:40:54 +02:00
David Kocik
2f5bce3d53 bug fix std::optional on mac 2020-10-14 09:26:06 +02:00
David Kocik
5e80dda623 instance check - not calling bring_forward imidietly after recieving msg on OSX 2020-10-14 08:52:18 +02:00
David Kocik
453408143f switching from slicer to gcode viewer - unlocking lock file 2020-10-14 08:48:38 +02:00
Vojtech Bubnik
afa31433d1 Notification manager refactoring: Use unique_ptr for management
of dynamic data.
2020-10-13 16:08:19 +02:00
enricoturri1966
52f51ba757 Small fix to a374cb1e62 2020-10-13 16:04:57 +02:00
enricoturri1966
a374cb1e62 Disabled unneeded event handling in standalone gcode viewer 2020-10-13 16:00:18 +02:00
Vojtech Bubnik
22755b31e3 Notification manager: Moved private definitions to private section. 2020-10-13 15:32:41 +02:00
Lukas Matena
04e18025f9 Fix build on macOS
std::optional<T>::value() not yet available
2020-10-13 13:51:47 +02:00
Enrico Turri
571fbd23c0 Deadzone for 3DConnexion devices set to zero 2020-10-13 13:06:28 +02:00
enricoturri1966
e3e74f4ae0 #4864 - Fixed collapse sidebar using Shift+Tab 2020-10-13 11:31:12 +02:00
Lukas Matena
f0de7f13fc Added a missing include 2020-10-12 17:52:48 +02:00
Vojtech Bubnik
8c0b8f89d0 Updated the command line single-instance processing and help text.
Updated escaping of the command line arguments when passed to the other
instance.
2020-10-12 17:06:03 +02:00
Lukas Matena
fa74f50af1 Fixed clipping plane in painter gizmos:
Obsolete variable m_clipping_plane was used instead of getting the clipping plane from
the common gizmo data pool. This means the clipped parts of objects captured hits and
could not be painted through.
The clipped_mesh_was_hit variable is obsolete now. It was a mistake to introduce it in the first place.
2020-10-12 16:26:17 +02:00
David Kocik
4b224359ef starting prusaslicer from gcode viewer and vice versa, by menus or by stl drop on icon. Bring gcode viewer forward after start. 2020-10-12 15:26:19 +02:00
Lukas Matena
92b2d624a4 Painter gizmos: only render the circle cursor when the pointer is on the mesh
It does not paint otherwise, let the user know by not drawing it.
2020-10-12 14:46:48 +02:00
enricoturri1966
5356b72a86 Tech ENABLE_GCODE_DRAG_AND_DROP_GCODE_FILES set as default 2020-10-12 13:09:04 +02:00
enricoturri1966
f04d9c1806 Tech ENABLE_GCODE_APP_CONFIG as default 2020-10-12 12:38:34 +02:00
enricoturri1966
a633979d85 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-10-12 11:47:25 +02:00
enricoturri1966
7653611ec1 Fixed build when tech ENABLE_GCODE_VIEWER is disabled 2020-10-12 11:47:11 +02:00
Vojtech Bubnik
2385c0c2e8 Changed wording of "Revert from imperial units" 2020-10-12 11:37:43 +02:00
enricoturri1966
7630be6cf1 Extract icon from executable files on Windows 2020-10-12 10:44:50 +02:00
Lukas Matena
9755f82b90 Fix of tooltip updating when sidebar is being hidden/shown
The tooltip would only update when the toolbar was clicked, not when respective menu item or keyboard shortcut were used
2020-10-12 09:16:08 +02:00
Yuri D'Elia
a875b4f1c0 Document Shift+Tab in menus and shortcuts dialog 2020-10-12 09:16:08 +02:00
Yuri D'Elia
2f642ce83c Fix the collapse tooltip (uniform to "sidebar", show hotkey)
Sidebar is used everywhere else, so change "right panel" to "sidebar" in
collapse button.

Also show the hotkey, as done for "Tab"
2020-10-12 09:16:08 +02:00
Yuri D'Elia
732f371f4f Handle Shift+Tab also in the preview 2020-10-12 09:16:08 +02:00
Yuri D'Elia
e9225a545e Handle Shift+Tab to collapse/expand the sidebar 2020-10-12 09:16:08 +02:00
Yuri D'Elia
0bcfa06b09 Document "Tab" in the keyboard shortcuts dialog 2020-10-12 09:16:08 +02:00
Lukas Matena
40121c56e9 Fixed an undo/redo problem with SLA gizmo
When the undo/redo stack opened the SLA gizmo, it would erroneously obliterate all future snapshots
2020-10-12 09:06:47 +02:00
enricoturri1966
d0c5ed4130 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-10-12 08:39:51 +02:00
enricoturri1966
21366f56e7 Added menu command Configuration/Language to standalone gcode viewer 2020-10-12 08:39:40 +02:00
Lukas Matena
6f2ea224b9 Combo in painter gizmos replaced with radios (for cursor type selection) 2020-10-10 14:02:14 +02:00