Commit Graph

19513 Commits

Author SHA1 Message Date
YuSanka
a8919b1e91 Cut WIP: Set all dowels as a separate objects
ObjectList: Don't show connectors for cut objects
2022-08-15 16:55:17 +02:00
YuSanka
a1b324d1ee Merge remote-tracking branch 'PRIVATE/master' into ys_cut 2022-08-15 14:17:42 +02:00
YuSanka
edebda511c Cut WIP: Set Circle connector shape as a default.
Allow set connectors to any place of the cut plane.
2022-08-15 14:16:05 +02:00
YuSanka
7912613dc8 Cut WIP: Fixed crash on second "Perform cut"
+ some code cleaning
2022-08-12 17:59:36 +02:00
YuSanka
f994e42d8e Fix for dark_mode(): Use check_dark_mode() function only, when app_config doesn't have a "dark_color_mode" parameter.
Now wxWidgets improved IsDark() function with 622a2f9d60.
So now it returns correct color for the system appearance
2022-08-10 16:48:37 +02:00
YuSanka
df8f7e1069 Cut WIP: Raycasters for picking are applied
+ Added snapping for rotation of the cut plane
2022-08-10 13:42:36 +02:00
rtyr
fc6ca282dd Added thumbnails.
https://github.com/prusa3d/PrusaSlicer/pull/8602
2022-08-09 12:40:32 +02:00
YuSanka
dda346b70a After merge fixes 2022-08-08 14:58:13 +02:00
YuSanka
2ac3861b2a Merge remote-tracking branch 'PRIVATE/master' into ys_cut 2022-08-08 10:57:38 +02:00
tamasmeszaros
e7338ade2f Merge branch 'tm_branching_tree_4' 2022-08-03 10:09:10 +02:00
tamasmeszaros
b45bb84fa6 Another fix to find_merge_pt 2022-07-29 13:05:39 +02:00
tamasmeszaros
a55be29568 Fix failing tests for merge point search
Improvements and comments to find_merge_pt
2022-07-29 13:05:39 +02:00
tamasmeszaros
f3d4a90721 Fixes to compile on MSVC 2022-07-29 13:05:39 +02:00
tamasmeszaros
bf1303b9cf Fix double parallelization 2022-07-29 13:05:39 +02:00
tamasmeszaros
064e9935d1 Fix dangling pinheads 2022-07-29 13:05:39 +02:00
tamasmeszaros
2cb74013be Remove junk 2022-07-29 13:05:39 +02:00
tamasmeszaros
de3cbd483d Try to increase query size with each failed attempt
TODO: check performance gain
2022-07-29 13:05:39 +02:00
tamasmeszaros
e6d49b75de Make branching tree algorithm cancellable 2022-07-29 13:05:39 +02:00
tamasmeszaros
725f5c05e3 Change build_tree return value to void as its not used anywhere 2022-07-29 13:05:39 +02:00
tamasmeszaros
36ec731adf Replace KDTreeIndirect with boost::rtree for queries of PointCloud
- rtree can be populated with junction points gradually
- Use repeated queries of 5 nearest reachable points in branching tree alg
2022-07-29 13:05:39 +02:00
tamasmeszaros
d7c5243300 Further increase widening scale 2022-07-29 13:05:39 +02:00
tamasmeszaros
1a8cf3b029 Change UNQUEUED to Unqueued to keep convensions 2022-07-29 13:05:39 +02:00
tamasmeszaros
63a58ce1ad Require higher values for widening factor to have the same effect 2022-07-29 13:05:39 +02:00
tamasmeszaros
1a30c0aaa0 Extend mergept tests 2022-07-29 13:05:39 +02:00
tamasmeszaros
95374f9ed4 Fix some crashes
Fix minor bugs
2022-07-29 13:05:39 +02:00
tamasmeszaros
688c9c644f Prevent merging with node being lower than closest point 2022-07-29 13:05:39 +02:00
tamasmeszaros
91c0741f61 Minor performance optimization 2022-07-29 13:05:39 +02:00
tamasmeszaros
8a78428d10 Add tests to find_merge_pt and make them pass 2022-07-29 13:05:39 +02:00
tamasmeszaros
371da354a0 Adjust configuration layer to better reflect tree strategies. 2022-07-29 13:05:39 +02:00
tamasmeszaros
6523bfdf99 Enable ground facing only option for branching tree
Essentially discards mesh nodes
2022-07-29 13:05:39 +02:00
tamasmeszaros
5d6d1f5234 Apply branch length setting from UI for branching tree 2022-07-29 13:05:39 +02:00
tamasmeszaros
4c3ba3f6bf Fix tree struts piercing model body
Free path between the anchor and the last bridge was not verified
2022-07-29 13:05:39 +02:00
tamasmeszaros
7705ecd5aa Fix indexing of heads after duplicate removal 2022-07-29 13:05:39 +02:00
tamasmeszaros
792779f2de Fix creation of unchecked diffbridge in branching tree 2022-07-29 13:05:39 +02:00
tamasmeszaros
0a3b17f940 Fix failing sla tree tests
Try to increase number of rays in Beam to prevent colisions


