708 Commits

Author SHA1 Message Date
YuSanka
feac3b62ed Sidebar: Next refactoring and beautification
+ Deleted long time unused or commented code
+ Some unrelated functions are moved from Plater to Sidebar
2023-11-30 15:26:20 +01:00
YuSanka
fa86a3d047 Searcher related refactoring:
* Searcher moved form Plater to Gui_App
2023-11-30 15:26:20 +01:00
YuSanka
9926181008 OptionsGroup : Refactoring
* Don't use "m_"prefix for public members
* Move change_opt_value() function from GUI to OptionsGroup
2023-11-30 15:26:20 +01:00
Martin Šach
02efa7af17 Disable lift before obstacle in UI.
The newly introduced functionality "lift_before_obstacle"
does not work properly. Disable it in the UI until it is
fixed.
2023-11-10 12:19:39 +01:00
Martin Šach
9a68645106 Update filament overrides UI.
After introducing the new z-hop strategy the filament overrides
were in a state of disarray. This commit fixes it.
2023-11-10 12:19:39 +01:00
Martin Šach
3ed86a820a Add PrintConfig options for future more general z-hop implementation.
The parameters are also presented in the GUI.
2023-11-10 12:19:39 +01:00
YuSanka
193666b09e Fix for #11555 - Prusaslicer 2.6.0 organic supports html links invalid 2023-11-03 09:31:46 +01:00
Lukas Matena
1a0911388d Fixed several encoding issues 2023-10-20 16:38:45 +02:00
YuSanka
6274f24e93 Fixed some warnings 2023-10-20 15:44:08 +02:00
YuSanka
fc64b01e3f WifiConfigDialog: MSW: Fixed color mode + Used new controls
+ Tab: Fixed color mode update for Extruder combobox
2023-10-20 15:41:28 +02:00
YuSanka
168dadc0fa OSX specific: Set window variant for regular buttons to correct rendering with big font 2023-10-18 16:32:12 +02:00
YuSanka
9cf971769d WIP (NewUI with fonts): Improvements some controls
* SpinInput : Code refactoring
 * BitmapToggleButton :
     * Create wxBitmapToggleButton if control doesn't have a label and wxToggleButton otherwise
     * Linux specific: Calculate default size from label size

 + Tab: Linux specific: Set background color for tree_ctrl and don't set background color for Tab
2023-10-18 16:32:12 +02:00
YuSanka
f27ad88d55 WIP (NewUI with fonts): Next improvements for fonts.
* Fixed new font applying for TreeCtrl and DataViewCtrl
* Fixed update of the em_unit in respect to the new font size
+ MSW specific: Fixed re-scaling of the non-standard buttons
2023-10-18 16:32:12 +02:00
YuSanka
c0aef5ff0a Skinned UI: WIP
* Non-MSW specific: Next improvements for BG of the controls
  + Create wrap class BitmapToggleButton to correct create under all platforms
  + TabFilament: Fixes crash on recreating of the app

* Next improvements for background under nonMSW systems
 + Fixed Field::SpinCtrl::propagate_value

* DropDown: Implemented transparent background for rounded corners.
  + Tab: use TextInput and SwitchButton for substitutions
  + nonMSW specific: Don't set BackgroundColors for panels

* ObjectManipulation: Use TextInput instead wxTextCtrl

* Process rectangle/rounded controls
  + Preferences: Added "Suppress round corners" parameter

* Skinned UI: SwitchButton. Use it for CheckBox Field

* Skinned UI: SpinInput
  + ScalableBitmap/ScalableButton respects to different width and height of bitmap.

* Skinned UI: ComboBox

* Skinned UI: CheckBox
2023-10-18 16:32:12 +02:00
Lukas Matena
e6c4522143 Removed unused parameter 'arc_fitting_tolerance' from the configuration layer,
added static_assert for coord_t size
2023-10-17 13:20:31 +02:00
YuSanka
6b94d09fe6 SubstitutionManager: Follow-up 2b25f55 - Fixed a crash.
(Added missed cleaning of the m_chb_match_single_lines on init substitutions)
2023-10-11 11:30:49 +02:00
YuSanka
fd7d7e1ae5 SubstitutionManager: Follow-up 2b25f55f8 - Fixed a crash.
(Added missed cleaning of the m_chb_match_single_lines on Delete All substitutions)

