283 Commits

Author SHA1 Message Date
YuSanka
785ad4ce95 ImguiDoubleSlider: WIP: Functions which was related to manipulate with ticks are moved into TickCodeInfo
* TickCodeInfo is renamed to TickCodesManager and moved to separate files
 * Added more callbacks to avoid use of wxWidgets
 * Added function for color picker rendering

 * For string formatting is used Slic3r::format instead of GUI::format (To avoid including wx/string)
 * All code related to DoubleSlider extracted from Slic3r name space
2024-04-24 10:54:12 +02:00
YuSanka
d06ef37df9 ImguiDoubleSlider: WIP: Set scale in respect to Retina displays
+ request one more frame for redraw, if value was changed with mouse wheel
 + some code cleaning
2024-04-24 10:54:12 +02:00
YuSanka
8e749734ff ImguiDoubleSlider: WIP: For vertical slider are added :
* actions buttons and theirs process
 * rendering of ticks and theirs info buttons
 * show label with estimated time on mouse moving

+ ImGuiWrapper::image_button is extended for highlight_on_hover parameter to enable/disable highlighting on the hover
+ Show and process some icon/buttons in respect to the application mode (if is Editor or Viewer)
2024-04-24 10:54:12 +02:00
YuSanka
ab9923eee6 ImguiDoubleSlider: WIP: Implemented "pure" ImGuiControl
+ For ImGuiControl implemented adding of callbacks for get_label and draw_scroll_line
2024-04-24 10:54:12 +02:00
YuSanka
a26d17d689 ImguiDoubleSliser: WIP: Some of code is ported from BambuStudio (state of 96707fc4b4b40c30b7e5610d2489ef283fe952a4)
* Code improvements :
    + added render_button()
    + added draw_hexagon()
