Commit Graph

22966 Commits

Author SHA1 Message Date
Vojtech Bubnik
6d0ceeb886 ClipperLib: Further optimization of memory allocation using scalable_allocator.
ClipperLib: SimplifyPolygon() - changed default winding number to positive,
      added strictly_simple parameter.
ClipperUtlis simplify_polygons() - removed "remove_collinear" parameter
2023-05-04 15:27:32 +02:00
Vojtech Bubnik
3b9037b442 nlopt in RelWithDebInfo now compiles as release. 2023-05-04 15:27:09 +02:00
Vojtech Bubnik
8593ad1f80 Organic supports improvements: Removing collisions with trees,
limiting how far tree bottoms at slanted surfaces could be extended
down below their last full circle position.
Placable areas are now calculated sitting on slightly inflated
top surface to indicate support of tree bottoms at slanted surfaces.
2023-05-04 15:26:41 +02:00
PavelMikus
34015349c1 Fix a rounded extrusion model when the new width is smaller than layer height - the code used radius in place of diameter 2023-05-04 14:59:50 +02:00
Lukas Matena
a039391131 Fixed rendering of horizontal ellipsis in ImGui controls 2023-05-04 13:56:46 +02:00
YuSanka
234956dfda Fix for SPE-1686 : Bug with instance rotation around X or Y
Steps to repro:
1. Add object
2. Increase instances
3. Select some instance
4. Rotate around X or Y
5. After MouseUp:
OSX -> hard crash
MSW and Linux -> object and instance are selected at a same time
2023-05-03 14:26:06 +02:00
enricoturri1966
eb0f03aa9b Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate into et_sla_switch_view 2023-05-03 13:45:28 +02:00
enricoturri1966
d9dde32b78 SPE-1606 - Fixed a bunch of bugs/crashes related to visualizing original or processed volumes in 3D scene after slicing using SLA printers when multiple objects are on the printbed 2023-05-03 13:45:15 +02:00
Vojtech Bubnik
2eebba82f8 Merge remote-tracking branch 'remotes/origin/master' into vb_optimizations 2023-05-03 10:25:48 +02:00
tamasmeszaros
49fbf4ccce Avoid garbage error message when generating sla preview 2023-05-03 09:45:11 +02:00
tamasmeszaros
9eed8e4892 Merge branch 'tm_arrange_crash_SPE-1607' 2023-05-03 09:22:22 +02:00
tamasmeszaros
362267431b Fix transformation assembly problem for arrange polyogon 2023-05-03 09:21:57 +02:00
tamasmeszaros
6831b7094a Trying to fix transformation assembly problem for arrange polyogon 2023-05-03 09:21:57 +02:00
Vojtech Bubnik
af6c27b861 douglas_peucker(): fix after 63ca221394 2023-05-02 19:50:12 +02:00
Vojtech Bubnik
d0f38cd0b4 macOS clang is buggy, it does not implement __cpp_lib_hardware_interference_size
correctly.
2023-05-02 19:26:33 +02:00
Vojtech Bubnik
0c6f2261a3 Tree Supports: Extend bottoms of trees downwards to the object surface
if those supports are not sitting on a flat surface.
2023-05-02 18:45:07 +02:00
Vojtech Bubnik
15ccecf885 TreeSupport optimization: better parallel scaling, simpler simplification 2023-05-02 18:37:24 +02:00
Vojtech Bubnik
2600ba71ad Fix of undefined hardware_destructive_interference_size 2023-05-02 18:36:59 +02:00
Vojtech Bubnik
63ca221394 douglas_peucker(): Optimized for 32bit Point types. 2023-05-02 18:20:38 +02:00
Vojtech Bubnik
2e150795b1 ClipperLib: emplace_back() instead of push_back(). 2023-05-02 18:17:08 +02:00
Vojtech Bubnik
e7f4704ddc Organic supports, TreeModelVolumes: Cheaper simplification. 2023-05-02 16:35:39 +02:00
Vojtech Bubnik
a077f669ee Slight optimization of distance_to_squared() 2023-05-02 16:32:03 +02:00
Vojtech Bubnik
04f557693b Follow-up to 31a5daa5e4: Fixed missing include 2023-05-02 16:26:16 +02:00
Vojtech Bubnik
31a5daa5e4 Optimization of triangle mesh slicing: scalable_allocator and hashing
of shared mutexes.
2023-05-02 15:53:24 +02:00
Vojtech Bubnik
0836b06c73 Little refactoring of douglas_peucker() 2023-05-02 15:53:24 +02:00
Vojtech Bubnik
a7e17df25f ClipperLib: Further optimization of memory allocation using scalable_allocator.
ClipperLib: SimplifyPolygon() - changed default winding number to positive,
      added strictly_simple parameter.
