247 Commits

Author SHA1 Message Date
Lukáš Hejl
69b29a202f Remove forgotten variable m_wifi_config_dialog_was_declined from Slic3r::GUI::GUI_App class. 2024-01-05 22:38:16 +01:00
Lukas Matena
e922fdceb4 Fixed usage of custom filename extension in SLA mode, broken in 283fd6f. 2024-01-05 15:10:01 +01:00
David Kocik
0e889eae09 Change of wifi config dialog showing rules
do not show automatically after decline
2023-10-31 16:00:50 +01:00
David Kocik
9974e4e33f Wifi config dialog changes.
Usb drive insertion triggers wifi config dialog.
Ini file is not rewritten, rather information is added.
2023-10-31 16:00:50 +01:00
YuSanka
8d1165d6ed SpinInputDouble
+ Update font size for application in respect to the display size
2023-10-18 16:32:12 +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
1a182999a8 SkinnedUI: bug fixing and improvements:
* SPE-1945 : LINUX - Black background in dark mode in search - "Category"
* SPE-1941 : Font size is applied for old PS version (app_config key for font size is changed to "font_pt_size")
* SPE-1939 : Preferences : PS widows have incorrect dims when used max font size
* SPE-1943 : Fixed gtk resize popup window (Manually merged 60dbf71cd6 )
* SPE-1942 : Linux specific: Brim check button on sidebar jumps
* SPE-1944 : PrusaConnect URL is missing in physical Printer
+ Changed icon which is used to comboboxes
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
David Kocik
0638b3057f wifi for printer config dialog
Enumerating wifi ssid and psk for win, apple and linux.
Win automatically loads password if possible.
Apple retrieves password from keychain on button.
Apple lists only connected network in some cases (ARM or latest OS wdk).
Cmake linking CoreWLAN lib on apple.
Result is written on usb drive.
2023-10-16 16:09:08 +02:00
enricoturri1966
cfcb4f7925 SPE-1960: Associate .bgcode files to GCodeViewer on Windows 2023-10-12 15:05:02 +02:00
ps_copyright
f32859c302 final copyright headers 2023-09-01 14:49:07 +02:00
Vojtech Bubnik
e0f577a33c Fix of SPE-1850 GH #1221
Broken with 99861f1b6ec3793025d528f0badb63e837f8c808 SPE-1207
Custom file extension needs to be included in the list of extensions
of the file dialog. On MacOS the custom extension needs to be the
first one in the list as it will be forced upon the default file
name provided to the file dialog.
2023-08-31 16:38:43 +02:00
YuSanka
0c82f38950 ConfigWizard: Downloads page: Info line is changed
+ Linux and OSX specific: Fixed BG color for the HTML_widget on Materials pages and InfoDialogs
2023-08-17 14:45:46 +02:00
tamasmeszaros
283fd6feb4 Fix sla archive filenames with using the archive format registry 2023-06-09 10:59:41 +02:00
David Kocik
dfe735fb6c Postpone post_init() until opengl is initialized on all systems.
Revert on win
2023-03-01 13:33:44 +01:00
David Kocik
daaa9669e9 File -> Import -> Import Zip Archive 2023-03-01 09:27:49 +01:00
David Kocik
41ab733cd8 Refactoring of DownloaderUtils (remove including ConfigWizard_private.hpp)) 2023-02-17 09:30:09 +01:00
David Kocik
11b660b344 downloader re-registration dialog 2023-02-03 15:52:18 +01:00
YuSanka
c16fa93bdb Allow to switch to the Simple mode, when all objects are single-parts or have support-modificators only.
+ Object's menu for Advanced and Expert mode are the same now.

+ "wxYES|wxCANCEL" style is changed to "wxOK|wxCANCEL" for MessageDialog.
The reason: wxWidgets implementation for Linux doesn't respects to "wxYES|wxCANCEL" style for MessageDialog.
In this case massage dialog has "wxYES_NO|wxCANCEL" style.
2023-01-23 10:24:45 +01:00
David Kocik
ce38e57ec4 Downloader feature - Downloads from Printables.com
Custom URL Registration:
 - Windows - writes to registers.
 - Linux - desktop integration file.
 - Macos - info.plist.in creates registration and is controlled only via app config.
