Commit Graph

4442 Commits

Author SHA1 Message Date
YuSanka
4061d9b9b9 Fixed OSX/Linux build
Destroy Settings Dialog when close application
2020-05-05 09:37:31 +02:00
YuSanka
6ce87da9d8 Merge remote-tracking branch 'origin/master' into ys_layouts 2020-05-05 08:54:51 +02:00
YuSanka
3e3698ebae New Layouts: There 3 mode of a layout of the settings tabpanel :
1. Old mode, as it was always.
2. New mode, when Settings Tabs are hidden on the Plater. Use "cog" icon for the switching to the settings tabs
3. Dlg mode, when Settings Tabs are extracted to the Settings dialog. Use "cog" icon for Show or Focus the Settings Dialog

The "Collapse sidebar" toolbar appearance is set in the Preferences.
2020-05-04 22:31:59 +02:00
bubnikv
c11f001f61 Fuzzy matching:
1) Handle localized and English searches as equivalent.
2) Search the whole section : group : label string, still give
   precedence to just the label.
2020-05-04 21:22:56 +02:00
bubnikv
2d73802f58 Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2020-05-04 16:18:32 +02:00
bubnikv
8be8f5c56e Fuzzy matching of parameters in the search box:
Fix of https://github.com/forrestthewoods/lib_fts/issues/21 finally applied,
disabled CamelCase matching as we are not using CamelCase in Slicer parameters.
2020-05-04 16:18:20 +02:00
tamasmeszaros
adba95dbdb Fix font size on windows with wx3.1.3 2020-05-04 15:00:17 +02:00
enricoturri1966
47b54673f8 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer 2020-05-04 09:37:29 +02:00
enricoturri1966
7a84d8ed1b GCodeViewer -> Fixed visualization of travel paths 2020-05-04 09:37:06 +02:00
bubnikv
ccbfab56b4 ASCII folding applied over the matched string 2020-05-03 15:45:47 +02:00
bubnikv
de76c19d75 fts_fuzzy_match fixes:
Recursive fix https://github.com/forrestthewoods/lib_fts/issues/21
End of string penalty fix https://github.com/forrestthewoods/lib_fts/issues/24

Some refactoring for succintness (based on Vojtech's taste)
2020-05-03 14:14:40 +02:00
bubnikv
3a44399df1 WIP Fuzzy search rework.
1) fts_fuzzy_match has been extended to support wchar_t for a char
   type and uint16_t for an index type for the match indices.
2) fts_fuzzy_match has been extended to place a proper stopper character
   into the match buffer.
3) Slicer integration now uses the fuzzy match indices for highlighting.
4) Slicer integration now correctly highlights the matched word.
5) Slicer search dialog now sorts based on match AND category.

Further modifications are planned:
1) Matching in local language vs. English: Just show the English variant
   if matched in English. Don't mix the two together.
