enricoturri1966
ad7e7ae1cd
Added tech ENABLE_OPENGL_ERROR_LOGGING -> log opengl errors when SLIC3R_LOGLEVEL=5
2020-06-04 14:48:52 +02:00
Vojtech Bubnik
6f4d24ab95
WIP: Generating offset curves with properly rounded corners from
...
a Voronoi diagram. Curve extraction is based on the OpenVoronoi implementation.
2020-06-04 13:50:09 +02:00
Lukas Matena
1e5d1cb616
Fixed a crash when switching from SLA to FDM with a gizmo active
...
If a gizmo used SupportsClipper or HollowedMesh common data, it would attempt to update from a dead SLAPrintObject
2020-06-03 16:39:12 +02:00
Vojtech Bubnik
b8267a5f6f
G-code placeholder parser - new values:
...
print_bed_min, print_bed_max, print_bed_size
calculated from a bounding box of bed_shape vector of points.
Also added first_layer_print_size as a size of a first layer print
bounding box.
2020-06-03 16:30:37 +02:00
Vojtech Bubnik
6529543518
WIP: first_layer_print_min/max, first_layer_print_convex_hull
...
placeholders for the G-code export.
2020-06-03 16:30:37 +02:00
Lukas Matena
ed98a859af
Fix of #3919 (extremely wide wipe tower with 0.35mm FAST profile)
...
This is an excerpt from ec86d94
, which was recently reverted because
the other changes from that commit broke some functionality.
2020-06-03 15:34:33 +02:00
Lukas Matena
8ecb0bfe0e
Revert "Workaround for the Prusa3D Fast (layer height 0.35mm) profile, which"
...
This reverts commit ec86d94f02
.
2020-06-03 15:34:33 +02:00
Lukas Matena
2cc1dffc82
Fix of several issues related to gizmos updating and undo/redo
...
Common gizmos data cannot be used in on_set_state method
Also prevented calling render on empty GLVertexArrays
2020-06-03 15:33:39 +02:00
tamasmeszaros
10c59b0d00
Fix the tests after EigenMesh3D refactor
2020-06-02 17:15:08 +02:00
Lukas Matena
dc725ecbad
Fixup of previous commit
2020-06-02 14:49:40 +02:00
Lukas Matena
a4d30fc9bb
Fixed a crash when switching between tabs
...
Introduced in ba963ac
2020-06-02 11:42:25 +02:00
enricoturri1966
06a8bfa588
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2020-06-02 10:03:00 +02:00
enricoturri1966
aa92cbf051
New tech ENABLE_SMOOTH_NORMALS (disabled) -> Added two experimental functions to smooth normals using libigl (none of them working properly in detecting edges) when calling GLIndexedVertexArray::load_mesh_full_shading()
2020-06-02 10:02:50 +02:00
tamasmeszaros
4be0e37963
Workaround for items out of bed after arrange.
...
Fixes #4329
2020-06-01 16:16:30 +02:00
YuSanka
9146ef2f61
Copy/Paste for the Settings and Layers in the ObjectList
2020-06-01 11:11:38 +02:00
Lukas Matena
21de9d23ec
Bugfix: Cut gizmo ignored SLA elevation and the cut ended up shifted
...
It is still possible to set the plane into the space under an object,
but at least it always cuts where indicated.
2020-05-28 16:15:49 +02:00
Vojtech Bubnik
6f92538c20
BoundingBox support for Lines,
...
BoundingBox constructor will no more throw for empty vector of points.
GMP allowed for Vojtech's fork of boost::polygon Voronoi implementation.
Added libslic3r tests for boost::polygon Voronoi. All Voronoi issues
ever reported on the Internet are captured by the tests. Two issues
reported (the two test cases) are real issues which may influence
PrusaSlicer negatively, namely
https://github.com/boostorg/polygon/issues/43
2020-05-28 15:53:53 +02:00
enricoturri1966
0599dc4df7
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2020-05-28 15:27:39 +02:00
enricoturri1966
c63e03c367
1st installment of tech ENABLE_ENVIRONMENT_MAP
2020-05-28 15:27:29 +02:00
YuSanka
ba963ac404
Save a position and size of the settings dialog
...
+ Added a check of the printer technology inside can_merge_to_multipart_object() => suppress merge for the SLA printing
+ clear MainFrame.cpp from unused commented code
2020-05-28 14:38:56 +02:00
Lukas Matena
b376e2c703
FDM supports gizmo: clicking the clipping plane starts painting
2020-05-28 13:10:40 +02:00
Lukas Matena
2c244732db
Introduced a limit on max print z (1.2 m)
...
A follow-up of 815989d
, related to #2877
2020-05-28 12:03:48 +02:00
YuSanka
4b6bcd7028
Merge: Implemented merge to the separate object, when some instance is selected
2020-05-27 22:30:24 +02:00
Lukas Matena
6d432f5426
Fixes second part of #4282 (wxWidgets 3.0 compatibility)
2020-05-27 17:30:56 +02:00
Yuri D'Elia
c6f0cd5b5b
Ironingy typo
2020-05-27 14:31:17 +02:00
Lukas Matena
d9b764bd10
Removed obsolete LambdaObjectDialog.cpp/hpp, more include cleanups:
...
BedShapeDialog.hpp (needs not include) OptionsGroup.hpp
Tab.hpp GUI_App.hpp
2020-05-27 14:01:48 +02:00
Lukas Matena
48c186331a
Includes cleanup:
...
GUI_App.hpp (should not include) MainFrame.hpp
MainFrame.hpp Plater.hpp
ModelArrange.hpp Model.hpp
Slicing.hpp PrintConfig.hpp
FillBase.hpp PrintConfig.hpp
GUI_App.hpp PrintConfig.hpp
OptionsGroup.hpp GUI_App.hpp
2020-05-27 14:01:47 +02:00
YuSanka
ee1942e4e9
Implemented merge of the objects to the one multi-part object
...
+ Implemented merge of the parts to the one object. But now this function doesn't used.
+ Fixed Model::looks_like_imperial_units()
2020-05-27 11:59:43 +02:00
Lukas Matena
f2f1cfef9a
Fix of #4282 (wxOVERRIDE macro not available in wxWidgets 3.0)
...
Now that we use C++17, there is no point in using it in PrusaSlicer codebase
2020-05-27 10:58:38 +02:00
Lukas Matena
3ced59d2a3
Reenabled SLIC3R_HOLE_RAYCASTER before unit tests are updated properly
...
There are still tests of removing holes on slices and raycasting on unaltered mesh (which was eventually superseded by CGAL boolean operations)
2020-05-27 10:05:54 +02:00
Lukas Matena
55395e046f
EigenMesh3D does not store a copy of the mesh
...
Instead, it stores a pointer to extern TriangleMesh (which must not be destroyed before the EigenMesh3D object)
2020-05-27 00:51:11 +02:00
Lukas Matena
1f833921a2
More code cleaning,...
...
optimizations regarding normals calculation
removed unused EigenMesh3D(const Contour3D &other) constructor
removed unused class si_result
2020-05-27 00:51:11 +02:00
Lukas Matena
d85fa8e9ab
EigenMesh3D now stores TriangleMesh inside, not a mesh in Eigen format
...
Rotfinder was apparently building the AABB tree needlessly
2020-05-27 00:51:11 +02:00
Lukas Matena
9224a6a3e6
Removed some unused code
...
- removed define USE_AABB_INDIRECT (which switched between old and new AABB implementation)
- removed define SLIC3R_SLA_NEEDS_WINDTREE (relied on igl and was not used anyway)
- new define SLIC3R_HOLE_RAYCASTER (hides currently unused code)
- slight include cleanup
- removed obsolete source file SupportTreeIGL.cpp
2020-05-27 00:51:11 +02:00
Lukas Matena
cdf80c3b3f
Switched to new AABB tree implementation for raycasting
2020-05-27 00:13:38 +02:00
Lukas Matena
32a353058f
Fixed few warnings
2020-05-26 16:06:11 +02:00
Lukas Matena
3e855d36dc
Fixed unit tests after previous include manipulations
2020-05-26 15:33:44 +02:00
Lukas Matena
94b0ab603f
Include cleanup: Selection.hpp
...
It does not need 3DScene.hpp and Model.hpp
And it does not to be included by GLGizmoBase.hpp
2020-05-26 13:46:59 +02:00
Lukas Matena
c2cd430941
Few more include chains broken
2020-05-26 13:46:59 +02:00
Lukas Matena
02838eaa30
Slight include cleanup
2020-05-26 13:45:36 +02:00
Lukas Matena
cc5fe02cde
Include cleanup: GUI_ObjectManipulation.hpp, GUI, GUI_Preview
2020-05-26 13:45:36 +02:00
Lukas Matena
fb9d8b2025
Include cleanup: do not include Model.hpp from 3DScene.hpp
2020-05-26 13:45:36 +02:00
YuSanka
f78f5c85be
MSW specific issue: Fixed scaling of the Tabs when They are in the separated dialog
2020-05-25 10:21:30 +02:00
YuSanka
7e88e20402
Fixed a bitmap getting for the case, when application was started in Light mode and then switched to the Dark
2020-05-25 09:41:19 +02:00
YuSanka
c7ef1feaf0
Added missed icons for the dark mode.
...
Fixed typos from the previous commit
2020-05-22 17:05:21 +02:00
YuSanka
a56bbea140
Reworked sys_color_changed() functions
...
Fixed OSX specific bugs:
- toolbar flashing for some mainframe sizes (Retina specific)
- size of mainframe when settings layout in slNew mode
Added missed icons to the "white" folder
2020-05-22 15:26:35 +02:00
Vojtech Bubnik
c09d702045
Show Eigen vectorization support in system info dialog.
2020-05-22 11:36:10 +02:00
Vojtech Bubnik
ac1f24e5c9
AABB: Some further polishing and a reference to an SSE implementation
...
of the 3D Box vs. ray intersection implementation.
2020-05-22 11:35:49 +02:00
Vojtech Bubnik
925bf1af70
Shiny profiler: Increased resolution of text output to 2 decimals
2020-05-22 09:29:21 +02:00
Vojtech Bubnik
dc46589a8e
AABB - triangle intersection wrapped to mimize copying into Vector3D
2020-05-22 09:29:21 +02:00
Vojtech Bubnik
c64b7b2e21
Fix of the previous commit.
2020-05-22 09:29:21 +02:00
Vojtech Bubnik
7b6dff3f03
Little simplification of Point to boost::polygon bindings
2020-05-22 09:29:21 +02:00
Vojtech Bubnik
4c365ad583
Replaced many defines in libslic3r.h with constexpr,
...
removed some macros to support old visual studio compiler.
2020-05-22 09:29:21 +02:00
Vojtech Bubnik
99514ba42b
WIP: AABBTreeIndirect - optimized ray_box_intersect_invdir() test,
...
sandbox for comparing the AABBTreeIndirect with libigl::AABB
2020-05-22 09:29:21 +02:00
Vojtech Bubnik
2b8f655020
WIP AABBIndirect: Documentation, polishing.
2020-05-22 09:29:21 +02:00
Vojtech Bubnik
eeb9590d28
WIP: own AABBTreeIndirect, builds up the tree 4x quicker than libigl.
2020-05-22 09:29:21 +02:00
Vojtech Bubnik
abf279fc44
Fixed compilation with Shiny profiler.
2020-05-22 09:29:21 +02:00
Lukas Matena
02e345159d
Grey out wipe tower related config values when wipe tower is disabled
2020-05-22 09:23:26 +02:00
YuSanka
db32c1f15a
Changed processing of a wxEVT_SYS_COLOUR_CHANGED event.
...
Only UI is updated. The application doesn't recreated now
2020-05-21 17:29:00 +02:00
YuSanka
4348b177d6
Added processing of a wxEVT_SYS_COLOUR_CHANGED event.
...
Deleted scale from ImGuiWrapper::load_svg(), because it's no needed and it makes icons bad scaled on Retina displays
2020-05-21 14:18:57 +02:00
Lukas Matena
ae7bb123a9
Fix win build
2020-05-21 11:27:47 +02:00
Lukas Matena
35c8c84631
Fix of #3965 (properly disable linear advance with RepRap firmware)
2020-05-21 10:47:50 +02:00
Lukas Matena
ff0630cad2
FDM supports gizmo: fixed rendering on mirrored objects
2020-05-21 10:25:31 +02:00
Lukas Matena
feb591782f
FDM supports gizmo: fixed a crash when trying to paint on the clipping plane
2020-05-21 10:25:31 +02:00
Lukas Matena
9c365da828
Removed immediate OpenGL mode calls in place on face gizmo
2020-05-21 10:25:31 +02:00
Lukas Matena
6e597bb1ee
Removed immediate OpenGL mode calls for clipping plane rendering
2020-05-21 10:25:31 +02:00
Lukas Matena
ac8491b599
SLA supports gizmo bugfix: show supports when not in editing mode
...
The bug was introduced after 2.2.0 release
2020-05-21 10:25:31 +02:00
Lukas Matena
581892cb0d
FDM supports gizmo uses neighbor data from stl_file
2020-05-21 10:25:31 +02:00
YuSanka
8afd273c4b
Implemented "from/to imperial units conversation" for loaded objects and volumes
2020-05-20 20:07:31 +02:00
YuSanka
0b60d45cf3
Typo fix for the commit fce1943b94
2020-05-19 18:23:39 +02:00
YuSanka
fce1943b94
OSX specific bug fixing
2020-05-19 17:00:41 +02:00
Lukas Matena
1a38d39f82
FDM supports gizmo: slight code refactoring
2020-05-18 16:08:21 +02:00
Lukas Matena
ed55ebba55
FDM supports gizmo: Further attempts to increase performance when painting
2020-05-18 16:08:21 +02:00
Lukas Matena
e312f3be43
FDM supports gizmo: caching triangle normals in order to increase performance
2020-05-18 16:08:21 +02:00
Lukas Matena
e2ccc6ec0c
FDM supports gizmo: trying to increase performance during painting
2020-05-18 16:08:21 +02:00
YuSanka
504066e64b
Merge remote-tracking branch 'origin/ys_imperial_unit'
2020-05-18 16:01:10 +02:00
YuSanka
5c142ccfd6
Bug fixing:
...
OSX specific: 1. For slNew and slDlg settings layout modes main frame could be minimized to the ridicules size.
So, set size for the Plater (as a min(default) size for the wxPanel)
2. model->Clear() invoke wxEVT_DATAVIEW_SELECTION_CHANGED. So, set prevent_list_events before this call.
3. Added a rounding for the scale value
Fix of #4261 (for the English version was called GetValue for non-created check control)
2020-05-18 15:59:09 +02:00
David Kocik
9ec83d5210
instance check: bux fix in shutdown() - repairs falling at assert when reiniting otherInstanceMessageHandler
2020-05-18 08:33:55 +02:00
YuSanka
5c1d73682d
Search: Use wxDataViewCtrl instead of wxListBox.
...
Added icons as a markers of settings type
For slDlg settings layout mode added process of "Ctrl+F" shortcut
2020-05-15 15:47:15 +02:00
enricoturri1966
9487676680
ENABLE_CANVAS_TOOLTIP_USING_IMGUI set as default
2020-05-15 13:40:45 +02:00
enricoturri1966
b9f0b9eeda
ENABLE_GIZMO_TOOLBAR_DRAGGING_FIX set as default
2020-05-15 12:42:29 +02:00
David Kocik
69e9805982
Own implementation of lockfile instead of wx on linux/mac. Wx version keeps poping up messege boxes after crash. Own implementation doesnt delete lockfile after use.
2020-05-15 09:34:53 +02:00
David Kocik
65a37ffaa1
single instance check
...
processing paths with whitespaces
unified lock for all systems - wxInstanceChecker
checking a messaging only for same binaries
2020-05-15 09:34:53 +02:00
Lukas Matena
ee639a4710
FDM supports gizmo: do not disable slope visualizer when it should stay on
2020-05-14 14:17:20 +02:00
tamasmeszaros
f91c27b2ff
Do reprojection also after netfabb repair
2020-05-13 14:53:20 +02:00
tamasmeszaros
f7a43f9757
Reproject support and hole points after a reload from disk op.
2020-05-13 14:53:20 +02:00
enricoturri1966
54925a191e
Updated imgui README.md to contain reference to the commit which modify it
2020-05-13 12:31:48 +02:00
enricoturri1966
79101d6e54
Fixed toolbar items reacting when disabled
2020-05-13 12:30:09 +02:00
YuSanka
07f419f62b
Fixed a place on tool toolbar for collapse_toolbar_width in respect to its enable
2020-05-12 23:34:08 +02:00
YuSanka
e7f3206250
Auto scale of the toolbars in respect to the canvas size
2020-05-12 23:07:35 +02:00
Lukas Matena
d928d6e47e
Hollowing gizmo fix: selection of single holes was recently broken
2020-05-12 14:03:10 +02:00
YuSanka
1b8c7c4976
Added missed include
2020-05-12 09:46:23 +02:00
YuSanka
559f9279d9
Search: 1. The position of the search window is in the middle of the scene.
...
2. When "Search in English" is checked, then search in English names too.
3. Added score value at the end of option name -> [score_value]
4. Set focus to the Plater, when switch from some tab with focused field to the Plater and search window is shown.
5. For the mode, when settings are in non-modal dialog, neither dialog nor tabpanel doesn't receive wxEVT_KEY_UP event, when some field is selected.
So, like a workaround we check wxEVT_KEY_UP event for the Filed and switch between tabs if Ctrl+(1-4) was pressed
+ PreferencesDialog: fixed a control of the difference in layout modes
2020-05-12 08:32:54 +02:00
Lukas Matena
b046eb4fc9
Merge branch 'master' into lm_fdm_custom_supports_polishing
2020-05-11 17:03:03 +02:00
Lukas Matena
cab3bf2f20
FDM supports gizmo: the cursor does not stick to the cut when clipping plane is used
2020-05-11 16:59:51 +02:00
Lukas Matena
6391200390
FDM supports gizmo fix: make sure that slope visualizer is off when turning off the gizmo
2020-05-11 16:59:43 +02:00
Lukas Matena
4ed1b49955
Slope visualiser angle inverted
...
It showed facet normal angle in the GUI, now it shows slope angle (90 deg complement). This change was made to unify it with threshold angle in Print Settings.
2020-05-11 16:57:40 +02:00
tamasmeszaros
4fe99c7569
Fix missing support mini sticks
2020-05-11 14:07:21 +02:00
YuSanka
9189758992
Search: 1.Select first item in the search list by default
...
2. Show "Search in English" checkbox only, when Slicer is localized
3. Suppress search window hiding when leave the 3D-scene
2020-05-07 21:53:17 +02:00
enricoturri1966
2daa12d467
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2020-05-07 16:47:28 +02:00
enricoturri1966
dcb603bed5
Fix for tooltip not disappearing when loading an object using the top toolbar 'Add' command and when swithing to preview
2020-05-07 16:47:15 +02:00
YuSanka
3c996111aa
Layouts:
...
1. Fixed crash on OSX after change of the settings layout (PreferencesDialog should be destroyed before call of recreate_GUI)
2. Fixed dialog message during GUI recreation
3. In PreferencesDialog changed radio buttons view (under OSX they were bold)
4. slDlg mode - fixed switching between main frame and settings dialog (dialog->SetFocus() doesn't work under OSX, so we just hide it and show again)
2020-05-07 15:37:18 +02:00
dakkar
34b504d50e
avoid calling GetHeight() on non-IsOk() icons
...
probably fixes #3837
2020-05-07 09:48:44 +02:00
tamasmeszaros
1238b40f14
Link errors in debug build affect windows as well
2020-05-07 09:42:48 +02:00
YuSanka
f741872361
Fixed a can_change_view() function in respect to the new settings layouts
2020-05-07 09:14:31 +02:00
tamasmeszaros
74e8e55fbc
Hotfix for debug builds with new wxWidgets in deps
2020-05-07 07:38:40 +02:00
YuSanka
3f958acdf9
Added missed include for the OSX build
2020-05-06 21:29:51 +02:00
YuSanka
a94c952b40
Search:
...
1. To the imGui Dialog added icons instead of settings type
2. Fixed a search trough the options with # symbol in opt_key
3. Deleted "Type" checkbox from the Search Windows and added "Search in English" checkbox (but without implementation for this moment)
Layouts:
1. Fixed a visibility of the "Switch to Settings" toolbar icon for the old layout mode
2020-05-06 20:51:50 +02:00
bubnikv
b73e675aaa
Changed the Ironing G-code preview color based on Jindra's feedback.
2020-05-06 18:28:23 +02:00
bubnikv
0940db7b2e
Improvements of the monotonous infill ordering:
...
Calculate the initial path length and set the initial pheromone level
accordingly.
Implemented a stopping criterion to ant colony optimization.
Fixed some compilation warnings.
2020-05-06 18:28:23 +02:00
YuSanka
d7b12c6e19
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2020-05-06 15:15:31 +02:00
enricoturri1966
e28ed4997d
Added missing include
2020-05-06 14:48:40 +02:00
YuSanka
b7c122096a
Merge remote-tracking branch 'origin/ys_layouts'
2020-05-06 14:44:30 +02:00
enricoturri1966
6f789aaee7
GLCanvas3DManager replaced by OpenGLManager
2020-05-06 14:38:53 +02:00
enricoturri1966
0bb56736a1
Tech ENABLE_NON_STATIC_CANVAS_MANAGER set as default
2020-05-06 12:19:34 +02:00
Lukas Matena
d90cea7aad
FDM supports - setting by angle highlight the facets in real time (experiment)
2020-05-06 08:16:44 +02:00
Lukas Matena
d24a3453af
Added simple autosetting of custom supports based on facet normal angle
2020-05-06 07:03:32 +02:00
YuSanka
8021b7b4c9
Fixed OSX build
2020-05-05 20:40:31 +02:00
YuSanka
0098aee002
Fixed OSX build
2020-05-05 20:36:00 +02:00
YuSanka
75fa07136f
Merge remote-tracking branch 'origin/master' into ys_imperial_unit
2020-05-05 17:26:14 +02:00
YuSanka
181203c2c7
New layout:
...
1. PreferencesDialog: When "Cancel" is selected, don't close the PreferencesDialog, just revert layout mode selection
2. For the tooltip of "Switch to Settings" added information about shortcuts
3. Shortcuts for the switching between tabs work from Settings Dialog now
4. Fixed the collapse button show after preference's change
2020-05-05 17:23:58 +02:00
Lukas Matena
e0b04e7d36
Merge branch 'master' into lm_fdm_custom_supports_polishing
2020-05-05 13:46:01 +02:00
Lukas Matena
272de22055
Undo/redo in FDM supports gizmo
2020-05-05 13:45:04 +02:00
bubnikv
5980d46e4c
Bumped up version number to 2.3.0-alpha0
2020-05-05 13:11:32 +02:00
Lukas Matena
0c84a0b696
Fixed SLA supports gizmo undo/redo stack
...
broken by 4f43c6d
even before 2.2.0 release
2020-05-05 11:17:32 +02:00
YuSanka
43be7a51aa
Fixed OSX/Linux build
...
Destroy Settings Dialog when close application
2020-05-05 09:37:31 +02:00
YuSanka
53516c8086
Merge remote-tracking branch 'origin/master' into ys_layouts
2020-05-05 08:54:51 +02:00
YuSanka
10d530a57e
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
80b684b4b7
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
0e87226ac9
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2020-05-04 16:18:32 +02:00
bubnikv
95cf8c2d30
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
568448fa7d
Fix font size on windows with wx3.1.3
2020-05-04 15:00:17 +02:00
bubnikv
28c0880b24
ASCII folding applied over the matched string
2020-05-03 15:45:47 +02:00
bubnikv
e27c6c7928
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
07ab5c31e6
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
377c7d3086
FDM supports gizmo is aware of the clipping plane
2020-04-30 16:57:09 +02:00
Lukas Matena
04cfd5f832
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
f479b77e01
Fixed compilation warning.
2020-04-30 12:04:49 +02:00
bubnikv
18d08cc5cb
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2020-04-30 12:04:03 +02:00
bubnikv
cc2d33f6a0
Search: Fixed returning of a pointer to temporary.
2020-04-30 12:03:49 +02:00
Lukas Matena
bc34928ea8
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
c717b16526
Merge remote-tracking branch 'origin/master' into ys_imperial_unit
2020-04-30 09:49:15 +02:00
Lukas Matena
5679438e64
Added missing namespace qualification for Slic3r::GUI::format in Http.cpp
2020-04-30 08:37:48 +02:00
YuSanka
bf09d8f93a
Merge remote-tracking branch 'origin/master' into ys_imperial_unit
2020-04-29 19:17:20 +02:00
YuSanka
495db2ff2e
Imperial units: Implemented just for the object's position and size
2020-04-29 19:10:13 +02:00
bubnikv
2875bc685c
Fixed spelling of "sidebar"
2020-04-29 15:58:57 +02:00
YuSanka
99d49a74d0
Merge remote-tracking branch 'origin/master' into ys_search
2020-04-29 14:56:31 +02:00
bubnikv
8a82e3d5be
Localization fixes.
2020-04-29 14:42:43 +02:00
Lukas Matena
5b15e778ef
Selection rectangle is supressed when FDM custom supports gizmo is active
2020-04-29 13:36:11 +02:00
tamasmeszaros
b91c3d26e3
Fix build on OSX with new wxWidgets in deps
2020-04-29 12:32:00 +02:00
David Kocik
d828a1e80b
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
tamasmeszaros
6f7fa4bc09
Fix librt linking for wxWidgets
2020-04-28 21:01:09 +02:00
tamasmeszaros
985225cd38
Try to fix build with old wxwidgets builtin png and expat
2020-04-28 20:39:47 +02:00
bubnikv
4de4d765ee
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2020-04-28 19:31:18 +02:00
bubnikv
ef89c73fd5
fixing a compilation issue on a buggy GCC on R-PI
2020-04-28 18:28:11 +02:00
bubnikv
b8e02a5405
Fixed handling of fill_pattern field if not all patterns are allowed
...
for the internal infill.
2020-04-28 18:00:42 +02:00
bubnikv
ec81de7553
Ironing and Monotonous infill - first working implementation.
2020-04-28 17:19:11 +02:00
tamasmeszaros
572b5ba8bb
Add PNG and wxWidgets 3.1.3 uniformly to all platforms with cmake build.
...
wx is built with png as a dependency, wxpng is disabled.
2020-04-28 15:01:56 +02:00
Lukas Matena
2bd524849a
Custom support blockers are now working
2020-04-27 17:45:55 +02:00
YuSanka
60ae7d67e9
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
tamasmeszaros
9fdc54bfff
Fix app crash on startup under Linux/GTK3/Wayland config
2020-04-27 13:02:16 +02:00
Lukas Matena
bf2a10803e
Fixing debug build broken after recent merge
2020-04-27 12:15:45 +02:00
YuSanka
93170870e8
Fixed update(clear) of the search_line, when search dialog was opened and closed without changing
2020-04-27 11:51:17 +02:00
bubnikv
033548a568
Introduction of Monotonous infill type. Fill no-sort only for monotonous
...
and ironing infills.
2020-04-25 08:15:04 +02:00
Lukas Matena
8afc9338de
Merge branch 'lm_fdm_custom_supports_backend'
2020-04-24 15:16:33 +02:00
YuSanka
270e815eeb
Fix to the last commit f9b3f2d45e
2020-04-24 11:33:00 +02:00
YuSanka
f9b3f2d45e
Search: Code cleaning
...
+ Reverted "Plater" tab to the Settings Notepad
2020-04-24 11:01:14 +02:00
bubnikv
e390ebc95c
WIP: Monotonous infill
2020-04-24 09:41:48 +02:00
tamasmeszaros
4f622e4541
Merge branch 'tm_sl1_import_2'
2020-04-24 08:27:49 +02:00
Lukas Matena
5a80f0442f
Optimization of the custom support projection algorithm
...
- transformation matrix is precalculated for each volume
- number of heap allocations was reduced
2020-04-24 01:26:13 +02:00
YuSanka
3ba4a2cf3d
Fixed an update of the search list after the change of the print technology
2020-04-23 21:32:12 +02:00
YuSanka
1c1a7ed712
Collapse_toolbar: fixed draw items
...
+ Extended toolbar
2020-04-23 21:00:00 +02:00
tamasmeszaros
83929c2984
Add ui job for SLA import
2020-04-23 19:45:55 +02:00
tamasmeszaros
217477a9ff
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
tamasmeszaros
247fca6d55
Initial version of sl1 import with sla::Raster refactor.
2020-04-23 19:05:32 +02:00
tamasmeszaros
6eb51a1cca
Move ui jobs into separate folder
2020-04-23 18:56:09 +02:00
tamasmeszaros
728d90cb33
Separate jobs from Plater, re-add big bed workaround
2020-04-23 18:47:51 +02:00
tamasmeszaros
1bffc2b99b
Add ModelArrange.hpp as extension to Model.hpp, use it for duplicating
...
Refactored Arrange interface: remove the union based BedShapeHint, replace it with proper function overloads
WARN: this commit is only intermediate, it does not compile.
2020-04-23 18:19:03 +02:00
tamasmeszaros
44ca0a6c3d
Add universal method to get bed shape from Config objects
2020-04-23 18:18:23 +02:00
tamasmeszaros
69c02a407b
Add libnest tests for various basic object functions
2020-04-23 18:17:58 +02:00
tamasmeszaros
8c04536514
Integrate scaling and unscaling into Point.hpp
2020-04-23 18:17:50 +02:00
tamasmeszaros
89d376dc35
Add min_object_distance method as free function taking ConfigBase argument
2020-04-23 18:17:37 +02:00
YuSanka
fcb85dcdc3
First implementation of the separate plater from the settings tabs
...
+ Added collapse_toolbar
2020-04-23 17:11:49 +02:00
YuSanka
b447b45a3e
Search: Fixed "Search" menu item under OSX
...
+ deleted search combobox
2020-04-22 20:27:42 +02:00
tamasmeszaros
611a243447
Add question box on PrusaSlicer start to accept detected CA store..
...
Fix compile
2020-04-22 17:14:09 +02:00
Lukas Matena
61e5eab35d
Custom supports projection now runs in parallel
2020-04-22 16:08:36 +02:00
YuSanka
07411e795c
Search: Implemented SearchDialog.
...
Search window on Plater: set flag SelectAll for search line
2020-04-22 15:46:23 +02:00
Lukas Matena
a40d60ce08
Custom support generation now ignores triangles with upward-pointing normal
2020-04-22 14:01:29 +02:00
Lukas Matena
1e12863ceb
FDM custom supports gizmo now has a 'Remove all' button
2020-04-22 11:57:12 +02:00
Lukas Matena
d74b5cb1da
Custom supports data change forces invalidation of supports step
2020-04-22 11:16:28 +02:00
bubnikv
03eb5ffcd5
WIP: Reworking of FillRectilinear2 to support monotonous infill
...
with ant colony optimization and 3-opt flips.
2020-04-22 10:54:11 +02:00
Lukas Matena
8d95345ede
Fixed a logic error in the algorithm
...
The error created extremely large projections of triangles that were close to horizontal
2020-04-22 10:11:42 +02:00
Lukas Matena
7fc4a71715
Moved the projection function into PrintObject.cpp
2020-04-21 13:50:47 +02:00
YuSanka
9bc96bf28e
Removed "Support materials" item from "Add Settings" context menu for the Layer ranges
...
Related to #3060 and #4100
2020-04-21 12:42:52 +02:00
Lukas Matena
79ef456d7c
Fixed the algorithm so it works for horizontal triangles
...
Partial code cleanup
2020-04-21 01:39:40 +02:00
Lukas Matena
20068842ec
Project each part of the triangle on one slice only (WIP)
2020-04-21 01:39:35 +02:00
YuSanka
83782e59b6
Search: Implemented "Option type" checkbox for imGui window on Plater
...
+ code refactoring
2020-04-20 21:54:46 +02:00
YuSanka
3b88dc2688
Search: Implemented cursor movement inside SearchWindow on Plater
2020-04-20 17:37:03 +02:00
Lukas Matena
7b104bcdd1
Save z heights of the triangle vertices
2020-04-20 14:01:11 +02:00
Lukas Matena
40e4be6ede
Fixed a crash in the FDM supports gizmo when the wipe tower was shown
...
The crash happened during showing/hiding of volumes, which historically assumed to always run in SLA mode and so did not expect to encounter the wipe tower.
2020-04-20 09:17:48 +02:00