Commit Graph

22775 Commits

Author SHA1 Message Date
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
enricoturri1966
b0cc0e98fa Use the same colors as in 3D view when generating thumbnails 2023-04-19 13:12:27 +02:00
David Kocik
fb2448fbe3 Fix of missing AppConfig::has_section before get_section in ConfigWizard. 2023-04-19 13:10:39 +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
enricoturri1966
85dd2e486a SPE-1667 - Added 'Zoom to mouse cursor' by Shift+Mouse wheel
Successfully enhanced and integrated into PrusaSlicer from 3f2ee4062b

Co-authored-by: liz.li <liz.li@bambulab.com>

Co-authored-by: lane.wei <lane.wei@bambulab.com>
2023-04-19 11:45:37 +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
Filip Sykala - NTB T15p
4a05973ea8 Nicering of code 2023-04-18 13:11:29 +02:00
Vojtech Bubnik
fdac21b807 Fix of SPE-1658 GH #9665 Crash at macOS when Orgnanic Support selected
Reworked (again!) connecting of islands into a Z-graph.
Implemented various heuristics to handle self-intersecting and
mutually intersecting ExPolygons on the same layer.
2023-04-18 12:57:27 +02:00
rtyr
206d251f27
Sync with PrusaSlicer-settings. 2023-04-18 11:44:34 +02:00
enricoturri1966
80bbbcf8c3 SPE-1354 - Render travel toolpaths using 'flat' shader 2023-04-18 08:35:57 +02:00
enricoturri1966
d0f83a58c8 SPE-1661 - Fixed SLA support gizmo inactive when it is not possible to slice because of invalid data 2023-04-18 08:15:36 +02:00
Filip Sykala - NTB T15p
ed911260ee Fix for rotation text object by draging angle input(in advance). 2023-04-17 11:05:55 +02:00
tamasmeszaros
1ec13fef08 Fix crash when arranging objects not fitting into the bed
fixes #10278
fixes #10241
SPE-1637
2023-04-17 11:04:31 +02:00
David Kocik
fb6dd330c2 Merge branch 'dk_eject_com' 2023-04-17 10:21:56 +02:00
David Kocik
9d34998ac3 ejecting via Shell COM Object 2023-04-17 10:15:02 +02:00
Vojtech Bubnik
bb94e386d8 Fixed SPE-1451
Branch Diameter = 0 or 1xxxx; result: slicer crash
Tip Diameter = 0 or 1xxxx;; result: slicer crash
fixed by limiting the diameters to 0.1 .. 100mm
2023-04-14 17:25:07 +02:00
Vojtech Bubnik
53d948f0d0 Organic supports:
Renamed diameter_angle_scale_factor -> branch_radius_increase_per_layer
Renamed diameter_scale_bp_radius -> bp_radius_increase_per_layer
and removed scaling by branch diameter.
2023-04-14 16:55:06 +02:00
David Kocik
055b0c1e52 Merge branch 'dk_mainsail' 2023-04-14 11:36:25 +02:00
David Kocik
6fdb8c79cd Mainsail: Resolve IP address from test message
Windows only
2023-04-14 11:25:10 +02:00
David Kocik
4e52d3c56d Mainsail API implementation 2023-04-14 11:25:10 +02:00
Lukas Matena
f6da852353 Fix of #10210 (crash when using mainsail print host) and some related UI fixes ('OctoPrint'->'Mainsail/Fluidd') 2023-04-14 11:25:10 +02:00
Vojtech Bubnik
06403eef65 SPE-1461 improved error reporting:
if the last layer exceeds max print height while the object itself fits,
a specific error report is given:
"While the object %1% itself fits the build volume, its last layer exceeds the maximum build volume height."
Also the name of the object violating print height is reported
in the error message.
2023-04-14 09:21:39 +02:00
Vojtech Bubnik
adabaccc9e TriangleMeshSlicer: Added tests for checking for non-manifold sets
of contours created by the slicing algorithm.
Currently these tests are disabled as it is known that such situations
may appear.
2023-04-14 08:37:37 +02:00