Commit Graph

10033 Commits

Author SHA1 Message Date
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
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
eef2666df0 FDM supports gizmo is aware of the clipping plane 2020-04-30 16:57:09 +02:00
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
0f46bc28cc Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2020-04-30 12:04:03 +02:00
d89651693b Search: Fixed returning of a pointer to temporary. 2020-04-30 12:03:49 +02:00
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
d706b0e106 Merge remote-tracking branch 'origin/master' into ys_imperial_unit 2020-04-29 19:17:20 +02:00
ced8e42504 Imperial units: Implemented just for the object's position and size 2020-04-29 19:10:13 +02:00
1141732404 Fixed spelling of "sidebar" 2020-04-29 15:58:57 +02:00
1e6fdf6d80 Merge remote-tracking branch 'origin/master' into ys_search 2020-04-29 14:56:31 +02:00
5d1356203f Localization fixes. 2020-04-29 14:42:43 +02:00
0043ce1a80 GCodeViewer -> Added ironing extrusion role 2020-04-29 13:51:20 +02:00
201dbbd64d Selection rectangle is supressed when FDM custom supports gizmo is active 2020-04-29 13:36:11 +02:00
c293c6e75f Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer 2020-04-29 12:53:55 +02:00
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
fcb24124df GCodeViewer -> Fixed z slider in initial preview 2020-04-29 10:18:29 +02:00
eece68965b GCodeViewer -> Code cleanup 2020-04-29 08:24:39 +02:00
41d69e546b Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2020-04-28 19:31:18 +02:00
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
a5fd9ab48a GCodeViewer -> Use glMultiDrawElements() in place of glDrawElements() to draw all entities 2020-04-28 15:49:01 +02:00
d0fbed86e2 GCodeViewer -> Use glMultiDrawElements() in place of glDrawElements() to draw extrude and travel paths 2020-04-28 15:08:36 +02:00
8c4f5be711 GCodeViewer -> Refactoring 2020-04-28 12:24:03 +02:00
cf2f45c5ca Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer 2020-04-28 10:29:44 +02:00
51da59603f GCodeProcessor::MoveVertex -> added placeholder for time 2020-04-28 10:29:25 +02:00
f06ea4064f GCodeViewer -> Fixed synchronization between legend and bottom toolbar 2020-04-28 09:09:24 +02:00
59e88baf9d GCodeViewer -> Toggle extrusion role visibility by clicking on legend 2020-04-28 08:50:52 +02:00
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
19c0c83cef GCodeViewer -> Added debug statistics imgui dialog 2020-04-27 14:10:18 +02:00
fcc4e52218 GCodeViewer -> Refactoring 2020-04-27 12:43:51 +02:00
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
89db03f6a4 GCodeViewer -> Layers z slider wip 2020-04-27 11:44:29 +02:00
8ddc1758b0 GCodeViewer -> Shortcut to show/hide legend 2020-04-27 08:19:48 +02:00
893effc814 GCodeViewer -> Draw alphed extrusion paths into legend when set as not visible 2020-04-25 12:24:56 +02:00
47c5140a98 GCodeViewer -> Add travel paths to legend 2020-04-25 11:16:28 +02:00
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
1d39db3c6c Also search vendor directory for printer profile resources.
Search the vendor directory using the same conventions used to search
the profiles directory when looking for thumbnails, bed_models, and
bed_textures. Allows a complete, "Config Wizard"-friendly custom vendor
profile to be placed in the (user's configuration) vendor directory.
2020-04-25 02:51:02 +00:00
ab739151b2 ENABLE_GCODE_VIEWER -> Preview toolbar checkboxes moved into a new combo 2020-04-24 16:12:38 +02:00
0709d361d1 Merge branch 'lm_fdm_custom_supports_backend' 2020-04-24 15:16:33 +02:00
bc45c3bffa Fix to the last commit f9b3f2d45e 2020-04-24 11:33:00 +02:00
4674cec006 Search: Code cleaning
+ Reverted "Plater" tab to the Settings Notepad
2020-04-24 11:01:14 +02:00
ebc3285003 Fixed conflicts after merge with master 2020-04-24 10:59:03 +02:00
f96826ff0f GCodeViewer -> Coloring of travel paths 2020-04-24 08:46:31 +02:00
774aa1bab3 Merge branch 'tm_sl1_import_2' 2020-04-24 08:27:49 +02:00
5ea4416033 Fixed an update of the search list after the change of the print technology 2020-04-23 21:32:12 +02:00
58bbe6e0d2 Collapse_toolbar: fixed draw items
+ Extended toolbar
2020-04-23 21:00:00 +02:00
33ab0eb660 Add ui job for SLA import 2020-04-23 19:45:55 +02:00
f930587f43 SLA archive import with miniz, marching square bugfixes
Fix compilation on Windows


Fix array subscript out of range error in MarchingSquares


Fix normals of mesh constructed from slices


Improve performance of mesh construction from slices
2020-04-23 19:12:07 +02:00
4e4efeef31 Initial version of sl1 import with sla::Raster refactor. 2020-04-23 19:05:32 +02:00
82aa16d123 Move ui jobs into separate folder 2020-04-23 18:56:09 +02:00