Commit Graph

19322 Commits

Author SHA1 Message Date
Vojtech Bubnik
781a9535db Fixed performance issue at backgorund processing update
with a large number of modifier meshes:
Bounding box of a chain of modifier meshes overlapping with
an object bounding box was not correctly calculated (bounding boxes
were unioned instead of intersected).
2022-08-19 15:03:39 +02:00
Vojtech Bubnik
55835aa050 Optimization of GCodeViewer vertex buffer generator:
Rounding by round_to_bin() is now 2x faster on MSVC.
2022-08-18 13:32:30 +02:00
Vojtech Bubnik
c03085a1f6 Performance improvement in G-code export for support material
in suppression of retracts when traveling over support regions.
2022-08-18 10:45:18 +02:00
Vojtech Bubnik
01031779b7 Performance improvement of GCodeProcessor:
Replaced std::string with std::string_view for constant parameters
Replaced boost:istarts_with() with boost::starts_with()
2022-08-18 10:30:20 +02:00
Vojtech Bubnik
42b546ae9c WIP TreeSupports: Refactored TreeModelVolumes for clarity 2022-08-16 11:54:30 +02:00
Vojtech Bubnik
85e9ae75bb WIP Tree Supports: Enabled support enforcers / blockers 2022-08-15 10:16:16 +02:00
Vojtech Bubnik
0cdc482615 Optimization: Replaced lrint() with round() as lrint() cannot be
inlined, at least not on MSVC.
2022-08-15 08:42:25 +02:00
Vojtech Bubnik
af7108f792 WIP Tree Supports: Bunch of fixes and optimizations 2022-08-15 08:41:24 +02:00
Vojtech Bubnik
b0af552455 WIP TreeSupports: Little optimization - don't use std::function,
don't make unnecessary copies of Polygons
2022-08-03 09:40:30 +02:00
Vojtech Bubnik
fd0c84319e WIP Tree Supports: Fixed one integer overflow. 2022-08-02 14:09:44 +02:00
Vojtech Bubnik
167125a813 Fixed disabling of TBB parallelization on newer TBB 2022-08-02 13:39:20 +02:00
Vojtech Bubnik
f971c392fe WIP TreeSupports: Some fixes, some clang specific workarounds,
some debugging code.
2022-08-02 13:36:05 +02:00
Vojtech Bubnik
6bf335409f FillBase: Use logging instead of printf 2022-08-02 13:23:30 +02:00
Vojtech Bubnik
fa7debf49d Clipper: Verify range of int32 coordinates on input. 2022-08-02 13:22:33 +02:00
Vojtech Bubnik
5868028a7e WIP Tree supports: It compiles and it produced first trees. 2022-07-29 13:15:01 +02:00
Vojtech Bubnik
9e6871e5b8 WIP Tree supports: It compiles, but unfinished, missing pieces. 2022-07-27 10:41:11 +02:00
Vojtech Bubnik
665d1a94b4 WIP Tree Supports: Major changes, it does not compile yet. 2022-07-27 08:54:26 +02:00
Vojtech Bubnik
8a1e8f97a9 Minor refactoring of BoundingBox: change Eigen point accessor from
indices to .x(), .y(), .z()
Added Polyline vector accessors.
Polished Point hash code.
2022-07-27 08:53:48 +02:00
Vojtech Bubnik
075bf675fa WIP Tree Supports: Refactored the classic FDM support generator
for modularity, so that the rasterization of support layers
is accessible from tree supports.
2022-07-27 08:50:59 +02:00
Vojtech Bubnik
23099c83dc WIP Tree Supports: Extracted Cura configs into a structure,
replaced Cura AABB with BoundingBox,
headers should be compilable now.
2022-07-20 11:21:53 +02:00
Vojtech Bubnik
6e1e4fcca2 WIP Tree Supports: Ported parallelization from cura homebrew parallel_for
to thread building blocks tbb::parallel_for.
2022-07-19 17:14:07 +02:00
Vojtech Bubnik
f6ae93366a WIP TreeSupports: Replaced cura namespace with Slic3r,
removed Cura includes.
2022-07-19 11:10:17 +02:00
Vojtech Bubnik
4c41311df3 WIP Tree Supports: Updated copyright 2022-07-19 10:59:10 +02:00
Vojtech Bubnik
b74fde237d WIP Porting tree supports by Thomas Rahm, losely based on Cura tree supports.
https://github.com/ThomasRahm/CuraEngine
2022-07-19 10:55:43 +02:00
enricoturri1966
92cf1d6e0c Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate 2022-07-19 10:04:07 +02:00
enricoturri1966
0d5de5fdf2 Tech ENABLE_WORLD_COORDINATE - Removed unneeded parameter from GLGizmoRotate::mouse_position_in_local_plane() declaration 2022-07-19 10:03:46 +02:00
David Kocik
24fe505f00 Merge branch 'dk_resolve_search' 2022-07-17 19:24:51 +02:00
David Kocik
5c7cb3b55a Delete unused variable 2022-07-17 19:24:29 +02:00
David Kocik
faa4207b1c OSX build fix 2022-07-17 18:40:07 +02:00
David Kocik
cd30e8f2e7 get_host_from_url function 2022-07-17 18:40:07 +02:00
David Kocik
9ee6839017 Resize IP list dialog. 2022-07-17 18:40:07 +02:00
David Kocik
a2330e77c2 Filter lookup replies by service name 2022-07-17 18:40:07 +02:00
David Kocik
8481de43cc Improved error message if both ipv4 and ipv6 upload fails. 2022-07-17 18:40:07 +02:00
David Kocik
d9058b2a92 Cancel upload priority before error showing. 2022-07-17 18:40:07 +02:00
David Kocik
89e288dcf8 Propagate resolved ip address to the UI layer (both upload dialog and notification) 2022-07-17 18:40:07 +02:00
David Kocik
bc167ce90b Decision tree for different types and numbers of resolved IPs. 2022-07-17 18:40:07 +02:00
David Kocik
9fd3108726 Resolved IP dialog before uploading - needs better design and to not show if only 1x v4 and v6 is resolved. 2022-07-17 18:40:07 +02:00
David Kocik
36f473c984 Bonjour lookup function in same style as resolve function.
Includes refactoring of resolve function. 
refactor
2022-07-17 18:40:07 +02:00
David Kocik
457a5d4a65 system ifdefs 2022-07-17 18:40:07 +02:00
David Kocik
d2c6f597d2 Bonjour - resolve hostname to IP using mdns.
Octoprint - on Windows use Bonjour resolving to get IP address before the http connection. Only use Windows address resolving if Bonjour couldn't resolve.
2022-07-17 18:40:07 +02:00
Lukas Matena
fbdf777898 Merge branch 'master_250' 2022-07-15 15:04:10 +02:00
enricoturri1966
6b0ea79d34 SPE-1252 - Fixed update of contours in Cut Gizmo when modifying the orientation or the scale of a part of a multipart object 2022-07-15 14:55:13 +02:00
Lukas Matena
38f10da566 Bumped up version to 2.5.0-alpha3 2022-07-15 14:06:23 +02:00
Lukas Matena
edc0aa4bce Mentioned CuraEngine in the CopyrightsDialog 2022-07-15 13:58:17 +02:00
Lukas Matena
04555862b0 Merge branch 'pm_seam_curling_fix_250' into master_250 2022-07-14 18:07:39 +02:00
Pavel Mikus
70677858a1 Use resampling only with smooth surfaces generated by Arachne 2022-07-14 18:00:59 +02:00
Pavel Mikus
2e437d1761 curling improvements 2022-07-14 11:47:29 +02:00
Pavel Mikus
d5d1633e2b Bugfix: seam enforcers and blockers not respected on different nozzle widths -
now flow width is used instead of fixed distance param
2022-07-14 10:15:05 +02:00
Pavel Mikus
f5efb0d0aa remove global angle computation, wrong results 2022-07-14 10:15:05 +02:00
Pavel Mikus
4a9f9aa89b oversample smooth surfaces, which reduces curling on those surfaces, because the shortest path down is better defined 2022-07-14 10:15:05 +02:00