Commit Graph

6504 Commits

Author SHA1 Message Date
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
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
19a115260a A little bit cheaper triangle random sampling + documentation. 2020-10-15 07:58:13 +02:00
Vojtech Bubnik
cc7eaef493 Fix of Cmd line output does not always show correct output file name #4872 2020-10-15 07:54:01 +02:00
Vojtech Bubnik
263759aca6 Fix of Compile error in InstanceCheck.cpp on Linux (#4877) 2020-10-15 07:45:36 +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
Megidd
3a194f9187 Replace deprecated Boost header in "admesh" 2020-10-12 11:34:31 +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
lukasmatena
89e4a78722
Merge pull request #4747 from wavexx/monospaced_gcode
Use monospaced fonts in gcode sections
2020-10-10 14:01:48 +02:00
enricoturri1966
fe971defcd Disabled tech ENABLE_ENVIRONMENT_MAP 2020-10-10 10:11:27 +02:00
Vojtech Bubnik
95af708171 Removed m_ prefix from public member variables. 2020-10-09 13:09:21 +02:00
enricoturri1966
32436aea6f Added code to allow to customize skipping invisible moves when moving horizontal slider thumb in preview 2020-10-09 13:00:20 +02:00
Vojtech Bubnik
170fe23b46 Fixing Undo / Redo issues after copy / paste due to not updating
ObjectIDs of support painting / seam painting / layer height profile.
2020-10-09 12:26:28 +02:00
enricoturri1966
203fc091a0 Transparent tool marker in preview 2020-10-09 12:21:00 +02:00
enricoturri1966
f16ef0643c Horizontal slider in preview applied only to top layer 2020-10-09 08:45:48 +02:00
enricoturri1966
25932e8072 Allow to disable editing of lower thumb in DoubleSlider::Control 2020-10-08 14:40:12 +02:00
enricoturri1966
691cdeb88c Fix in upgrade_text_entry_dialog() 2020-10-08 14:12:25 +02:00
enricoturri1966
6d00ed9e2f Follow-up of 3fdc48452e -> Modified logic to disable horizontal slider in preview 2020-10-08 14:09:39 +02:00
enricoturri1966
3fdc48452e Modified rendering of DoubleSlider::Control when disabled 2020-10-08 12:50:29 +02:00
enricoturri1966
cf013d5ab3 Follow-up of 2ecd78b0d5 -> More robust fix 2020-10-08 12:47:38 +02:00
enricoturri1966
8a99e2b237 Small refactoring in GCodeViewer 2020-10-08 11:21:27 +02:00
tamasmeszaros
267907e5ba SLA: Fix for crash with only 1 layer
fixes #4836
2020-10-08 10:00:55 +02:00
YuSanka
bcc23428fa UnsavedChangesDialog : added correct icons for the categories
+ fixed a crash when try to save changes for the SLA printer preset
2020-10-08 09:25:14 +02:00
enricoturri1966
e40593f2ef Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-10-08 08:33:05 +02:00
enricoturri1966
fdee18534b On Windows associate .gcode files to gcode viewer application 2020-10-08 08:32:51 +02:00
Klaus Naumann
3cd70489e3 Update language to be more clear 2020-10-07 18:08:16 +02:00
Lukas Matena
6871c2ccd8 Fixed updating of pages on startup, reverted changes from b17c829
The second commit should be no longer needed, the CallAfter cause crashes on Linux when switching technologies
2020-10-07 16:16:37 +02:00
enricoturri1966
ce0312acbd Fixed gcodeviewer application title on Linux and Mac 2020-10-07 16:02:01 +02:00
enricoturri1966
2ecd78b0d5 Fixed crash when moving horizontal slider thumb in preview with no toolpath active 2020-10-07 13:38:21 +02:00
enricoturri1966
9e0e597284 Skip invisible moves when moving horizontal slider thumb in preview 2020-10-07 13:19:44 +02:00
Vojtech Bubnik
e9d6e6ac8f Fix of previous commit 2020-10-07 13:01:48 +02:00
Vojtech Bubnik
ce3c31e77e Support symlinks to prusaslicer binary on OSX and Linux. 2020-10-07 12:54:56 +02:00
YuSanka
bab808941e Fixed redundant call of Tab::select_active_page(),
when printer technologist is changed

 + Some code cleaning:The code commented as experimental and unused is deleted
2020-10-07 11:52:51 +02:00
enricoturri1966
8d3b4275ca Do not load ssl certificate when starting standalone gcode viewer 2020-10-07 11:04:06 +02:00
YuSanka
e613eeed48 Fixed an Linux crash after switching between printer technologies 2020-10-07 09:56:48 +02:00
Vojtech Bubnik
26b95e3c3c Legacy conversion of "monotonous" to "monotonic" 2020-10-07 09:38:36 +02:00
YuSanka
d4309d9fa7 SplashScreen : Scale all font from default font 2020-10-06 19:38:46 +02:00
Vojtech Bubnik
89935751ac OSX: Disabling the placeholder menu over the docker icons. 2020-10-06 16:42:46 +02:00
Vojtech Bubnik
44565315bf OSX: Clean-up of opening as G-codeviewer on startup. 2020-10-06 15:43:21 +02:00
test
09755987fe Fix of previous commit 2020-10-06 15:13:04 +02:00
enricoturri1966
286a81b6ff Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-10-06 15:11:22 +02:00
enricoturri1966
7bee5b5479 Added Preference dialog to standalone gcode viewer 2020-10-06 15:11:08 +02:00
Vojtech Bubnik
eed45eddd6 OSX specific: Switching to a G-code viewer if the Finder opens Slicer
with a G-code file argument.
2020-10-06 15:09:38 +02:00
Lukas Matena
c4951c5efc Fix of a modifier transparency problem in painting gizmos 2020-10-06 14:57:31 +02:00
test
6fc98f05ef OSX specific: Trying to detect opening of files through Finder at the application start to switch to G-code viewer 2020-10-06 14:23:17 +02:00
Lukas Matena
b42a12db66 Fixup of 8df0181 (turning off the export of machine limits)
This should solve #1212 for good
2020-10-06 13:31:42 +02:00
Lukáš Hejl
6ed25f6e1c Fixed avoiding of other printed objects
Calling std::move on itself causes that the first polygon is empty, which results in disabling this feature
2020-10-06 13:19:39 +02:00
test
1c43c9b4e1 OSX fixes of docker icon 2020-10-06 12:50:44 +02:00
YuSanka
764565dbc3 Added info message about successfully save of the preset(s) modifications
+ more warnings fixes
2020-10-06 12:32:28 +02:00
Lukas Matena
dbedd3f9b0 Merge branch 'lm_painter_fixes' 2020-10-06 12:09:56 +02:00
Lukas Matena
b155e58a9d Painting gizmos: show painted triangles inside modifier meshes 2020-10-06 12:06:39 +02:00
Lukas Matena
8bcdbb7a60 Painter gizmos should now work with non-uniformly scaled models 2020-10-06 12:06:39 +02:00
Lukas Matena
f4e3eb7482 Painting gizmos fixes:
- modifiers are not rendered in neutral color when a painting gizmo is open, so they are distinguishable from model parts
- modifiers are now correctly handled by clipping plane (the cut was not triangulated for them)
2020-10-06 12:06:39 +02:00
Vojtech Bubnik
e407b79c94 Docker icon on OSX 2020-10-06 12:05:05 +02:00
test
48e5f53663 Fix of an OSX build 2020-10-06 11:18:56 +02:00
YuSanka
19c267e890 Fixed non_MSW build
+ fixed some warnings
2020-10-06 11:15:50 +02:00
Vojtech Bubnik
cbf36de600 Typo in machine limits usage text. 2020-10-06 11:08:08 +02:00
Vojtech Bubnik
6acc1fc112 WIP: Opening a G-code in PrusaSlicer at Drag & Drop onto
the application icon in Finder.
2020-10-06 11:07:49 +02:00
YuSanka
e16fe96cc6 SplashScreen: Fixed font scaling 2020-10-06 10:33:27 +02:00
Vojtech Bubnik
ecade4ac23 Fixed limitation of acceleration values written into G-code
in case the machine limits are disabled.
2020-10-06 10:24:06 +02:00
test
466f882cd8 WIP: Drag and drop of G-codes on OSX onto Docker icon 2020-10-06 09:56:36 +02:00