Put back threshold for intersections with model in sla tree tests 


Increase safety distance for branching tree instead of increasing rays
2022-07-29 13:05:39 +02:00
tamasmeszaros
fd8fd77077 Improvements to widening strategy and branch length limitations
Also some refactoring
2022-07-29 13:05:39 +02:00
tamasmeszaros
ae23adff10 Fix crash on windows
Fix crash on windows - 2nd try
2022-07-29 13:05:39 +02:00
tamasmeszaros
8723e421b3 Add new branching tree algorithm 2022-07-29 13:05:39 +02:00
tamasmeszaros
b1317be78a Selectable support tree type 2022-07-29 13:05:39 +02:00
enricoturri1966
f9c6e8eb7a Added processing of mouse double click in ImGuiWrapper::update_mouse_data() 2022-07-29 12:06:52 +02:00
enricoturri1966
86a5280ff6 Added handling of event wxEVT_DATAVIEW_ITEM_ACTIVATED in ObjectList to fix behavior when double clicking on list items 2022-07-29 11:59:02 +02:00
Lukas Matena
0fe186c7fe Merge branch ys_wx320_m 2022-07-29 11:22:43 +02:00
YuSanka
6806ec02c7 Discarded rescale for SplashScreen.
There is no need to rescale the SplashScreen after a81e0d83c1
2022-07-29 11:21:54 +02:00
tamasmeszaros
562d991332 Follow up to previous commit 2022-07-29 11:21:54 +02:00
tamasmeszaros
d1c92ded7c Fix wxWidgets 3.2 not being found on windows 2022-07-29 11:21:54 +02:00
Lukáš Hejl
25b2ff5fb8 Tried to disable EGL. 2022-07-29 11:21:54 +02:00
tamasmeszaros
3f32bb1a52 Update to GLEW 2.2 to prevent initialization crash with wx >= 3.1.6
Revert "Revert to GLEW 2.1 as most Linux distros as using that"

This reverts commit 46c8f82f24.
2022-07-29 11:21:54 +02:00
YuSanka
f8477d1be6 Using of wxWidgets 3.1.6 WIP: Linux/OSX specific fixes
OSX specific: Fixed get_mouse_position_in_control().
+ Use GetItemRect() to calculation of the position and size for Extruder selector

Linux specific:
* Use just 1.0 scale for wxBitmapComboboxes under GTK3 and gtk3
* GTK2 specific: use GTK2 doesn't suppost get_scale, so scale bitmap size form em_unit()
2022-07-29 11:21:54 +02:00
YuSanka
066b567714 Using of wxWidgets 3.1.6 WIP:
* Create Cache of wxBitmapBundles instead of wxBitmaps
* Use wxBitmapBundles instead of wxBitmap for most of Widgets
* Use empty bitmabundles instead of wxNullBitmap for wxBitmapComboBoxes.
* Updated wxWidgets.cmake
* OSX specific: Discard BitmapComboBox overrides
+ some code cleaning
2022-07-29 11:21:54 +02:00
YuSanka
e21921f2eb Fixes to support wxWidgets 3.1.6(7), 3.2.0
+Updated URL and URL HASH for wxWidgets v3.2.0-patched
2022-07-29 11:21:54 +02:00