+ Added missed Layout on add substitution

+ EditGCodeDialog: Deleted unused code caused compilation warning.
2023-09-25 15:00:27 +02:00
Lukas Matena
4694f2444e Updated some phrases 2023-09-20 10:44:44 +02:00
YuSanka
2b25f55f8b Follow up 2c9a21c - Fixed SubstitutionManager::delete_substitution()
+ Fixed visibility of the "Match single line" CheckBoxes, when preset is switched and values are transferred to new selected preset.
 + Fixed typos in some functions names
2023-09-18 14:48:38 +02:00
YuSanka
2c9a21ca9a Refactoring for SubstitutionManager to avoid flickering on any config changes on active TabPage. (SPE-1889) 2023-09-18 12:00:00 +02:00
Oleksandra Yushchenko
c6ce4a662e
Merge pull request #50 from Prusa-Development/ys_thumbnails_refact
Thumbnails refactoring
2023-09-13 15:29:20 +02:00
YuSanka
cfc520c97a Thumbnails refactoring: Next round
* Check errors state on all places of its using (throw exceptions or show a warnings message)
+ To backward compatibility, save "thumbnails_format" value to the config
+ deep_diff() function is extended for the case of "thumbnails" comparison
+ Added unit tests to:
  * check a load of configuration for "thumbnails" and "thumbnails_format" options
  * check return values for make_and_check_thumbnail_list() function
