Commit Graph
100 Commits
Author SHA1 Message Date
YuSanka ea4e9b35a3 Fix for #6803 - Illegal character in filename when STL opened direct from CAD app 2021-08-20 09:38:35 +02:00
Oleksandra Yushchenko caf8ef4aab Auto selection of presets (#6817)
PresetComboBoxes: Auto selection of printer/material preset from the new added presets in ConfigWizard
+ Check unsaved changes if ConfigWizard is running from the PesetComboBoxes
2021-08-18 16:10:35 +02:00
YuSanka a3f995ac45 Add "Revert" buttons for text colors Settings 2021-08-18 15:03:06 +02:00
YuSanka 08e2e29afd ObjectList: Implemented interface for delete InfoItem 2021-08-17 10:05:03 +02:00
YuSanka e199dd5b20 Follow-up https://github.com/prusa3d/PrusaSlicer/commit/88d5f40b7c7c0c8ca19ac60dfdb12719a32e1917 - Small fix for text formatting 2021-08-13 13:41:09 +02:00
YuSanka ca530717e0 MSW specific: Fixed a crash on change of the extruder using keyboard 2021-08-13 13:40:55 +02:00
YuSanka 21dfb05384 InfoDialog: Improvements
* Fixed localization
* Substitutions are aligned in table
2021-08-13 13:40:47 +02:00
YuSanka 4cbe7a9545 If configuration update is available, show Dialog with information about it before ConfigWizard is opened 2021-08-13 13:36:08 +02:00
YuSanka 1e60acde12 Substitutions : Implemented InfoDialog 2021-08-13 13:30:50 +02:00
YuSanka 88c8134f15 AutoColorChange detection: Small improvements - at least 25% (instead of 30%) of object's height have to be a solid 2021-08-13 11:00:30 +02:00
YuSanka ac86c7c022 ObjectList: Update InfoItems after set some instance as a separate object 2021-08-12 15:23:31 +02:00
YuSanka 3ca2b2bc71 ObjectList: Added separate icons for InfoItems 2021-08-12 15:02:24 +02:00
YuSanka 66435887ea Revert of the 84c6199015
Note: When ProgressDialog has no-nullptr parent, then PrusaSlicer doesn't lose the focus at the end of model fixing,
but start to flickering during fixing of the big models.
2021-08-12 12:51:27 +02:00
YuSanka 37ba18a8c3 DoubleSlider: Init extruder sequence in respect to the extruders count 2021-08-12 12:40:14 +02:00
YuSanka 131d2ace50 Check min/max values for SpinCtrls in Settings Tabs
+ Set max value for "extruders_count" to 256
2021-08-12 10:20:52 +02:00
YuSanka 83ab034f9a Fixed ENTER for ComboBoxes and TextCtrls in Settings Tabs (related to #6692)
+ Code cleaning : Deleted unused set_focus
2021-08-11 16:01:54 +02:00
YuSanka 3a2a9d8500 Follow up c0a00f4e70 - Check unsaved changes only if project wasn't saved 2021-08-11 15:40:57 +02:00
YuSanka ad60227449 MSW specific: Fixed a typo caused ignoring ENTER for TextControls in Settings Tabs
+ Added Info icon for MessageDialog
2021-08-10 15:10:37 +02:00
Oleksandra Yushchenko ed25d5c53d Fix for #6692 - Slice button not appearing after infill change 2021-08-10 12:32:00 +02:00
YuSanka c0a00f4e70 Fix for - Profile save dialog should appear when application is closed and when don't save project is selected
Note: show UnsavedChangesDialog even if there is an object in the scene
2021-08-10 11:42:48 +02:00
YuSanka d88ef826cd Fixed Sinking not visible in right panel after project import 2021-08-10 10:36:36 +02:00
YuSanka d6370a16fa DoubleSlider: Fix for #6756 - Cannot Color Change (M600) at height when MMU Painting
+ Fixed update for the ruler when "No sparce layer" option is enabled
2021-08-09 17:30:51 +02:00
YuSanka 4efce682e1 Fix for #6782 - Clicking On Another Modifier while Changing a Modifier Parameter crashes PrusaSlicer 2021-08-09 13:38:48 +02:00
YuSanka 1f131d130f DoubleSlider with MM-printer preset: When Object has "Paint-on segmentation", DoubleSlider has same behavior as with modifiers
+ MSW specific: Use BitmapComboBox instead of wxBitmapComboBox to DarkMode for extruder selectors
2021-08-09 13:38:48 +02:00
YuSanka b1330580b3 MessageDialog: Set html page size respecting to text size
+ Fixed layout of the unit in "Height ranges" panel
2021-08-06 15:08:11 +02:00
YuSanka d543d2f29d Fixed "volume is splittable" detection 2021-08-06 15:04:23 +02:00
YuSanka c09e7fb2e2 MSW-specific: Notebook control: Fixed layout of notebook tabs 2021-08-06 11:37:28 +02:00
YuSanka 7fd9a9cf6e ObjectList: Fixed a crash during a print technology change when InfoItem is selected
+ Add "Gallery" menu Item for Advanced mode too
2021-08-04 12:35:44 +02:00
YuSanka 0092c448b8 OSX specific: GalleryDialog: Fixed scale of the default icon 2021-08-03 11:28:58 +02:00
YuSanka 1b49dd9869 PhysicalPrinterDialog: Remove all leading and trailing spaces from "print_host" input 2021-08-03 09:25:54 +02:00
YuSanka 4f1a092ae0 PrintHostQueueDialog: MSW specific in DarkMode: Fixed font color for the selected Item 2021-08-02 17:28:08 +02:00
YuSanka a26e9c46b2 Fixed build 2021-08-02 15:08:54 +02:00
YuSanka d86d11cc8e Shapes Gallery: Added PNG-files to the system gallery 2021-08-02 15:03:58 +02:00
YuSanka e8e3279511 Shapes Gallery :
- Suppress to create a PNG-files for system shapes
 - Allow to load the OBJ files
2021-08-02 15:00:41 +02:00
YuSanka 64c8a6de8f Manipulation Panel in DarkMode: Fixed a text color, when we use different colors for the axes 2021-07-30 14:22:58 +02:00
YuSanka 0bb5c2ef88 Auto color change: Fixed some cases:
* first layer is a little bit less than all another (like for elephant foot compensation)
* ignore small changes of the layer area
2021-07-30 11:16:30 +02:00
YuSanka 7fd34e52c1 PhysicalPrinterDialog: Use transparent background for the Plus/Minus buttons 2021-07-29 13:13:48 +02:00
YuSanka 3449550a7c MSW specific: Fixed strange layout after first switch between printer technology 2021-07-27 10:55:05 +02:00
YuSanka 84c6199015 Improvements for c5b7d4b2 fix 2021-07-26 16:17:21 +02:00
YuSanka 5f73724501 Search: Fixed a blinking for the first search 2021-07-26 15:06:18 +02:00
YuSanka e79bcee739 Fixed update of the default menu after changing of the mode.
+ Added check for the output directory for the G-code extport.
2021-07-26 14:41:38 +02:00
YuSanka a113f227f5 Use default last directory when we try to save a project with objects from Gallery 2021-07-26 11:34:52 +02:00
YuSanka 9154ebb165 ConfigWizard: Draw logo inside OnPaint instead of use of wxStaticBitmap 2021-07-23 16:03:17 +02:00
YuSanka 4a5496e3de ObjectDataViewModel: Added function to add warning icon 2021-07-23 13:48:38 +02:00
YuSanka 232309a879 Don't save shapes directory to the "last_dir" 2021-07-21 16:13:40 +02:00
YuSanka c7051c9005 Removed unnecessary conditions that interfere with the search. 2021-07-21 14:48:05 +02:00
YuSanka c5b7d4b213 FixThroughNetFabb: Fixed strange behavior after fixing of the model (PrusaSlicer loosed a focus) 2021-07-21 12:11:25 +02:00
YuSanka 097afc6598 Follow-up https://github.com/prusa3d/PrusaSlicer/commit/bf981ae049e136e76c021123d858386b405d3dd2 : Small improvements 2021-07-20 15:22:52 +02:00
YuSanka 44f1dac8c7 GalleryDialog: Added process of the "Close" button
SavePresetDialog: To correct "darkmodding" the wxRadioBox was changed to the wxStaticBoxSizer with radio buttons
+ Some code cleaning
2021-07-20 14:46:38 +02:00
YuSanka e6c361ec5e Added "Modify Shapes Gallery" to the "Window" menu
+ Fixed a non-MSW build (added missed include)
2021-07-20 11:25:24 +02:00
YuSanka bf981ae049 Temporary workaround for compatibility with older Slicer:
To the "physical_printer" added "preset_name" option as a duplicate of the "preset_names" but like one string.
Note: It will works just for printer preset names without ";" (see #5503)
2021-07-20 10:18:59 +02:00
YuSanka cc92757cdc Follow up 569200eb - fixed a typo witch was caused a bug "Impossible to revert the bed shape"
+ Added error message for exception when changing the config value
2021-07-20 09:41:29 +02:00
YuSanka 888a5e3084 Fixed of the warnings.
+ Some small bug-fixing related to the system colors change on MacOS ("Set..." buttons didn't respect to the system color change)
2021-07-19 15:46:50 +02:00
YuSanka d3ddb1cfa8 Fixed a bug with update of the warning icon for object after a deleting of the broken volume 2021-07-19 13:30:49 +02:00
YuSanka 4b5cf004bd MSW specific: Fixed rescaling for the BitmapComboBox control and Notebook tab buttons 2021-07-19 12:36:14 +02:00
YuSanka 977ffe556d ConfigWizard: Fixed a bug in update of the selected presets
(probably related to #6436 - Cannot add SLA materials)
2021-07-15 14:54:22 +02:00
YuSanka f7dcc88831 Fixed a bug - Dependencies for Printer presets doesn't update after preset selection 2021-07-15 11:37:59 +02:00
YuSanka b921c8b276 Added gallery to the default shapes
+ ObjectList (MSW specific): Don't change background color for Light color mode
2021-07-15 10:52:37 +02:00
YuSanka 0220ae4ce5 Fixed a crash when "resources/shapes" directory doesn't exist.
+ Localization for the "Internal error: %1%" in generic_exception_handle()
2021-07-15 09:04:12 +02:00
YuSanka 4257ffddde GalleryDialog: Changes the paths to the system and custom galleries 2021-07-14 17:41:37 +02:00
YuSanka 8f5715b0d7 Follow-up fe7204379d - added missed include 2021-07-14 16:48:55 +02:00
YuSanka fe7204379d GalleryDialog: Fixed sort of the filenames inside the list.
+ OSX Specific:
   * Fixed scale of the lock on the system file icons
   * Fixed buttons alignment for AboutDialog and SysInfoDialog
2021-07-14 16:45:34 +02:00
YuSanka 3d424c057c GalleryDialog: Added loaded files quality control
+ Code cleaning
2021-07-14 12:47:52 +02:00
YuSanka 062031a4c6 Replace with STL: Fixed update of the item name after replacing
+ OSX specific: Code refactoring for ObjectList:Rename() function
2021-07-14 09:22:03 +02:00
YuSanka 428362ec53 Fixed Windows DarkMode for some dialogues.
+ ProjectDropDialog: wxRadiloBox was changes to the wxStaticBox with wxRadioButtons because of dark mode colors update
+ Preferences: Fixed update of the text colors
2021-07-13 18:27:30 +02:00
YuSanka 0cdc54b710 GalleryDialog improvements:
* Added "Replace PNG" function
* Added locks instead of border for system shapes
2021-07-12 17:22:22 +02:00
Oleksandra Yushchenko d6fdf2d5c2 Modifiers Gallery (#6703)
* Added GalleryDialog

* GalleryDialog improvements:
* Added DnD functionality
* Added "Delete custom shapes" function
2021-07-12 15:20:50 +02:00
YuSanka 6f9f4f78b7 Added SimplificationDialog 2021-07-09 09:10:03 +02:00
YuSanka a0328772b9 Follow-up https://github.com/prusa3d/PrusaSlicer/commit/4652733201f446f062e37574d4a44f80c1541592 - Fixed Text alignment for Notebook tabs without bitmaps 2021-06-30 10:44:27 +02:00
Oleksandra Yushchenko 4652733201 MSW specific: Implementation of the own notebook control
* MSW specific: First implementation of the Notebook control to support Dark/Light color modes

* MSW specific: Set mode sizer to the Notebook control.

* MSW specific: Added icons to the Notepad control
 + There is no need to restart application after the changing of the color mode

* Fixed non-MSW build

* Updated color for SavePresetDialog
+ Added wrapper to wxMessageBox for mom-MSW platforms
2021-06-29 16:23:45 +02:00
YuSanka 1378d2084a Fix of #6650 - show estimated print time on ruler is not working
+ Parent center of the MessageDialogs
2021-06-24 13:59:48 +02:00
YuSanka 4e59fd504e DoubleSlider: Fixed out of range assert 2021-06-21 14:30:28 +02:00
YuSanka 5434a8980f Some code beautification for the last commit
+ Fix of the TabPresetComboBox layout for "light mode" + "tabs as a menu items" preferences
2021-06-18 21:54:20 +02:00
Oleksandra Yushchenko fd071421cb DarkMode for MSW (#6632)
* MSW specific: Dark Mode: First implementation

* Use menu instead of NoteBook

* Implemented MessageDialog
+ Fixed DarkMode for all dialogs and ColorPicker

* MSW DarkMode: Added missed updates for the switching between modes

* MSW DarkMode: Updated all existed context menus after switching of the mode
+ Added markers for the menu item witch is related to the selected tab

* Used wxFrame instead of wxDialog for SettingsDialog
(this change allow us to use menu bar in SettingsDialog)

+ fix for #6548 - Prusa Slicer 2.3.1 not activating non-modal settings window if settings window is minimized

* Implemented "Always use Dark mode colors" preference option

* Fixes for non_MSW build

* Next fixes for non-MSW builds

* Preferences: Fixed selection of the Settings Layout for non-MSW platforms
+ Updated DarkMode for colorpickers

* Windows DarkMode next fixes

* MSWDarkMode: Suppress to use system color to the PrusaSlicer
Select "Preferences -> Use Dark color mode (experimental)" to allow dark mode for the application

* Fixed MSW build

* MSWDarkMode: Upadteed color mode for ExtruderSequenceDialog and for dialogs related to the DoubleSlider

* Implemented Auto recreation of the PrusaSlicer when color mode is changed.

* Preferences: Added option "Set settings tabs as menu items (experimental)"
2021-06-18 19:46:04 +02:00
YuSanka 65f440c2ba Follow-up https://github.com/prusa3d/PrusaSlicer/commit/e3000c5305cb944741838b73212af88ef23027fd - Fixed OSX build 2021-06-18 12:22:59 +02:00
YuSanka e3000c5305 Implementation of the FR #3856 - Add option to replace stl in object list (right panel) 2021-06-17 21:29:18 +02:00
YuSanka c5cb94d92c Follow up https://github.com/prusa3d/PrusaSlicer/commit/0b5ea8f429d13d7d2a3feed56cf30b980d449653
- Un-select random sequence by default
- Added a check for interval height. It have to be bigger then print layer height
2021-06-16 18:20:26 +02:00
YuSanka 0b5ea8f429 Random extruder sequence for MMU.
Related to https://github.com/prusa3d/PrusaSlicer/issues/1866
2021-06-15 12:38:05 +02:00
YuSanka 87a996d0d5 Code refactoring to avoid a call of update_ui_from_settings() every time when switching between "3D-View" and "Preview" 2021-06-11 10:34:13 +02:00
YuSanka b59ff2c294 Fixed a bug in update of the ObjectList when switching between 3d-View and Preview
Steps to repro:
1. start PrusaSlicer
2. add a box
-> watch the object list: only one item is shown in the list
3. switch to preview
-> the item in the object list gets a child
2021-06-09 17:21:39 +02:00
YuSanka 4b5e568f14 Follow-up 7eebd56b5f - fixed a typo
+ added add_negative.svg for dark mode
2021-06-02 14:36:49 +02:00
YuSanka 7eebd56b5f Fixed DnD for "Model part" volumes inside the object
Fixed volumes order inside the object
2021-06-02 12:54:56 +02:00
YuSanka 8e1cde43a6 Update extruder show/hide and default extruder color in respect to the volume type 2021-05-28 13:41:36 +02:00
YuSanka b7769856d1 Fixed DnD function for volumes inside the object in respect to the volume type 2021-05-26 15:36:48 +02:00
YuSanka cf76b5c264 Added "Negative volume" type item to the ObjectList 2021-05-24 17:32:40 +02:00
YuSanka dfc6d399f7 Fixed update of the ObjectManipulation when "autocenter" is on 2021-05-18 17:06:41 +02:00
YuSanka 1256aebd88 Fix of some warnings 2021-05-18 12:58:14 +02:00
YuSanka 6c47b15834 Follow-up of a5d5ceb30d - Fixed run on Windows 2021-05-18 12:32:37 +02:00
YuSanka a5d5ceb30d DoubleSlider: Fixed ruler for sequential print of the object with different heights 2021-05-17 21:12:19 +02:00
YuSanka 044634d7d1 Fixed "Extruder sequence", when extruder changes are per mm 2021-05-13 09:50:09 +02:00
YuSanka 4be1d62259 Fixed update of the "Supports" in frequently used parameters when Vase mode is selected 2021-05-12 15:54:20 +02:00
YuSanka 82da1f8fc1 Code cleaning: Delete workaround code 2021-05-12 11:43:36 +02:00
YuSanka de1d36cc9a Probably fix for #6270 - Segfault during startup in prusa-slicer-git 2.3.0.r24.gd06aa6069-1 2021-05-11 18:03:57 +02:00
Oleksandra Yushchenko ab886e037b Implementation for #6216
* Implementation for #6216 - Make number keys select extruder when object treeview has focus
+ deleted unused extruder_selection()
+ Fixed notification after splitting of the solid object

* Follow up https://github.com/prusa3d/PrusaSlicer/commit/85a10268b9eabfa8aac4c7b1361136b40b75f9f0 - OSX implementation
+ Added shortcuts description to the "Keyboard Shortcuts" dialog

* Workaround to use "+/-" and numbers shortcuts on Linux
+ Fixed build on Linux

* OSX specific: fixed a work of keyboard accelerators from numbers on NumPad keyboard

* KBShortcutsDialog: fixed shortcuts for "Preferences" and "Show/Hide 3Dconnexion devices settings dialog, if enabled" under osx
and "Set Printable/Unprintable" and "Set extruder" under Linux
 + OSX specific: Added minimize of the application on "Cmd+M"

* Hot-fix for https://github.com/prusa3d/PrusaSlicer/commit/6efeb9d6b433f49aaca8ee42ed02d824c452eb8e

* Removed Linux specific workaround
2021-05-11 11:02:12 +02:00
YuSanka b87c03fc09 Linux specific: Fixed ObjectDataViewModel::GetColumnType()
When "string" type was returned, strange editing TextControl was appeared.
+ Added check of the selection for ObjectList::toggle_printable_state() function
2021-05-10 17:57:44 +02:00
YuSanka a49d34c6f3 Fix of #5437 - Make it clear on the G-code slider that color change is not supported for sequential print 2021-05-10 12:10:41 +02:00
YuSanka f11b9a5b6a DiffPresetDialog: Fixed update of the related presets after changing selection of the Printer preset 2021-05-07 16:46:09 +02:00
YuSanka b9910669e8 Fix of #2825 - Add the length of each filament used 2021-05-07 12:48:34 +02:00
YuSanka 96447de1d4 ConfigWizard:: Use wxTextCtrl instead of wxDoubleSpinCtrl for nozzle and filament diameters 2021-05-07 12:22:54 +02:00
YuSanka 4fe6f726de ObjectList: Fixed update of the selection, when some gizmo in 3D-Scene is activated 2021-05-04 14:20:19 +02:00