Commit Graph

6504 Commits

Author SHA1 Message Date
Lukas Matena
f4311f67ef Fix of #4969: XDG path detection with wx3.0 2020-10-26 12:54:00 +01:00
enricoturri1966
e14c122d12 Fixed percentage value exported into gcode M73 lines 2020-10-26 11:44:38 +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
Vojtech Bubnik
ce020781d3 Refactored loading of Get/SetThreadDescription() on Windows:
These new API functions are not available on Windows 7 and on older Windows 10,
thus they are newly loaded dynamically and the functions using it retur
a bool indicating whether the functionality is supported or not.
Also the OSX variants that are not supported newly return false instead
of throwing an exception.

Fixes #4972 #4974
2020-10-26 08:09:17 +01:00
YuSanka
493cdbd069 Added shortcut ("Shift+Tab") for the menu item "Collapse sidebar" 2020-10-25 15:10:51 +01:00
Vojtech Bubnik
e1f6bb4a92 Follow up on Add G10 temperature G-code support for the RepRapFirmware flavour.
Reduced copy / paste.
2020-10-24 17:32:30 +02: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
8b647ab41b fix of copy_file_inner 2020-10-23 15:36:32 +02:00
Lukas Matena
8cd13803ca Updated the G10 RepRapFirmware pull request to current master 2020-10-23 13:27:45 +02:00
Lukas Matena
18f72d82b9 Merge branch 'pa_reprap_g10_temperature_support' of https://github.com/ardenpm/PrusaSlicer into lm_g10 2020-10-23 11:42:35 +02:00
David Kocik
cb2f751aed missing header 2020-10-23 11:19:31 +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
9a4376ddc6 Fix of previous commit 2020-10-22 17:54:32 +02:00
Vojtech Bubnik
b1b7a5ad1b Fix of ironing invalidation. Fixes
Ironing flag ignored on infill rotate #4937
Ironing does not take effect when you change Top Fill Pattern. #4900
Ironing layer not shown in preview when settings are changed #4510
2020-10-22 17:36:51 +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
YuSanka
0f9faeda98 Fixed conversion from/to imperial units for objects with parts/modifiers 2020-10-22 15:45:17 +02:00
Vojtech Bubnik
d8f45ff1d8 Workarounds and documentation of OSX posix incompatibilities 2020-10-22 14:57:50 +02:00
Vojtech Bubnik
723406dfea Workaround for OSX non-compliant implementation of
pthread_getname_np / pthread_setname_np
2020-10-22 14:45:15 +02:00
Vojtech Bubnik
0d2c31d0e4 and again a fix on Windows 2020-10-22 14:35:20 +02:00
Vojtech Bubnik
6e2a5419cc Fixes of previous commit on Posix platforms 2020-10-22 14:29:40 +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
Vojtech Bubnik
70e44c3e8e Fixed definition of psSlicingFinished to fix notification updates
after the slicing finishes.
2020-10-21 14:00:56 +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
tamasmeszaros
0db675721c Add installing of the desktop file to cmake 2020-10-19 14:44:45 +02:00
tamasmeszaros
bd271981d3 Add the desktop file for Linux desktops 2020-10-19 14:44:45 +02:00
tamasmeszaros
5ed525abb5 install symlink for gcodeviewer 2020-10-19 14:44:45 +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
ebcd073fd3 Removed unused include (related to #4912) 2020-10-19 11:16:43 +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
Vojtech Bubnik
86ee8e7687 Improved matching of Print and Filament profiles after switching the Printer
profile. The matching has the following priority:

1) Compatible Print profile with the same logical name aka alias.
2) Prefered Print profile with the same layer height.
3) Compatible Print profile with the same layer height.
4) Prefered Print profile.
5) Any compatible profile.

The same logic applies to the selection of Filament profile, only
a filament_type is compared, not the layer height.
2020-10-16 16:03:31 +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
Vojtech Bubnik
d49a98f154 When switching Printer profiles, a profile with the same logical name
aka alias is searched for first before activating the default
print / filament profile as configured in the printer settings.
2020-10-16 14:45:54 +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
tamasmeszaros
edb8b9f46d Cover various overhang types cumulatively 2020-10-16 11:14:57 +02:00
tamasmeszaros
fb1f3589ed Use rotated bounding box to calculate eccentricity 2020-10-16 11:14: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
enricoturri1966
daf1011705 Changed heuristic to clamp toolpaths width 2020-10-16 09:02:37 +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
Vojtech Bubnik
d30808c36c Merge branch 'master' of https://github.com/Prusa3D/PrusaSlicer 2020-10-15 13:35:53 +02:00
Vojtech Bubnik
90ddffa83c This broke the SLA support point generator test. Why? 2020-10-15 13:35:45 +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