Commit Graph

15596 Commits

Author SHA1 Message Date
Lukáš Hejl
7d7c2efec1 Added seed fill for MMU segmentation 2021-04-27 06:48:09 +02:00
Lukáš Hejl
1ea93f1181 Fixed compiler warnings 2021-04-27 00:41:20 +02:00
Lukáš Hejl
8ae1d180c7 Extended support of MMU segmentation backed for more than three colors.
Serialization and deserialization in TriangleSelector were extended to support up to 16 materials (3 unused states left for possible later extension). These changes also affect the encoding of data from custom supports and seams, but it is backward compatible with the previous encoding. And for custom supports and seams, it is produced exactly the same data encoding as before.
2021-04-27 00:37:49 +02:00
Lukáš Hejl
ea402ff871 Fixed case in MMU segmentation when the infinity-edge in the Voronoi diagram has vertex0(), and vertex1() equals nullptr. 2021-04-27 00:36:22 +02:00
Lukáš Hejl
37720e9b28 Added hiding of MMU segmentation gizmo when it is selected printer with only one extruder. 2021-04-27 00:35:43 +02:00
Vojtech Bubnik
3ae74a5ca8 1) New methods PrintObject::num_regions() and ::has_region() to make
the code more readable and to highlight where PrintObject::region_volumes
   are actually set and consumed.
2) Replaced Slic3r::clamp() with std::clamp(). They differ in the order
   of their parameters, thus hopefully no new bugs were introduced.
3) Some refactoring of MultiMaterialSegmentation for efficiency.
2021-04-22 11:41:26 +02:00
Vojtech Bubnik
08d553d411 MMU segmentation refactoring: Most of the MMU segmentation code
was extracted to its own file.
2021-04-20 15:07:05 +02:00
Lukas Matena
c4590bec6b Info in ObjectList: Added variable layer height 2021-04-20 15:07:05 +02:00
Lukas Matena
98fbbad389 Info in ObjectList: Settings should be above the new info items, info items are selectable 2021-04-20 15:07:05 +02:00
Lukas Matena
7615d31afc Show info about custom supports and seam in ObjectList
Slight refactoring in GLGizmosManager so it is easier to open a gizmo from the ObjectList
2021-04-20 15:07:05 +02:00
rtyr
48f624d0d5 Disabled thick bridges, updated support settings. Bundle refactoring. 2021-04-20 15:07:05 +02:00
Lukáš Hejl
245059f8e3 WIP: Added support for top and bottom layers for MMU segmentation. 2021-04-19 19:21:06 +02:00
Lukáš Hejl
2db60126aa WIP: Allows regions of MMU segmentation to be trimmed by chosen width. 2021-04-19 07:12:42 +02:00
Lukáš Hejl
97a85eb487 WIP: MMU segmentation without top and bottom layers 2021-04-19 07:04:50 +02:00
Lukáš Hejl
ef8718327b WIP: Duplicated the FDM support gizmo for the MMU segmentation 2021-04-19 07:01:11 +02:00
enricoturri1966
e5b7c3536a Removed mutable members from class GLToolbar 2021-04-16 15:49:37 +02:00
enricoturri1966
24eed24037 Removed mutable members from class Selection 2021-04-16 15:25:03 +02:00
enricoturri1966
714b70f8d3 Further refactoring into struct Camera 2021-04-16 14:05:55 +02:00
enricoturri1966
61e1b2a993 Removed mutable members from struct Camera 2021-04-16 13:44:01 +02:00
enricoturri1966
cb98885c2b Fixed flickering of 3D scene GUI when the scene's bounding box gets very big 2021-04-16 12:49:57 +02:00
enricoturri1966
d9f13f1420 Fixed conversion to utf8 of strings entered using Custom G-code dialog 2021-04-16 09:48:22 +02:00
rtyr
2ab7acd291 Merge pull request #6357 from pmjdebruijn/creality
Creality Filament Updates
2021-04-15 22:20:07 +02:00
Vojtech Bubnik
c052b78005 After issuing the color change custom G-code, which is most likely
just M600, reset the internal retract counter, so that a retract
will happen after the firmware returns from M600 to the initial position.