Registration is first made in Config Wizard. Or is triggered from Preferences. Path to downloads folder can be set.
URL link starts new instance of PS which sends data to running instance via SingleInstance structures if exists.
New progress notification is introduced with pause and stop buttons.
Downloader writes downloaded data by chunks.
Support for zip files is introduced. Zip files can be opened, downloaded or drag'n'droped in PS. Archive dialog is opened. Then if more than 1 project is selected, only geometry is loaded.
Opening of 3mf project now supports openning project in new PS instance.
2023-01-05 16:00:04 +01:00
YuSanka
033af199a3 Implemented palettes for mode markers 2022-12-20 15:50:13 +01:00
Filip Sykala - NTB T15p
c549c6afbe Merge branch 'master' into fs_emboss
# Conflicts:
#	src/libslic3r/CMakeLists.txt
#	src/libslic3r/Format/3mf.cpp
#	src/libslic3r/Model.hpp
#	src/libslic3r/Point.hpp
#	src/libslic3r/Technologies.hpp
#	src/slic3r/CMakeLists.txt
#	src/slic3r/GUI/GLCanvas3D.cpp
#	src/slic3r/GUI/GLSelectionRectangle.cpp
#	src/slic3r/GUI/GUI_Factories.hpp
#	src/slic3r/GUI/Gizmos/GLGizmoBase.cpp
#	src/slic3r/GUI/Gizmos/GLGizmoBase.hpp
#	src/slic3r/GUI/Gizmos/GLGizmoMove.cpp
#	src/slic3r/GUI/Gizmos/GLGizmoMove.hpp
#	src/slic3r/GUI/Gizmos/GLGizmoRotate.cpp
#	src/slic3r/GUI/Gizmos/GLGizmoRotate.hpp
#	src/slic3r/GUI/MeshUtils.cpp
#	src/slic3r/GUI/MeshUtils.hpp
#	src/slic3r/GUI/ObjectDataViewModel.cpp
#	src/slic3r/GUI/ObjectDataViewModel.hpp
#	src/slic3r/GUI/Selection.cpp
2022-08-31 15:22:10 +02:00
YuSanka
98e94c3329 Fix for #8728 - Remember Size/Location of Shape Gallery window box 2022-08-24 16:49:38 +02:00
Lukas Matena
deac513faa Fixed conflicts after merge 2022-08-15 15:23:59 +02:00
Lukas Matena
bce2b148f4 Merged 2.5.0-beta1 into master (NO CONFLICTS FIXED) 2022-08-15 13:41:40 +02:00
tamasmeszaros
88ba89dbbc STEP: Implementation ported from BambuStudio:
CMake handling is different

STEP: Removed preprocessing stage

STEP: Small refactoring

STEP: Bigger refactoring

STEP: Changed naming on loaded object and volumes:
If the STEP contains exactly one named volume, the object and its first
volume will both have that name. Otherwise, filename w/o suffix is used
as object name and volumes are named using names from the STEP (if there
is none, untranslated "PartN" string is used).

STEP: Load the libraries dynamically on Win