ClipperUtlis simplify_polygons() - removed "remove_collinear" parameter
2023-05-02 15:53:24 +02:00
enricoturri1966
03608580c0 Do not allow to change selection or printable state, using the right panel, while the SLA supports gizmo is open and in editing mode. 2023-05-02 08:49:11 +02:00
YuSanka
4b68fbd973 Follow-up 88f4fa20df - Fixed next Linux specific issue : Select any instance in place where is active a gizmo space on instance 2023-04-27 15:55:07 +02:00
PavelMikus
4c872b0352 Paralellize SupportSpotGenerator!
Fix extra perimeters crash - problem with new ankerl hash map
Fix progress bar
2023-04-27 15:37:25 +02:00
enricoturri1966
15daac0811 Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate into et_sla_switch_view 2023-04-26 12:44:17 +02:00
enricoturri1966
159e699cd5 Fixed conflicts after merge with master 2023-04-26 12:35:02 +02:00
enricoturri1966
cdf8cd83d5 Follow-up of 6e7fefbabf - Force using glGeneratedMipmap() function on AMD Custom cards, no matter what's the installed driver (Windows only) 2023-04-26 12:31:59 +02:00
YuSanka
cde530901a Follow up e3a868202d - fixed assert 2023-04-26 10:26:27 +02:00
YuSanka
e3a868202d Fix for SPE-1681 - Sidebar: Text in support field can be deleted 2023-04-26 09:57:35 +02:00
enricoturri1966
4986afe94f Tech ENABLE_GCODE_POSTPROCESS_BACKTRACE set as default 2023-04-26 09:34:02 +02:00
enricoturri1966
f1c5ffddfa Fixed typo 2023-04-26 09:06:17 +02:00
enricoturri1966
f9c1abbd50 SPE-1677 - Disable SLA supports and Hollow gizmos when the selected object is non-printable. Do not allow to set to non-printable an object while the SLA supports and Hollow gizmos are active. 2023-04-25 10:51:03 +02:00
enricoturri1966
bbea397aa6 SPE-1675 - Do not update layer editing when the mouse cursor is moved outside of the 3D scene while dragging 2023-04-25 10:02:50 +02:00
Vojtech Bubnik
9de269889c Improved parallel_foor grain size for ensuring 2023-04-24 11:34:37 +02:00
David Kocik
003350a4e2 Fix of version notification message. 2023-04-24 11:22:43 +02:00
enricoturri1966
b37d4e5b6c SPE-1674 - Follow-up of 9efed4be22 - More robust fix 2023-04-24 10:01:32 +02:00
Vojtech Bubnik
c9a55c2c01 Merge remote-tracking branch 'remotes/origin/vb_scalable_alloc' 2023-04-21 16:28:39 +02:00
Vojtech Bubnik
0d1522791d Refactored Arachne to use ankerl::unordered_dense hash tables
instead of std::unordered_set/map
The code is now generic enough to enable experiments with various
hash maps in the future.
2023-04-21 15:41:00 +02:00
Vojtech Bubnik
29719a7ab9 ClipperLib sometimes hangs forever on a single union / diff / offset task.
Implemented optional time limit on ClipperLib execution.
2023-04-21 15:38:23 +02:00
enricoturri1966
8a959883b4 Hide supports when Manual editing mode is active in SLA supports gizmo 2023-04-21 10:50:03 +02:00
PavelMikus
a65a68ad93 fix missing include 2023-04-21 10:04:45 +02:00
PavelMikus
13c7744443 Disable debug data output 2023-04-21 10:04:45 +02:00
PavelMikus
f6c38fb7f9 Smoothen the results, fix some issues. 2023-04-21 10:04:45 +02:00
PavelMikus
3e3ccc200e Fixed artefacts, made the new slowdown enabled with dynamic overhang speed at all times 2023-04-21 10:04:45 +02:00
PavelMikus
798396d918 Fixed several issues with smoothening of the slowdown, but there are still artefacts in the preview, on curved into flat srufaces 2023-04-21 10:04:45 +02:00