2023-09-13 15:24:40 +02:00
Lukas Matena
82a0c09a57 Fixed compilation on Linux (gcc 9.4.0) 2023-09-13 10:14:11 +02:00
YuSanka
bae74457f7 Follow-up a6dea252432eeb34153d5ab767b1a9d315926ee3 and ae8684a4a46bdaa8fb7dda03b38561ffe170cb47 - Code refactoring 2023-09-11 09:33:13 +02:00
Pascal de Bruijn
29fbb1acd1 wxWidgets: CheckResizerFlags assert fix (PR #10811)
./src/common/sizer.cpp(2258): assert "CheckSizerFlags(!((flags) & (wxALIGN_CENTRE_VERTICAL)))"
failed in DoInsert(): wxALIGN_CENTRE_VERTICAL will be ignored in this sizer:
wxEXPAND overrides alignment flags in box sizers
2023-09-08 17:42:35 +02:00
enricoturri1966
a0dfb33b49 Automatically change extension in output_filename_format when switching to/from binary gcode format in Print Settings 2023-09-05 14:06:49 +02:00
enricoturri1966
0f939409b8 Merge branch 'master_262' of https://github.com/Prusa-Development/PrusaSlicerPrivate into master_262 2023-09-05 12:29:37 +02:00
enricoturri1966
53adc68717 Tech ENABLE_BINARIZED_GCODE set as default 2023-09-05 12:17:47 +02:00
Vojtech Bubnik
c846e39767 Merge branch 'master' into master_262 2023-09-05 09:44:54 +02:00
Vojtech Bubnik
8dad25efc4 Merge branch 'master' into master_262 2023-09-04 14:44:32 +02:00
YuSanka
5d9078138c Fix for #11232 - "Rename preset" does not support Cyrillic. 2023-09-04 10:51:46 +02:00
ps_copyright
f32859c302 final copyright headers 2023-09-01 14:49:07 +02:00
Vojtech Bubnik
c01c863d8b Merge branch 'master' into master_262 2023-08-31 17:16:20 +02:00
YuSanka
7280b2a0fb Fix for SPE-1845 Incorrectly imported filament profiles from 3MF or configuration ini.
+ Fix for SPE-1848 Crash on switch from MM printer to SM, when non-first filament is modified
2023-08-31 14:30:14 +02:00
Vojtech Bubnik
529f1fb395 Merge branch 'et_spe1784_binary_gcode' into master_262 2023-08-30 18:52:55 +02:00
YuSanka
c577b7fb38 Editing of Custom G-code: Implemented ParamsViewCtrl
+ GUI_App : Fixed update of the dark mode, when DataViewCtrl doesn't have header
2023-08-29 11:43:32 +02:00
YuSanka
a8307bf8b5 Editing of Custom G-code: Added EditGCodeDialog : WIP 2023-08-29 11:43:32 +02:00
YuSanka
7db83d58f0 Editing of Custom G-code: Prepared UI part on SettingsTabs
* Added "Edit" button for all custom G-codes
2023-08-29 11:42:56 +02:00
YuSanka
a6dea25243 WIP: Thumbnails improvements: Merge "thumbnails" and "thumbnails_format" options into just one "thumbnails" option with coString type 2023-08-29 09:20:49 +02:00
Vojtech Bubnik
1c26f0bf60 Merge branch 'master_262' into et_spe1784_binary_gcode 2023-08-28 18:53:30 +02:00
Vojtech Bubnik
3cfe2f4a3a Merge branch 'vb_arc_welder' into master_262 2023-08-28 15:50:00 +02:00
enricoturri1966
81b137eb06 Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate into et_spe1784_binary_gcode 2023-08-22 08:37:47 +02:00
Lukas Matena
4f66559b1e Polishing the multiextruder ramming 2023-08-21 12:24:50 +02:00
Lukas Matena
c6a8b01073 Make 'retraction when tool is disabled' parameters overriddable in Filament Overrides 2023-08-21 12:24:50 +02:00
Lukáš Hejl
9bce0fcf9b SPE-1796: Added option for enabling interlocking between segmented regions by the multimaterial painting. 2023-08-16 11:24:55 +02:00
YuSanka
6671413023 Fix for SPE-1843 - PresetComboBoxes on Settings Tabs doesn't revert the selection, when "Cancel" button is clicked in UnsaveChangesDilalog
This bug was caused by mistakenly commented line of code in 9e4859ebbf
2023-08-15 10:39:51 +02:00
enricoturri1966
ecb1a23edd SPE-1784: New compressed (binary) gcode format integration
1st installment as part of tech ENABLE_BINARIZED_GCODE

Still missing GCode Block save/load
2023-07-19 13:18:04 +02:00
Vojtech Bubnik
4bb5d45ec1 ArcWelder: Integrated "arc_fitting" and "arc_fitting_tolerance"
parameters to the UI and the slicing pipeline.
2023-07-13 16:15:38 +02:00
Vojtech Bubnik
19062b4d5f ArcWelder path interpolation based on the work by Brad Hochgesang @FormerLurker.
WIP GCode/SmoothPath.cpp,hpp cache for interpolating extrusion path with arches.
Removed Perl test t/geometry.t, replaced with C++ tests.
Refactored ExtrusionEntity and derived classes to hold extrusion attributes in new ExtrusionFlow/ExtrusionAttributes classes.
Reworked path ordering in G-code export to never copy polylines, but to work with a new "flipped" attribute.
Reworked G-code export to interpolate extrusion paths with smooth paths and to extrude those smooth paths.
New parameters: arc_fitting, arc_fitting_tolerance
Renamed GCode class to GCodeGenerator
Moved GCodeWriter.cpp/hpp to GCode/
Moved Wipe from from GCode.cpp,hpp to GCode/Wipe.cpp,hpp
Moved WipeTowerIntegration from GCode.cpp,hpp to GCode/WipeTowerIntegration.cpp,hpp
New variant of douglas_peucker() to simplify range of iterators in place.
Refactored wipe in general and wipe on perimeters / hiding seams.

WIP: Convert estimate_speed_from_extrusion_quality() and its application to smooth paths.
WIP: Cooling buffer to process G2G3, disable arc fitting for filters that cannot process it.
2023-07-13 11:54:42 +02:00
YuSanka
c4de398d30 Follow up e28a913e - Added update of visibility for "flag" button 2023-06-14 10:39:28 +02:00