2) Matching the group or category: Continue matching the label.
3) For matches with equal match quality and category sort alphanumerically.
2020-05-01 08:57:24 +02:00
Lukas Matena
eef2666df0 FDM supports gizmo is aware of the clipping plane 2020-04-30 16:57:09 +02:00
Lukas Matena
0a52040af9 Fix updating of gizmos when instances are added
Gizmos were in fact updated after an instance was added, but before it was selected
2020-04-30 15:21:11 +02:00
bubnikv
0f46bc28cc Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2020-04-30 12:04:03 +02:00
bubnikv
d89651693b Search: Fixed returning of a pointer to temporary. 2020-04-30 12:03:49 +02:00
Lukas Matena
3c2c7b040f Follow-up of previous commit (Slic3r::GUI::format issues)
Another missing namespace qualification caused infinite recursion
2020-04-30 11:32:17 +02:00
YuSanka
d706b0e106 Merge remote-tracking branch 'origin/master' into ys_imperial_unit 2020-04-29 19:17:20 +02:00
YuSanka
ced8e42504 Imperial units: Implemented just for the object's position and size 2020-04-29 19:10:13 +02:00
bubnikv
1141732404 Fixed spelling of "sidebar" 2020-04-29 15:58:57 +02:00
YuSanka
1e6fdf6d80 Merge remote-tracking branch 'origin/master' into ys_search 2020-04-29 14:56:31 +02:00
bubnikv
5d1356203f Localization fixes. 2020-04-29 14:42:43 +02:00
enricoturri1966
0043ce1a80 GCodeViewer -> Added ironing extrusion role 2020-04-29 13:51:20 +02:00
Lukas Matena
201dbbd64d Selection rectangle is supressed when FDM custom supports gizmo is active 2020-04-29 13:36:11 +02:00
enricoturri1966
c293c6e75f Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer 2020-04-29 12:53:55 +02:00
David Kocik
4102c86b5d single slicer instance
check for other instances during startup
send message with command line arguments if found and terminate
listen for those messages and load objects from paths in messages from them
2020-04-29 10:53:48 +02:00
enricoturri1966
fcb24124df GCodeViewer -> Fixed z slider in initial preview 2020-04-29 10:18:29 +02:00
enricoturri1966
eece68965b GCodeViewer -> Code cleanup 2020-04-29 08:24:39 +02:00
bubnikv
41d69e546b Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2020-04-28 19:31:18 +02:00
bubnikv
789fcc93ca Fixed handling of fill_pattern field if not all patterns are allowed
for the internal infill.
2020-04-28 18:00:42 +02:00
enricoturri1966
a5fd9ab48a GCodeViewer -> Use glMultiDrawElements() in place of glDrawElements() to draw all entities 2020-04-28 15:49:01 +02:00
enricoturri1966
d0fbed86e2 GCodeViewer -> Use glMultiDrawElements() in place of glDrawElements() to draw extrude and travel paths 2020-04-28 15:08:36 +02:00
enricoturri1966
8c4f5be711 GCodeViewer -> Refactoring 2020-04-28 12:24:03 +02:00
enricoturri1966
cf2f45c5ca Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer 2020-04-28 10:29:44 +02:00
enricoturri1966
51da59603f GCodeProcessor::MoveVertex -> added placeholder for time 2020-04-28 10:29:25 +02:00
enricoturri1966
f06ea4064f GCodeViewer -> Fixed synchronization between legend and bottom toolbar 2020-04-28 09:09:24 +02:00
enricoturri1966
59e88baf9d GCodeViewer -> Toggle extrusion role visibility by clicking on legend 2020-04-28 08:50:52 +02:00
YuSanka
a0ef2a3cdb Implemented workaround for the mouse wheel in Search Window and Undo/Redo lists on the Plater
Workaround is used because of ImGui::GetIO().MouseWheel returns zero always!
2020-04-27 16:00:54 +02:00
enricoturri1966
19c0c83cef GCodeViewer -> Added debug statistics imgui dialog 2020-04-27 14:10:18 +02:00
enricoturri1966
fcc4e52218 GCodeViewer -> Refactoring 2020-04-27 12:43:51 +02:00
YuSanka
0be8b66746 Fixed update(clear) of the search_line, when search dialog was opened and closed without changing 2020-04-27 11:51:17 +02:00
enricoturri1966
89db03f6a4 GCodeViewer -> Layers z slider wip 2020-04-27 11:44:29 +02:00
enricoturri1966
8ddc1758b0 GCodeViewer -> Shortcut to show/hide legend 2020-04-27 08:19:48 +02:00
enricoturri1966
893effc814 GCodeViewer -> Draw alphed extrusion paths into legend when set as not visible 2020-04-25 12:24:56 +02:00
enricoturri1966
47c5140a98 GCodeViewer -> Add travel paths to legend 2020-04-25 11:16:28 +02:00
enricoturri1966
bbcd4f3b0e Modified wxCheckListBoxComboPopup::GetAdjustedSize() and create_combochecklist() to size the combo control taking in account the items width 2020-04-25 10:36:51 +02:00
enricoturri1966
ab739151b2 ENABLE_GCODE_VIEWER -> Preview toolbar checkboxes moved into a new combo 2020-04-24 16:12:38 +02:00
Lukas Matena
0709d361d1 Merge branch 'lm_fdm_custom_supports_backend' 2020-04-24 15:16:33 +02:00
YuSanka
bc45c3bffa Fix to the last commit f9b3f2d45e 2020-04-24 11:33:00 +02:00
YuSanka
4674cec006 Search: Code cleaning
+ Reverted "Plater" tab to the Settings Notepad
2020-04-24 11:01:14 +02:00