Fixes "Blobs on print after manual color change #6362"
2021-04-15 16:29:30 +02:00
Vojtech Bubnik
8fa5a131f2 Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2021-04-15 13:48:29 +02:00
Vojtech Bubnik
d12bfef0a8 RemovableManager on OSX: Testing for dictionary values for nullness.
Hopefully it fixes Can not start slicer on mac Bigsur #5719
2021-04-15 13:48:20 +02:00
tamasmeszaros
e658823f57 Fix for arrange crash when geometry has zero length segments
fixes #5749
2021-04-15 13:23:35 +02:00
enricoturri1966
1ed9795340 Follow-up of 526233ca47 -> Take in account original instances scale factor 2021-04-15 08:41:20 +02:00
rtyr
00095288a1 Delete x1_thumbnail.png 2021-04-14 18:48:48 +02:00
rtyr
815e169303 Delete genius_thumbnail.png 2021-04-14 18:48:38 +02:00
rtyr
2e61826e3a Add files via upload 2021-04-14 18:48:06 +02:00
Pascal de Bruijn
7428926a28 creality.ini: add 3DJAKE ecoPLA Matt
the filament is very flowy, which means it prints well at lower temperatures.

and given the limited part cooling fan on most creality printers, it prints
less well at higher temperatures.
2021-04-14 18:00:09 +02:00
Pascal de Bruijn
c5767a2246 creality.ini: add Devil Design approx spool weights
by manufacturer specifications:
https://devildesign.com/download/PLA_-_product_card.pdf
2021-04-14 17:59:55 +02:00
enricoturri1966
ffefa3625e Modified version of automatic downscale on load of objects too big 2021-04-14 14:46:49 +02:00
Vojtech Bubnik
ddc8e0d7de Fixed obvious bug in move operator, discovered by clang lint ran by Tamas. 2021-04-14 14:25:30 +02:00
tamasmeszaros
847cdcb7cb Fix integer overflows in libnest2d tests 2021-04-14 08:51:54 +02:00
Lukas Matena
e610102fa5 Fixed build against wxWidgets 3.0 2021-04-14 07:05:12 +02:00
Pascal de Bruijn
d95f9425ce creality.ini: Extrudr NX2 slightly lower temps
After more practical testing, a slightly lower temp is beneficial on
small pointy areas, preventing them from being slightly deformed.
2021-04-13 19:09:54 +02:00
Vojtech Bubnik
f0e1464ca3 WIP: Fix of arrangement after reducing ClipperLib::cInt
from int64_t to int32_t
2021-04-13 16:35:46 +02:00
Vojtech Bubnik
a1a50fe096 Marked the unsafe ClipperUtils offset functions with CLIPPERUTILS_UNSAFE_OFFSET
Replaced some of the unsafe offset functions with safe variants.
Please test the
1) print bed from STL function
2) concentric infill
2021-04-13 13:28:37 +02:00
cp
1f15405336 Fix boost dependency url.
Original host's lifetime has ended, see here: https://github.com/boostorg/boost/issues/502
This is PR #6349, amended by @lukasmatena who added the changes for platforms other than Windows.
2021-04-13 12:25:25 +02:00
Vojtech Bubnik
1b6534d5ac Clipper / ClipperUtils:
1) Let Clipper use int32_t for representing its coordinates. This
   reduces memory and allows to skip conversion between Slic3r Polygon
   and Clipper polygon.
2) Disable additional offset before executing the Clipper Offset algorithm.
   We don't see any reason for that and it required 64bit Clipper coordinates,
   which were disabled with 1).
2021-04-13 11:31:54 +02:00
Vojtech Bubnik
05386e9b20 FDM snug supports: New parameter "closing radius", inspired by Cura's
support_join_distance
2021-04-12 14:56:36 +02:00
rtyr
9ec9d83629 Updated min_slic3r_version
2.3.1-beta
2021-04-12 12:11:46 +02:00
rtyr
114873d946 updated min_slic3r_version 2021-04-12 11:45:26 +02:00
rtyr
3a03031fb5 Creality 0.0.15 2021-04-12 11:44:14 +02:00
rtyr
69d9cf3062 version bumped up to 0.0.15 2021-04-12 11:42:32 +02:00
rtyr
906cad90b7 updated min_slic3r_version 2021-04-12 11:40:55 +02:00
rtyr
47af6eab9f Update Anycubic.idx 2021-04-12 11:28:10 +02:00
rtyr
9207c11bc4 Bumped up version to 0.0.9 2021-04-12 11:27:29 +02:00
Lukas Matena
aad9aa112d Fixed a typo in an error message (--sw_renderer -> --sw-renderer) 2021-04-12 09:15:28 +02:00