Commit Graph
100 Commits
Author SHA1 Message Date
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
YuSanka c414f932d4 Fixed a bug with selection from the 3D-scene when ObjectSettings item is selected in ObjectList
Steps to repro:
1. Add 2 objects, add Settings for some of object -> Object Settings item is selected
2. In the 3D-scene select another object -> BUG: no changes in the ObjectList
2021-04-30 16:56:18 +02:00
YuSanka 4ffbd027d0 OSX specific: Fixed scale of the frequently settings, when extra display is connected 2021-04-30 16:49:13 +02:00
YuSanka 4ce7ea40f0 Updated splashscreen images 2021-04-21 13:49:24 +02:00
YuSanka effad844e2 MSW specific: Fixed update of the UI after system color change.
Note: the wxEVT_SYS_COLOUR_CHANGED event works only for high contrast settings under MSW.

+ ConfigSnapshotDialog: Fixed UI colors for dark mode on all platforms
2021-04-06 22:25:35 +02:00
YuSanka 46e4f54fd0 Auto color change: next improvements 2021-03-31 15:10:48 +02:00
YuSanka c71fe03022 Fixed rescale for nodes with itInstanceRoot | itLayerRoot types 2021-03-30 18:26:28 +02:00
YuSanka 45ac53efa1 Code refactoring to reduce switch statements on ConfigOptionEnum<> templates 2021-03-26 19:01:10 +01:00
YuSanka 2c23e25497 DoubleSlider: fix for 1c2d264570 2021-03-26 13:34:37 +01:00
YuSanka 3a5360651d Added "Printable" menu item for multiple selection 2021-03-24 20:26:31 +01:00
YuSanka 8bc23c90fc Suppress to show Search window on the Plater using Ctrl+F shortcut, when we are at Preview mode 2021-03-24 11:32:33 +01:00
Oleksandra Yushchenko 4496e2a8ce Follow-up of 908c48ae6a -> Fixed update after switching tab after editing custom g-code in settings tabs (#6258) 2021-03-24 11:20:57 +01:00
YuSanka 991fa67fd1 OptionsSearcher improvements: Fixed a key for option() and groups_and_categories.
It contains "preset_type;opt_key" now. This key helps to avoid a collisions by using a same options key from different type presets.
Example: Option "elefant_foot_compensation" is in Print presets and SLA_printer presets
2021-03-24 11:14:07 +01:00
YuSanka 1c2d264570 Fix for https://github.com/prusa3d/PrusaSlicer/commit/f5d3866847b6a292709a0c6fba9d05b09fc4eaa4 2021-03-22 15:46:02 +01:00
YuSanka f5d3866847 Follow-up https://github.com/prusa3d/PrusaSlicer/commit/995512f2807d1e026533c814f6fabf655a7610ab DoubleSlider improvements:
Fixed a case when wipe tower is used to the end of print and there is one layer which is not marked in layers_times statistics
2021-03-22 11:47:05 +01:00
YuSanka 4602f40813 Next auto color change improvements 2021-03-19 11:11:46 +01:00
YuSanka 995512f280 Fix of #6232 - Layer preview number scale and print time problem.
Problem description:
When "Print Settings -> Multiple Extruders -> No sparse layer" is enabled, then "Smart" Wipe Tower is used for wiping.
As a result, each layer with tool changes is splited for min 3 parts: first tool, wiping, second tool ...
But vertical slider wasn't respect to this case.
2021-03-18 18:53:49 +01:00
YuSanka eda19a7e56 Fixed a crash after switch from Filament Settings Tab to some another, when "Custom G-code" category is active. 2021-03-18 18:53:49 +01:00
YuSanka a6cf840540 Auto color change improvements: Show info notification just ones, if there is new print 2021-03-17 17:11:03 +01:00
YuSanka 80b9a3c62b Fix of #6212 - Cannot select "New Project" after deleting models in saved project, continuing overwrites old project 2021-03-16 10:32:15 +01:00
Oleksandra Yushchenko e002f0066f Ys code refactoring (#6227)
* GUI_ObjectList code refactoring:
The MenuFactory structure contains functions related to the context menu and bitmaps used to different volume types.
The SettingsFactory structure contains functions to getting overridden options, its bundles and bitmaps used to setting categories.

Fixed bugs/crashes:
1. Add object -> Add Settings from 3D scene -> Right click on object => Part's Settings list instead of object's
   (Same behavior if something else but Object is selected in ObjectList)
2. Add settings to the part -> Change part type to the "Support Blocker/Enforcer" -> Settings disappears (it's OK) but =>
   Save Project -> Open project => Support Blocker/Enforcer has a settings
3. Add part for object -> Change type of part -> Change monitor DPI -> old type icon appears
4. Select all instances in ObjectList -> Context menu in 3D scene -> Add Settings -> Select some category -> Crash

* ObjectLayers: Fixed a crash on re-scaling, when some layer range is selected

* Fixed OSX build

* Added menu item "Split to Objects" for multipart objects

+ Fixed bug: Add 2 parts,
             Add some settings for one part
             Delete part without settings => Single part object without settings, but settings are applied for the object.

+ Next refactoring: use same menu for Plater and ObjectList
2021-03-15 10:04:45 +01:00
YuSanka 1569dad5de Auto color change: Fixed show/hide for the notification. 2021-03-15 09:54:24 +01:00
YuSanka 5f6253390f Implemented suggestion of the auto color change, if model looks like sign 2021-03-12 16:35:07 +01:00
YuSanka 7cb3e729ee Fixed #6182 - First line custom gcode not aligned left in the tool tip 2021-03-08 14:19:58 +01:00
YuSanka 28b92215c3 Follow-up https://github.com/prusa3d/PrusaSlicer/commit/409849d238718b75cf0c5ef264ce1df0cedc5c6e:
Added check for visibility for all loaded presets.
Added notification about this action.
 + PresetComboBox: Fixed update() function for physical printers, when some of related presets are invisible.
2021-03-02 12:19:49 +01:00
YuSanka 409849d238 Fixed loading of the project file with filament which is not installed for the selected printers
If loaded filaments are invisible/non-instaled, set them as visible
2021-03-01 16:36:05 +01:00
YuSanka 70fc0c232c Linux specific issue: DiffViewCtrl: Fixed scaling of the columns width 2021-03-01 16:01:53 +01:00
YuSanka 55c62887cc Fix of #5503 - Physical printer disappears from Slicer upon close of application 2021-02-25 20:36:23 +01:00
YuSanka 21b044b556 Fix of #5152 assert ""HasFlag(0x0020)"" failed in GetSelection(): must be single selection listbox
This assert was invoked by list_printer->GetSelection() because of list_printer was created with wxLB_MULTIPLE flag.
2021-02-25 04:03:26 -08:00
YuSanka 89f065b57e Fix of #5510: ctrlsub.cpp(231): assert "IsValid(n)" failed in GetClientData(): Invalid index passed to GetClientData()
BitmapComboBox: Use virtual OnSelect() on wxEVT_COMBO event
Don't save information about preset combobox type to the evt.SetInt(). This information can be received from BitmapComboBox::get_type() now.
2021-02-25 12:55:28 +01:00
YuSanka 88bd189047 Some code refactoring follow-up https://github.com/prusa3d/PrusaSlicer/commit/33aa6be7b7f3d8b81d6b948f9bd6841db10b61cf and https://github.com/prusa3d/PrusaSlicer/commit/92b1302a082b76de6693799ccdb7922617f21c50 2021-02-24 15:50:18 +01:00
YuSanka 18ac892ed6 OSX specific: Fix of https://github.com/prusa3d/PrusaSlicer/commit/f11e81517df6e0a796f0b0c08c6eca9ac6a64436 2021-02-24 15:03:34 +01:00
YuSanka d209c92c80 Merge remote-tracking branch 'origin/ys_auto_cp' 2021-02-24 14:33:31 +01:00
YuSanka ad55756257 Implemented Auto Color Print 2021-02-23 18:46:05 +01:00
YuSanka 671efb02c9 Fix of #6110 - Preview: View Menu/List placement incorrect
Use wxComboBox with wxCB_READONLY flag instead of wxChoice
2021-02-23 10:04:43 +01:00
YuSanka 03dee86071 ObjectList: After deleting volumes from the object, update the extruder color for the object from the last and only volume 2021-02-22 18:50:38 +01:00
YuSanka 204714d566 Fix a crash on printer presets switching between MM and SM printers:
1. DoubleSlider::Control : Update extruder colors before another updates for layers slider
2. GCodeViewer : Control count of extruders during the legend updating
2021-02-22 17:08:03 +01:00
YuSanka f11e81517d PresetComboBox: Fixed thin/wide_space_icon_width scale
+ Added border for the color_extruder bitmaps
2021-02-22 17:08:03 +01:00
YuSanka 791c191ea7 Fix of #6094 - Slicer crashes in MMU2S mode 2021-02-22 09:56:23 +01:00
YuSanka 349ce7fd50 Fix of #6056 - Purging Volumes dialog doesn't save pasted values 2021-02-17 14:37:25 +01:00
YuSanka 23b6a597a8 Fixed a bug with erase of the multiple instance selection in 3D-scene
+ Try to fix accidentally crash on Copy/Paste
2021-02-16 21:20:06 +01:00
YuSanka b166bd7845 Follow-up 6effa30322 : Fixed a crash of stand-along GcodeViewer
when open/close Preferences
2021-02-15 15:57:31 +01:00
YuSanka 2228c5e0bf Fixed localization for the message text 2021-02-12 14:29:22 +01:00
YuSanka e664100bf6 SPE-1103 Added menu items for the conversation of the volumes from/to meters
Related to #4521
2021-02-10 20:34:05 +01:00
YuSanka 3c37aed2f8 Fixed old (MSW specific) focus issue:
Description of issue:
When for some parameter set a value which is out of rage or inaccurate and than click to another parameter,
receive a warning message dialog with description of a problem.
After closing of this Dialog any button on settings tab doesn't work for first click.
Looks like after dialog is closed Notebook page loses a focus.
Workaround:
Use self-created WarningDialog (inherited from the wxDialog) instead of wxMessageDialog
2021-02-10 11:25:07 +01:00
YuSanka a86e7107a5 Added check for loaded STL file if it was saved in meters. Related to #4521 (Some files are imported in the wrong size) 2021-02-09 17:04:32 +01:00
YuSanka a1e49e7f8c Implemented #4931 - Added colored background for the Manipulation panel, if
option "Use colors for axes values in Manipulation panel" is enabled in Preferences -> GUI
+ Fix one more compilation warning in UnsavedChangesDialog.cpp
2021-02-09 16:04:03 +01:00
YuSanka e833e63c42 Fixed a crash on language changing
(DiffPresetDialog should get mainframe as a parent explicitly)
2021-02-09 09:56:19 +01:00
YuSanka ba479066b2 Fixed layout of the TreeCtrl for the Printer Settings Tab 2021-02-08 17:30:47 +01:00
YuSanka 76291936d7 UnsavedChangesDialog: Fixed warnings 2021-02-08 13:16:06 +01:00
YuSanka e7544ed0c4 Fix of #5888 - Pause Print M117 message not saved after reloading .3mf project 2021-02-05 19:39:28 +01:00
YuSanka f9451eaf81 Follow-up https://github.com/prusa3d/PrusaSlicer/commit/1fff5a624ceaa80bfb278fea9015618366f3d79b: Respect border color to the dark/light mode
+ Fixed issue with tooltips for PresetComboBoxes on Windows 2004
2021-02-05 13:26:23 +01:00
YuSanka d415c8ae8c MSW specific: GUI_ManipulatinPanel: Fixed rescaling of the system coordinate ComboBox 2021-02-04 10:17:22 +01:00
YuSanka 0baa92fab8 Localization: Added plural form for some phrases, updated POT 2021-02-03 21:30:38 +01:00
YuSanka 6846ba0b59 Localization: Fixed localization of some 3d-Scene notifications
+ Move a call of the load_language() before SplashScreen creation
2021-02-03 17:30:32 +01:00
YuSanka 65766c24f6 Localization: Updated UK dictionary
+ small fixes for RU dictionary
2021-02-03 17:30:32 +01:00
YuSanka 67500f13b1 Fix of #5202 - Fuzzy Search engine is too fuzzy
* changed evaluation coefficients inside fuzzy_match_recursive
 * don't add markers to the labels before it's used in fuzzy_match_recursive
 + follow-up https://github.com/prusa3d/PrusaSlicer/commit/78a3d8b63eb024f66a21274b828e5891b68f779c - added missed fix for one more line (use std::towlower instead of std::tolower for wchar_t) Problem was appearance on Cyrillic languages
2021-01-26 21:33:22 +01:00
YuSanka d9448c9f2a Follow-up to https://github.com/prusa3d/PrusaSlicer/commit/ab3468a42057f75079f71345deb669c6ac22277d : Added missed icon for the DarkMode 2021-01-24 14:54:44 +01:00
YuSanka ab3468a420 Added missed icons for the DarkMode 2021-01-22 21:48:10 +01:00
YuSanka 79b7ccbb79 OSX specific, related to the wxWidgets 3.1.4: Fixed wrong UI-scaling
(wxWidgets 3.1.4 can binding of wxEVT_DPI_CHANGED now, so it was called msw_rescale() for most of the controls redundantly)

+ Fixed update of the DoubleSlider after changing of the system color
2021-01-22 21:44:15 +01:00
YuSanka 59017a7dae wxBitmapComboBox under OSX and wxComboBox under other platforms is used on Manipulation panel for coordinate space choice now.
+ Fix of warning on wxBitmap.SetWidth(): deleted meaningless from wxWidgets 3.0 code
2021-01-20 17:34:54 +01:00
YuSanka 1efa129b67 Fix of #5619 - Copying Item with Printable Property 2021-01-18 15:19:02 +01:00
YuSanka bcd920e639 Updated MO-file for RU dictionary 2021-01-14 10:27:19 +01:00
YuSanka 5b138cf04d Merge remote-tracking branch 'origin/dev' 2021-01-13 14:21:58 +01:00
YuSanka af6ef2cb8a Merge remote-tracking branch 'origin/master' into dev 2021-01-13 14:18:55 +01:00
YuSanka 0369caa9e1 Fix of #5163 and #5505 - Vertical cutting of the preset comboboxes on a sidebar 2021-01-12 14:54:58 +01:00
YuSanka 7a1574a853 Fix of #5720 - SL1 Printer Settings->Notes is not updated when switching tab 2021-01-11 13:11:35 +01:00
YuSanka 8e7958da12 Fix of #5698 - When editing presets, list items are always green even if values have changed compared to preset or defaults 2021-01-07 12:26:16 +01:00
YuSanka efd3002ea9 Fix of #5568 - Unselecting more than 10 copies stops at copy 10
But really bug was: incorrectly interrupted DnD.
2021-01-07 09:56:43 +01:00
YuSanka 3070e66aae Fixed black rects for extruder colors, when we load 3mf project with MM-printer profile and extruder colors is set to the filament colors
+ Fixed a bug with updating colors in extruder editors in ObjectList, when we use filaments colors for extruders and some filament profile is switched
2021-01-07 08:52:45 +01:00
YuSanka 939d08af19 Fix of #4532 - "Send G-Code to printer host" dialog box blanks out text on Linux 2021-01-06 12:24:00 +01:00
YuSanka 746729e4fa Update language PT-BR for PrusaSlicer 2.3.0-rc2 - Manually merged from https://github.com/prusa3d/PrusaSlicer/pull/5502/commits/0d7949653848fa9fa2c1e810491117bba21f3aa2
Thanks for @guipatriota
2021-01-06 10:56:22 +01:00
YuSanka 48c7673cc6 Fix of #5584 - Information text on startup logo 2021-01-05 14:26:10 +01:00
YuSanka f119b80341 Fix of #5672 - Dubious grammar when closing Physical Printer dialog 2021-01-04 19:03:34 +01:00
YuSanka c3f88db392 Fix of #5638 2021-01-04 18:05:20 +01:00
YuSanka 5845957c7d Fix of second part of #5531
From the Win 2004 preset combobox lose a focus after change the preset selection and that is why the up/down arrow doesn't work properly.
So, set the focus to the combobox explicitly.
2021-01-04 16:51:29 +01:00