6196 Commits

Author SHA1 Message Date
tamasmeszaros
b2d43c8719 Fix arrange in fff tests 2023-08-18 16:50:35 +02:00
tamasmeszaros
01d5f04295 Fix outline bound check for full outlines 2023-08-18 16:49:50 +02:00
tamasmeszaros
44d91ec353 Use gravity kernel for non rectangular beds
Also change sorting of outlines based on convex hull area and
2023-08-18 16:49:01 +02:00
tamasmeszaros
d69d477480 Fix wipe tower arrangement 2023-08-18 13:07:44 +02:00
tamasmeszaros
1d4594ad66 Fix faulty virtual bed handling
Changes to firstfit selection to use a map of bed contexts to avoid memory overuse when a fixed item has a large bed index number.

fixes SPE-1844
2023-08-17 19:31:19 +02:00
tamasmeszaros
aea278ab55 Fix failing tests
still the arrange is broken
2023-08-16 18:52:05 +02:00
tamasmeszaros
cb3596e90b Complete arrangement prevention of integer coordinate overflows 2023-08-16 17:34:42 +02:00
tamasmeszaros
8ab29e3080 Fix warnings with gcc like compilers 2023-08-16 16:07:09 +02:00
tamasmeszaros
c613669718 Follow-up, get rid of even more NOMINMAX warnings 2023-08-16 14:15:38 +02:00
tamasmeszaros
bd31722bac Prevent NOMINMAX warnings 2023-08-16 11:18:11 +02:00
tamasmeszaros
40c3d8b8a0 Another fix for compilation on MSVC 2023-08-16 11:17:59 +02:00
tamasmeszaros
9728bc4d6f Fix build on MSVC 2023-08-16 10:58:49 +02:00
Lukáš Hejl
a469f6aaa1 SPE-1796: Made interlocking to be applied as offset computed from mmu_segmented_region_max_width.
Also, interlocking input is disabled when mmu_segmented_region_max_width is equal to zero.
2023-08-16 11:24:55 +02:00
Lukáš Hejl
9bce0fcf9b SPE-1796: Added option for enabling interlocking between segmented regions by the multimaterial painting. 2023-08-16 11:24:55 +02:00
tamasmeszaros
9bb5bdb80f Fixing crashes with objects residing at large world coordinate values
fixes issue SPE-1844
2023-08-16 09:59:10 +02:00
tamasmeszaros
0c0a1af1e9 Temporarily disable rotations for wipe tower when arranging
It is problematic due to varying interpretation of rotation in arrange and slicer's wipe tower handling 
fixes SPE-1787
2023-08-16 09:59:10 +02:00
tamasmeszaros
5b9d5b55b6 Disable "brim" offset heuristic for sla objects
Fixes bug 1 in SPE-1824
2023-08-16 09:59:10 +02:00
tamasmeszaros
eae9a76249 Addressing problem with items slightly out of bed due to simplification
solves SPE-1824
2023-08-16 09:59:10 +02:00
tamasmeszaros
b2a2710128 Fix arranging unprintable objects
fixes #10911
fixes SPE-1830
2023-08-16 09:59:10 +02:00
tamasmeszaros
c545400b0a fixing sequential print settings not being loaded correctly
SPE-1827
2023-08-16 09:59:10 +02:00
tamasmeszaros
2224ce0ca7 Rename WritableItemTraits to MutableItemTraits
makes more sense, avoids confusion with WritableDataStore
2023-08-16 09:59:10 +02:00
tamasmeszaros
183afab8e7 SimpleArrangeItem now usable with arrange tasks
For future comparisons and measurements
2023-08-16 09:59:10 +02:00
tamasmeszaros
355b869e0d Remove unfinished outline caching code 2023-08-16 09:59:10 +02:00
tamasmeszaros
ace6cb1f78 Complete test for vbed involvement 2023-08-16 09:59:10 +02:00
tamasmeszaros
eb08a84290 Fix for broken arrange introduced in b7d79b1b9 2023-08-16 09:59:10 +02:00
tamasmeszaros
dc8008bcb8 Fix failing back-fitting of single selected items when rotations enabled 2023-08-16 09:59:10 +02:00
tamasmeszaros
e4a1df0add Fix failing tests 2023-08-16 09:59:10 +02:00
tamasmeszaros
2730d2e14f Remove unneeded check from fill bed test 2023-08-16 09:59:10 +02:00
tamasmeszaros
e90f9e7088 Usable workaround for missing items when filling the bed 2023-08-16 09:59:10 +02:00
tamasmeszaros
9c7fd4f692 Implement correct centroid in DecomposedShape 2023-08-16 09:59:10 +02:00
tamasmeszaros
ccc7009719 Add more comments to Scene.hpp 2023-08-16 09:59:10 +02:00
tamasmeszaros
ea62d7b8fb Fix SLA crash 2023-08-16 09:59:10 +02:00
tamasmeszaros
8db0f20516 WIP on outline caching 2023-08-16 09:59:10 +02:00
tamasmeszaros
0b31ef6e1e Beginning of arrange gen2 2023-08-16 09:59:10 +02:00
YuSanka
836a70f4b2 Merge remote-tracking branch 'origin/ys_cut_rivets' into master 2023-08-11 16:05:44 +02:00
YuSanka
840f1b0ea9 Cut: Experiment: Fixed a variable declaration of m_cut_matrix, which caused an ASAN-crash 2023-08-11 15:58:08 +02:00
YuSanka
49ed94ff77 CutGizmo: TaG mode: Fix of volume relation to upper/lower object when whole volume is over a cut plane 2023-08-11 10:09:31 +02:00
YuSanka
e241e905ec CutGizmo: Manually cherry-picked 6dbbbfea7a.
This changed fixed cut for mirrored object
2023-08-10 14:52:20 +02:00
YuSanka
1d69dd82f8 CutGizmo: Code refactoring
to extract post process procedures over the Upper/Lower objects into separate function
2023-08-10 13:02:57 +02:00
YuSanka
6cd6ee2f18 Cut: TaG mode: Fixed post-processing for the cut objects 2023-08-10 12:06:42 +02:00
YuSanka
1b451cdf9f CutGizmo: Big code refactoring.
All manipulations related to cut are extracted to CutUtils now
2023-08-09 13:22:11 +02:00
Pavel
57b2f364e0 Improve and fix curvature estimation algorithm 2023-08-08 13:12:58 +02:00
YuSanka
0c2913f20c CutGizmo: Code refactoring to correct a modifiers processing during a cut.
Now it's work in same way for all types of cut. After cut we leave just only modifiers which are intersecting with solid parts bounding box.
+ Clean code in perform_cut_with_groove. Deleted non-used anymore code.
+ Extract same code (for perform_cut_by_contour and perform_cut_with_groove) to separate functions
+ Save CutInfo for objects which was cut with Tongue and Groove mode
2023-08-07 10:25:01 +02:00
Pavel
b6ed64428a SPE-1820 Fix missing solid infill in thin parts by improving the ensuring filtering 2023-08-02 10:32:28 +02:00
YuSanka
bd43118148 Fix of Asserts and incompatible filament selection, when hide/show template filaments (SPE-1786) 2023-07-31 13:28:26 +02:00
tamasmeszaros
c5b22163c5 Fix crash when exporting to stl 2023-07-27 15:33:05 +02:00
Lukas Matena
3ab20de3c0 Wipe tower: Use perimeter_speed and infill_speed instead of the hardcoded values 2023-07-27 12:53:10 +02:00
YuSanka
6dbbbfea7a Fix for #11001 - Mirror cutting 2023-07-19 15:04:29 +02:00
YuSanka
e8bdd9e78d Code refactoring: Rivet is changed to Snap 2023-07-19 10:25:48 +02:00
YuSanka
7cd99d98f5 WIP: Cut with Rivets
* Code refactoring: get_connector_mesh() and apply_cut_connectors() moved from ModelObject to CutGizmo.
* Allow to change values of space and bulges for snaps
2023-07-19 10:25:47 +02:00