wip
2022-08-11 16:49:13 +02:00
Filip Sykala
3e9778b46b Merge branch 'et_world_coordinates' into fs_emboss 2022-05-02 10:11:47 +02:00
Lukas Matena
09fe421fe8 Merge branch 'stable' (no conflicts fixed) 2022-04-27 22:24:13 +02:00
Vojtech Bubnik
6a67a6e21b Fix of #8170: Seemingly the OSX finder calls the "open files" callback
on PrusaSlicer too early now on some newest platforms, where the
application is not yet fully initialized. This fix postpones loading of
files in that case.
2022-04-07 15:52:33 +02:00
Filip Sykala
583babb3b4 Merge branch 'master' into fs_emboss 2022-03-24 11:48:09 +01:00
David Kocik
1f362afb24 Fixes after CR
Most important: 
Change Download dialog to select path there.
Every user query triggers new download of version file, possibly stops former download (with dialog).
Some functions refactored.
2022-03-23 09:34:12 +01:00
David Kocik
43124979e5 app updater feature
checks online version file
offers download of new version of slicer
download with notification
opens instalator or target folder
2022-03-23 09:34:12 +01:00
Filip Sykala
fec171d14e Merge branch 'master' into fs_emboss
# Conflicts:
#	src/libslic3r/Technologies.hpp
2022-03-21 21:40:37 +01:00
enricoturri1966
99861f1b6e SPE-1207 - Extensions in Open/Save/Export dialogs - alternative implementation for file_wildcards() 2022-03-17 14:20:35 +01:00
Filip Sykala
70b94d592b Merge branch 'et_world_coordinates' into fs_emboss_with_CGAL_5_4
# Conflicts:
#	src/libslic3r/Technologies.hpp
#	src/slic3r/GUI/Gizmos/GLGizmoBase.hpp
#	src/slic3r/GUI/Gizmos/GLGizmosManager.cpp
2022-03-09 11:06:58 +01:00
Lukas Matena
e058f794d9 Merge branch 'stable' 2022-02-24 13:05:05 +01:00
Vojtech Bubnik
a062a889d8 Follow-up to a1746e3e660cc54f1e26ff33f007525767648a49
Fix for #7849 - "Save Project" command doesn't work properly
2022-02-14 14:13:48 +01:00
Filip Sykala
a50d93cd66 Merge branch 'master' into fs_emboss
# Conflicts:
#	src/libslic3r/Geometry.cpp
#	src/slic3r/GUI/Gizmos/GLGizmoBase.cpp
#	src/slic3r/GUI/Gizmos/GLGizmoMove.cpp
#	src/slic3r/GUI/Gizmos/GLGizmoMove.hpp
#	src/slic3r/GUI/Gizmos/GLGizmoRotate.cpp
#	src/slic3r/GUI/Gizmos/GLGizmoRotate.hpp
#	src/slic3r/GUI/Gizmos/GLGizmoScale.cpp
#	src/slic3r/GUI/Gizmos/GLGizmoScale.hpp
#	src/slic3r/GUI/Gizmos/GLGizmoSimplify.cpp
#	src/slic3r/GUI/ImGuiWrapper.cpp
#	src/slic3r/GUI/ImGuiWrapper.hpp
#	src/slic3r/GUI/Selection.cpp
#	tests/slic3rutils/slic3r_jobs_tests.cpp
2022-02-02 15:27:25 +01:00
Lukas Matena
5c616c5931 Sync to 2.4.1-beta1 2022-02-01 14:16:13 +01:00
Lukas Matena
ebb9041041 Merge branch 'master' into stable - no conflicts fixed 2022-02-01 14:15:18 +01:00
enricoturri1966
8d94841fa3 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into dev 2022-01-29 09:17:30 +01:00
Oleksandra Yushchenko
ddb14fa7f9
MSW specific: Highlighted text for the default buttons in dialog. Related to https://github.com/prusa3d/PrusaSlicer/issues/7564 (#7830) 2022-01-28 17:16:04 +01:00
Vojtech Bubnik
a103336c8c Fix of Opening a previous version of PrusaSlicer damages configuration #7780
PrusaSlicer writes its version into "version" field of PrusaSlicer.ini
on start, unfortunately it used to do it too early, before the
"configuration invalid, reconfigure" dialog was shown to the user.
If user refused, the version was still written into PrusaSlicer.ini,
which lead to a newer slicer thinking the configuration is outdated.
2022-01-28 11:31:22 +01:00
enricoturri1966
c74ae1c513 Follow-up of dc75a591151592dbd7df424e689ccd9a017b5efa - Use a unique command and method to export to STL and OBJ - Added export to OBJ also for Export plater to STL commands 2022-01-19 14:23:03 +01:00
YuSanka
ced6d26917 Merge remote-tracking branch 'origin/master' into dev 2022-01-12 15:05:31 +01:00
YuSanka
2b66a81ee1 Preferences: Changed tooltip for the "Suppress to open hyperlink in browser"
+ Show "PrusaSlicer: Don't ask me again" dialog when "Remember my choice" is checked in "PrusaSlicer: Open hyperlink" dialog
+ Ignore suppress of hyperlink for menu items
+ Code refactoring for OptionsGroup::launch_browser() => use common wxGetApp().open_browser_with_warning_dialog().
2022-01-06 13:55:40 +01:00
YuSanka
f2aeca3a71 Options from the "Preferences" dialog added to the Search
Some code refactoring:
* use GUI_App::open_preferences() on all places where it's needed
* Preferences Dialog is an attribute of a ManeFrame class and created just ones during the MainFrame creation now.
* Created class Highlighter. Use it in Preferences and Tab
2021-12-22 14:38:23 +01:00
Vojtech Bubnik
87880022fc Some improvements to copying of newer configuration to current folder:
1) Less context is kept in GUI_App.
2) Copying is not being done if loading current PrusaSlicer.ini fails
3) AppConfig (PrusaSlicer.ini) is saved first after the newer configuration is installed.
2021-12-15 11:09:34 +01:00
Filip Sykala
88523bceb6 Merge branch 'master' into fs_emboss 2021-12-13 10:52:04 +01:00
David Kocik
091585076c Followup on 6490456ec401f05036289897f14dc82e27714ceb
Rename variable
2021-12-06 17:24:54 +01:00