Vojtech Bubnik
00ea0847b8
Fix of merging bridging regions:
...
Fixed building a DAG of overlapping regions in expand_bridges_detect_orientations()
2023-05-04 17:25:26 +02:00
Vojtech Bubnik
ccc193959b
Merge branch 'vb_optimizations'
2023-05-04 15:29:17 +02:00
Vojtech Bubnik
c3178321b4
Optimization of triangle mesh slicing: scalable_allocator and hashing
...
of shared mutexes.
2023-05-04 15:27:32 +02:00
Vojtech Bubnik
fd437dcaf5
Little refactoring of douglas_peucker()
2023-05-04 15:27:32 +02:00
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
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
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
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 63ca221394acca695508dd333633b43b1a5e9744
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
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 31a5daa5e4ab315d668b1b63f1691ae4961235a6: 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
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
YuSanka
cde530901a
Follow up e3a868202d3e5aa6c843bb579886fab3c0e60c4a - fixed assert
2023-04-26 10:26:27 +02:00
enricoturri1966
4986afe94f
Tech ENABLE_GCODE_POSTPROCESS_BACKTRACE set as default
2023-04-26 09:34:02 +02:00
Vojtech Bubnik
9de269889c
Improved parallel_foor grain size for ensuring
2023-04-24 11:34:37 +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
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
Vojtech Bubnik
b3b44681a9
Follow-up after 9cde96993e9f996b44f417570ba05455472efa08
...
b67ad6434d1e5b1b54a13e83ceaef4141f9ad35f
Fixed compilation on GCC and CLang
2023-04-21 08:31:16 +02:00
Vojtech Bubnik
b67ad6434d
Follow-up to 9cde96993e9f996b44f417570ba05455472efa08
...
use tbb::scallable_allocator for Polygons and ExPolygon::holes
to better scale on multiple threads
2023-04-20 14:30:52 +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
99f3a3d54f
SPE-1649 - Fixed crash in G-code post processor calculating the preheat / cooldown positions
2023-04-19 12:55:21 +02:00
YuSanka
83a2dc3b5a
Follow up 9e56625287
- Added code to avoid a crash and allow to load 3mf even if cut information was corrupted
2023-04-19 12:06:35 +02:00
YuSanka
9e56625287
Fix for #10319 - MacOS 2.6 Alpha6 Crash on project load
...
This issue was not related to the OS and was caused by bug inside export function.
Wrong object id was saved for the cut objects
2023-04-19 10:01:31 +02:00
Vojtech Bubnik
bdedea3072
Organic supports: Speed up by slicing branches and merging polygons
...
at the same time, thus reducing memory consumption.
2023-04-19 09:57:22 +02:00