2024-04-24 10:54:12 +02:00
YuSanka
ed51fc24c9 Follow-up last commit: Fixed warnings and added missed include 2024-04-05 13:16:05 +02:00
YuSanka
e9361b4f61 ImGuiWrapper is split now into ImGuiWrapper, which contains and uses internal variables,
and ImGuiPureWrap (name space which uses just pure ImGui functions and doesn't use wxWidgets)
2024-04-05 12:38:47 +02:00
Lukas Matena
9dc7b70084 Merge branch 'master_27x' 2024-03-27 16:37:47 +01:00
enricoturri1966
c2b8914ed0 Tech ENABLE_GL_CORE_PROFILE set as default 2024-03-26 14:41:57 +01:00
enricoturri1966
1112fca688 Tech ENABLE_OPENGL_ES replaced by build option SLIC3R_OPENGL_ES 2024-03-26 14:41:57 +01:00
enricoturri1966
539c155c59 Code cleanup and techs removal - completed 2024-03-26 14:41:55 +01:00
enricoturri1966
55b674ca3b Code cleanup 2024-03-26 14:15:37 +01:00
enricoturri1966
585bcb78c3 New gcode visualization integration - Colors 2024-03-26 14:04:08 +01:00
enricoturri1966
735fc6d107 New gcode visualization integration - Tool position 2024-03-26 14:04:08 +01:00
Jernej Pangerc
305a02facd Added Slovenian translation
Added Slovenian translation. This is not full translation, only basic entries are translated.
2024-03-20 15:26:11 +01:00
Filip Sykala - NTB T15p
255081e342 Merge branch 'master' into fs_svg_SPE-1517 2023-09-13 21:53:59 +02:00
Vojtech Bubnik
8dad25efc4 Merge branch 'master' into master_262 2023-09-04 14:44:32 +02:00
Filip Sykala - NTB T15p
ca71305c75 Merge branch 'master' into fs_svg
# Conflicts:
#	src/slic3r/Utils/EmbossStylesSerializable.cpp
#	src/slic3r/Utils/EmbossStylesSerializable.hpp
2023-09-04 13:33:22 +02:00
ps_copyright
f32859c302 final copyright headers 2023-09-01 14:49:07 +02:00
Filip Sykala - NTB T15p
57141aa61a Merge branch 'master' into fs_svg
# Conflicts:
#	src/slic3r/GUI/Gizmos/GLGizmoEmboss.hpp
2023-08-22 16:20:42 +02:00
enricoturri1966
d9d771c268 Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate into et_spe1784_binary_gcode 2023-08-14 09:55:45 +02:00
YuSanka
492e356a21 CutGizmo: Fixed and improved Undo/Redo. 2023-08-03 16:09:28 +02:00
Filip Sykala - NTB T15p
09362dd791 Keep same line height for input and slider 2023-07-25 08:24:41 +02:00
enricoturri1966
ee87536ff6 Added debug imgui dialog to allow to change binary gcode parameters at runtime 2023-07-21 12:24:24 +02:00
YuSanka
e8bdd9e78d Code refactoring: Rivet is changed to Snap 2023-07-19 10:25:48 +02:00
YuSanka
6a2afc9153 WIP: Add new connector - "Rivet"
* Improves for UI
* Implemented Rivet mesh
2023-07-19 10:25:47 +02:00
Filip Sykala - NTB T15p
3e0cd9a872 Merge branch 'fs_dir_per_glyph_SPE-1597' into fs_svg 2023-06-07 11:26:54 +02:00
YuSanka
940fa11702 Imgui: Fixed using of Fonts->GetGlyphRangesCyrillic() for BE dictionary 2023-06-02 16:53:41 +02:00
Filip Sykala - NTB T15p
5de06a9ef8 Merge branch 'master' into fs_svg 2023-06-02 10:53:47 +02:00
YuSanka
9af733d6ac ImGuiWrapper::combo improvements.
+ Set label for ImGui::BeginCombo as ("##" + label).c_str() to avoid control conflicts, when several combos are placed in one imgui window.
+ Return TRUE value only when selection was changed
+ Added label_width and item_width input parameters to have possibility set a width to the label text and combo control.

+ GizmoCut: Use ImGuiWrapper::combo to render comboboxes
2023-05-23 14:23:45 +02:00
enricoturri1966
b13a51f400 Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate into et_sla_switch_view 2023-05-10 08:15:35 +02:00
Lukas Matena
a039391131 Fixed rendering of horizontal ellipsis in ImGui controls 2023-05-04 13:56:46 +02:00
enricoturri1966
159e699cd5 Fixed conflicts after merge with master 2023-04-26 12:35:02 +02:00
enricoturri1966
5c581e3998 Fixed warnings 2023-04-20 08:42:09 +02:00
Filip Sykala - NTB T15p
382a0fe1e3 Merge branch 'master' into fs_svg
# Conflicts:
#	src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp
#	src/slic3r/GUI/Gizmos/GLGizmoEmboss.hpp
#	src/slic3r/GUI/Jobs/EmbossJob.cpp
#	src/slic3r/GUI/Jobs/EmbossJob.hpp
#	src/slic3r/GUI/SurfaceDrag.cpp
2023-04-06 08:25:20 +02:00
enricoturri1966
61d45cf3b5 Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate into et_sla_switch_view 2023-04-04 14:38:17 +02:00
enricoturri1966
368d36089b Follow-up of 745a45408143af16e1dbf5f74c7c405dd9762472 - Refactoring in ImGuiWrapper::init_font() to remove duplicated code 2023-04-04 10:56:49 +02:00
enricoturri1966
745a454081 Follow-up of 81cebe5be3903e3cdcaa75f689dbdffaf7891b21 - Fixed crash at startup when any of the svg files used as icon into imgui dialog (and/or splash screen icon) is renamed/removed. 2023-04-04 10:23:47 +02:00
enricoturri1966
799e44f155 Show an icon button, in place of a plain imgui button, in the 3D scene as switch between view types of an object sliced with sla printer 2023-04-04 09:47:22 +02:00
enricoturri1966
81cebe5be3 SPE-1629 - Fixed crash at startup when any of the svg files used as icon into imgui dialog is renamed/removed. 2023-04-03 10:48:59 +02:00
Filip Sykala - NTB T15p
a5ea46a83a Add SVG gizmo - buildable 2023-03-07 16:47:12 +01:00
Filip Sykala - NTB T15p
a1a57eb61c Separate drawing of cross hair 2023-02-28 15:24:33 +01:00
Filip Sykala - NTB T15p
47f77646d4 Merge branch 'master' into fs_emboss 2023-02-20 15:47:53 +01:00
YuSanka
14c3152ac9 Fix for #9795 - Text emboss input dialog doesn't allow pasting in text from clipboard 2023-02-20 14:29:37 +01:00
Filip Sykala - NTB T15p
02409fe3c0 Merge branch 'master' into fs_emboss 2023-02-17 11:39:39 +01:00
YuSanka
b40473be51 CutGizmo: Improvements to identify Upper/Lower parts_count
+ Rework CutDialog
+ Added "Cut to" section (Idea from #9564[Cut: Keep results as parts of current idea] was used, but there is other implementation)
+ Fix for #9657 - Inconvenient gizma, blocks the view of the cut of small parts
+ Add functionality "Flip cut plane" = Fix for #9632 - Adding connectors to either split cut part
+ ImGuiWrapper: added tooltip for button
2023-02-15 12:02:10 +01:00
YuSanka
e4ef82d1c1 CutGizmo: Add info icons to the connector types 2023-02-03 12:56:14 +01:00
Filip Sykala - NTB T15p
4b31db5e66 Fix search in font list 2023-02-02 12:36:01 +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
David Kocik
5f75d61d49 fix of compilation warnings 2022-12-19 15:56:58 +01:00