Commit Graph

519 Commits

Author SHA1 Message Date
YuSanka
e62a78fc43 Initialize fonts before first UI action 2021-12-15 09:50:19 +01:00
Vojtech Bubnik
1b358b05ad Bumped up version to release candidate,
changed the configuration directory from beta to final.
2021-12-14 14:49:32 +01:00
YuSanka
63bc64d8cf Follow-up 6d2efe29a4 - Call wxInitAllImageHandlers() before any UI actions to avoid "No image handler..." warnings.
+ Deleted unnecessary app_config->save() call
2021-12-14 14:56:38 +01:00
YuSanka
370b220643 Localization: Updated dictionaries for CS, DE, ES, FR, IT, NL, PL
+ GUI_App.cpp: Set language, color mode and initialization of image handlers before a call of check_older_app_config()
2021-12-14 14:13:44 +01:00
Vojtech Bubnik
d4651bdc50 Fixed minor typo in wording. 2021-12-12 14:44:12 +01:00
Vojtech Bubnik
f4f454b657 Fix of PS 2.4.0 Beta 4: No image handler for type 15 defined. #7469
On Linux, image handlers need to be initialized before showing
any PNG.
2021-12-11 16:59:21 +01:00
YuSanka
27cb9fd59c Localization: Next improvements: CS, IT, ES, DE, ES, FR 2021-12-10 17:28:36 +01:00
YuSanka
b46e70710c Follow-up ea796aaa68
* Fixed builds for non-MSW platforms (We can't change the signature of the RichMessageDialog. It have to be completely the same as for wxRichMessageDialog)
* Texts of the message dialog are changed. Use InfoDialog instead of a RichMessageDialog.
* MsgDialog: Added SetButtonLabel() function
* InfoDialog: For constructor added is_marked_message and style parameter to allow to use marked text in the Dialog and set different style
2021-12-10 15:35:04 +01:00
David Kocik
1c19ba4cc8 Changed message about copying another configuration folder.
Added headline to RitchTextDialog.
2021-12-09 18:46:36 +01:00
David Kocik
c2d22bd130 Followup on 6490456ec4
Rename variable
2021-12-06 17:24:54 +01:00
David Kocik
468f63e63e Do not perform config check if conf folder is redefined 2021-12-06 17:15:22 +01:00
Vojtech Bubnik
8ad6c92565 Windows specific: Only start the 3rd party updater application
if enabled in PrusaSlicer preferences.
2021-12-03 09:26:44 +01:00
YuSanka
bae65de75c Added description line for the "Post-processing scripts".
ogStaticText id extended for SetPathEnd() function. It allows to use description line like a hyperlink
2021-12-02 15:18:05 +01:00
YuSanka
125a71f7ae Localization: Updated CZ, DE, ES, FR, IT and PL dictionaries.
+ Fixed some of phrases and updated POT-file
2021-12-01 13:07:25 +01:00
Lukas Matena
f1cb0ed153 Follow-up to e7cc12b 2021-11-30 13:58:09 +01:00
Vojtech Bubnik
651b60b899 Fixing clang compiler warnings 2021-11-30 10:50:27 +01:00
Vojtech Bubnik
cbae54b88b Fix of output file dialog extension template for OSX:
When opening a "Save" file dialog with a default output file name,
OSX file dialog strips the provided extension and replaces it
with the default extension. This causes issues with a custom
file output template, where a non-default file extension is specified.

This commit changes the function to generate file dialog templates
so that if a default extension is provided, it is emitted
as first into the extension template.

Fixes Post Processing passes wrong name #7190
2021-11-29 15:46:25 +01:00
Vojtech Bubnik
eedb26e5a8 Follow-up to 9994e0bcbc
Start updater during start of prusaslicer.
Don't search the directory if only verifying that a file exists
is sufficient.
2021-11-19 15:48:03 +01:00
Vojtech Bubnik
6d56e2e303 Removed check for a 64bit build running on a 32bit system,
such condition could never be fulfilled.

Slightly polished the wording of the warning.
2021-11-19 11:07:25 +01:00
Vojtech Bubnik
537df6b503 New BuildVolume class was created, which detects build volume type (rectangular,
circular, convex, concave) and performs efficient collision detection agains these build
volumes. As of now, collision detection is performed against a convex
hull of a concave build volume for efficency.

GCodeProcessor::Result renamed out of GCodeProcessor to GCodeProcessorResult,
so it could be forward declared.

Plater newly exports BuildVolume, not Bed3D. Bed3D is a rendering class,
while BuildVolume is a purely geometric class.

Reduced usage of global wxGetApp, the Bed3D is passed as a parameter
to View3D/Preview/GLCanvas.

Convex hull code was extracted from Geometry.cpp/hpp to Geometry/ConvexHulll.cpp,hpp.
New test inside_convex_polygon().
New efficent point inside polygon test: Decompose convex hull
to bottom / top parts and use the decomposition to detect point inside
a convex polygon in O(log n). decompose_convex_polygon_top_bottom(),
inside_convex_polygon().

New Circle constructing functions: circle_ransac() and circle_taubin_newton().

New polygon_is_convex() test with unit tests.
2021-11-16 10:15:51 +01:00
David Kocik
516ec79259 Fixed parsing of older PrusaSlicer.ini files. 2021-11-14 20:53:35 +01:00
YuSanka
24134d92a2 Localization fixes + new POT 2021-11-12 09:21:41 +01:00
David Kocik
e201d318f8 SLA only mode in wizard
Activates only if PrusaSlicer.ini does NOT contains any FFF printers.
Added only_default_printers() function to activate wizard if none printers are installed.
2021-11-11 17:08:54 +01:00
Vojtech Bubnik
a2e764d7ac Revert "medical"
This reverts commit 117302ba22.
2021-11-11 11:22:57 +01:00
Vojtech Bubnik
3ead6a7d3e medical 2021-11-11 10:11:13 +01:00
David Kocik
607c4d341c Menu text 2021-11-10 16:34:54 +01:00
David Kocik
63a5fdc613 Changes in notifying about new releases.
- Unified preferences settings. version_check option is replaced with notify_release that has 3 states.
- fixed logic when show notification based on version string.
- notification shows released version
- dialog notifying new version is never showing if external updater is running.
Escape quotes inside path to external updater
2021-11-10 15:27:46 +01:00
Lukas Matena
5cfdc2c436 External updater is only run in GUI mode 2021-11-10 15:27:46 +01:00
YuSanka
9d650e1ab3 MsgDialog: Some code refactoring.
Use style for whole Dialog instead of wxWindowID for just one default button
2021-11-10 10:49:43 +01:00
YuSanka
beec6e7518 MSW: Dark Mode: Update of PrintHostDialogs 2021-11-08 11:06:48 +01:00
YuSanka
eacc7f5c96 MSW: DarkMode: Improvements for message Dialogs
* A little bit reworked MsgDialog: Checkbox and buttons are placed under the Static line
 * Implemented wrapper for wxRichMessageDialog
 + Implemented wrapper for wxStaticLine
2021-11-05 15:20:06 +01:00
YuSanka
562b60a3db MSW_DarkMode: Next Improvements
* Refreshed title bar for all Dialogs and MainFrame
* Refreshed header of the DataViewCtrl and ListView
* Refresh tooltips
* Redraw SpinCtrls
* Use system menu with is colored in respect to the color mode
* Preferences: Added parameter "Use system menu for application" and moved to the "Dark mode" tab with "Enable Dark mode parameter"
2021-11-05 10:01:13 +01:00
David Kocik
03c54e612a Copying from other config folders:
Find if there is more recent config in other folders (alpha / beta / release).
If yes, ask user, make snapshot, copy files.
if there is no current config, ask user and copy recent one.
2021-11-02 10:51:45 +01:00
David Kocik
4a205dd33f Wrong build on windows system (32 vs 64bit) dialog 2021-11-02 10:51:45 +01:00
Lukas Matena
cef03ccb7f Fixed a tripping assert 2021-11-01 12:52:45 +01:00
YuSanka
144bdc4ce8 MSW DarkMode: Set mode colors for "Change volume type" dialog. 2021-10-29 08:46:29 +02:00
Vojtech Bubnik
e824733b8d Implemented "Details" section enclosing OpenGL extensions when copying
sysinfo to clipboard for inserting into github issue.
Fix of [Feature Request] Help => System Info => Copy to Clipboard: wrap list of extensions with <details> tag #6830
2021-10-23 20:13:25 +02:00
Vojtech Bubnik
e65e6c4ec4 Updated version and config location to beta. 2021-10-22 17:10:09 +02:00
Lukas Matena
9079b78e6a Make sure that we have the lower_layer_edge_grid when placing seams 2021-10-22 13:16:08 +02:00
Lukas Matena
9b314f9f0d Several fixes and improvements in SendSystemInfoDialog:
- do not show memory in MB, show it in GiB rounded to one decimal place
- when sending fails, the HTTP error code is not presented to the user (it is logged though)
- when the user cancels the sending, no extra "sending cancelled" message is shown
- in case there is no internet connection, the dialog is not shown at all
- a 6 second timeout for a case that connection is lost during sending
- the dialog is only shown when the wizard does not show on startup
2021-10-18 15:34:51 +02:00
David Kocik
f0d09461c1 Preferences Highlighter 2021-10-14 14:29:53 +02:00
David Kocik
ed471b1f41 Preferences: notify_relese option with Choice type Field.
OptionsGroup:: Added possibility of the right alignment of the controls
+ Added separator line to Preferences
2021-10-13 15:39:06 +02:00
David Kocik
8c7562f082 Check version string for alpha and beta release versions.
Preferences setting to show / not show alpha beta releases.
2021-10-11 10:01:48 +02:00
YuSanka
624648f05f Win11 specific: Added workaround for implicit set of the dark mode 2021-10-11 09:54:38 +02:00
YuSanka
45406faf1c Added SVG-file for G-CodeViewer logo 2021-10-07 11:53:19 +02:00
Lukas Matena
9435ba6637 SendSystemInfoDialog now opens through CallAfter, GL extensions are sorted 2021-10-05 15:09:53 +02:00
Lukas Matena
68c74c6259 First draft of SendSystemInfoDialog 2021-10-05 15:09:52 +02:00
YuSanka
5d90ce3f37 ConfigWizard: Suppress to select SLA printer if a multi-parts object is on a Plater 2021-10-04 11:35:41 +02:00
Oleksandra Yushchenko
4e17e61be4 Check unsaved changes (#6991)
* Check Unsaved changes (partially related to #5903)
 + Allow create new project when Plater is empty, but some of presets are modified (related to #5903)
 + When creating new project allow Keep or Discard modification from previous project
 + Added check of changes:
    * before any load project (including DnD and "Load From Recent Projects")
    * before preset updater
    * when configuration is changing from the ConfigWizard
 + Dialog caption is added for each check

 + Create/Destroy ConfigWizard every time when it's called

* Check Unsaved changes: Next Improvements
 + For dialog "Save project changes" added a reason of saving and name of the current project (or "Untitled")
 + UnsavedChangesDialog: Headers are extended to better explain the reason
 + Preferences: Fixed tooltiops for "Always ask for unsaved changes when..."
 + Suppress "Remember my choice" checkbox for actions which are not frequently used

* Fixed behavior of the application when try to save changed project but "Cancel" button is selected in "Save file as..." dialog

* Check unsaved changes: Improvements for Config Wizard - Check all cases when presets should be updated
 + Fixed info line for Materials pages. Text of the info relates to the printer technology now

* Improved suggested name for a project when Application is closing

* Fixed Linux/OSX build warnings
2021-09-22 12:44:13 +02:00
YuSanka
37b45d048c Improvements for statistics information:
+ Show 2 groups of errors: "Auto-repared" and "Remaning".
 + Use different icons for volumes with/without remaining errors
 + Fixed update of the ObjectList warnings icons after switch the color mode of a PrusaSlicer
 + Some code refactoring: Use same code for tooltips for "exclamation"-icon from an ObjectList and from a Sidebar->ObjectInfo
2021-09-21 17:20:12 +02:00