Commit Graph

22999 Commits

Author SHA1 Message Date
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
PavelMikus
aa0e21eed1 Center estiamted curvature values,
Center esimtated curling - transfering data by nearest line caused CCW or CW shift, based on which point of the current line was used. By switching the points on layer basis, this problem disapeared
2023-04-21 10:04:45 +02:00
PavelMikus
da6b972a79 Smoothen the curled height estimations and slowdown 2023-04-21 10:04:45 +02:00
PavelMikus
6e40e061f6 Finish rough implementation of slowdown over curled filament 2023-04-21 10:04:45 +02:00
PavelMikus
6ee674316d Finally some working curling model 2023-04-21 10:04:45 +02:00
PavelMikus
4ade7d6e8c Some improvements of the algortihm for curled height estim 2023-04-21 10:04:45 +02:00
Pavel Mikus
3e42d16f62 minor parameter changes 2023-04-21 10:04:45 +02:00
Pavel Mikus
b04e3bc25e Initial implementation, requieres both dynamic speed and avoid curled overhangs options to be enabled
Also implements new, probably far better estimation of curled height of filament
2023-04-21 10:04:45 +02:00
enricoturri1966
69b69cb9a2 Follow-up of 85dd2e486a - Fixed Zoom to mouse cursor for orthograpic camera 2023-04-21 09:09:04 +02:00
Vojtech Bubnik
b3b44681a9 Follow-up after 9cde96993e
b67ad6434d
Fixed compilation on GCC and CLang
2023-04-21 08:31:16 +02:00
Vojtech Bubnik
ed65cdd955 Fix compilation of Perl bindings. 2023-04-20 18:31:34 +02:00
tamasmeszaros
5bb3f2f9da Merge branch 'tm_bigobj_arrange_crash_SPE-1652' 2023-04-20 15:13:09 +02:00
Vojtech Bubnik
b67ad6434d Follow-up to 9cde96993e
use tbb::scallable_allocator for Polygons and ExPolygon::holes
to better scale on multiple threads
2023-04-20 14:30:52 +02:00
enricoturri1966
bc2e681932 SPE-1669 and follow-up of c1e145b86c - Fixed crash introduced with the previous commit and extend the new functionality to multi-objects selections 2023-04-20 14:00:19 +02:00
Vojtech Bubnik
9cde96993e Reworked the ClipperLib / Polygon types to use
the tbb::scallable_allocator to better scale on multiple threads.
2023-04-20 11:31:44 +02:00
enricoturri1966
5c581e3998 Fixed warnings 2023-04-20 08:42:09 +02:00
enricoturri1966
9efed4be22 SPE-1438 - Reset mouse dragging state when entering the 3D scene after the user released the mouse buttons outside of it 2023-04-20 08:08:02 +02:00
YuSanka
88f4fa20df Fix for SPE-1618 - Place on face gizmo doesn't work correctly with instances 2023-04-19 18:49:39 +02:00