395164c7a1Fixed conflicts after merge with master
enricoturri1966
2021-04-30 14:54:58 +02:00
868c1ecd41Fixed conflicts after merge with master
enricoturri1966
2021-04-30 14:54:58 +02:00
95f5b82d6aImproved MM priming lines placement on circular beds (#6459)
Lukas Matena
2021-04-30 13:11:26 +02:00
2e4b7c2c07Improved MM priming lines placement on circular beds (#6459)
Lukas Matena
2021-04-30 13:11:26 +02:00
9fbba855efClipper optimization: 1) Removed the already commented-out scaling / unscaling when doing "safe offsetting" 2) Removed some of the "safe offsetting" at calls where it never was used. 3) Reworked Clipper & ClipperUtils to pass Polygons / ExPolygons / Surfaces as input parameters without conversion to ClipperLib::Paths. This should save a lot of memory allocation and copying. 4) Reworked conversions from ClipperLib::Paths & PolyTree to Polygons / ExPolygons to use the move operator to avoid many unnecessary allocations. 5) Reworked some "union with safe ofsetting" to "offset_ex", which should be cheaper.
Vojtech Bubnik
2021-04-30 11:49:57 +02:00
96a7a52715Clipper optimization: 1) Removed the already commented-out scaling / unscaling when doing "safe offsetting" 2) Removed some of the "safe offsetting" at calls where it never was used. 3) Reworked Clipper & ClipperUtils to pass Polygons / ExPolygons / Surfaces as input parameters without conversion to ClipperLib::Paths. This should save a lot of memory allocation and copying. 4) Reworked conversions from ClipperLib::Paths & PolyTree to Polygons / ExPolygons to use the move operator to avoid many unnecessary allocations. 5) Reworked some "union with safe ofsetting" to "offset_ex", which should be cheaper.
Vojtech Bubnik
2021-04-30 11:49:57 +02:00
b327314b02Layer::make_perimeters() - when merging regions, use OffsetEx instead of safety offset of UnionEx, which may not be robust.
Vojtech Bubnik
2021-04-29 11:05:11 +02:00
c901b60aa4Layer::make_perimeters() - when merging regions, use OffsetEx instead of safety offset of UnionEx, which may not be robust.
Vojtech Bubnik
2021-04-29 11:05:11 +02:00
3a28fe62b5Fixed missing ending cap for toolpaths having a single segment
enricoturri1966
2021-04-29 09:09:49 +02:00
0f36a792a7Fixed missing ending cap for toolpaths having a single segment
enricoturri1966
2021-04-29 09:09:49 +02:00
628af89c4aSmall refactoring into variable_layer_height.fs shader
enricoturri1966
2021-04-28 16:04:24 +02:00
f42fafc17bSmall refactoring into variable_layer_height.fs shader
enricoturri1966
2021-04-28 16:04:24 +02:00
a3f03ac188Tech ENABLE_ALLOW_NEGATIVE_Z->Keep as sinking objects saved in project files
enricoturri1966
2021-04-28 16:02:51 +02:00
0ffa875093Tech ENABLE_ALLOW_NEGATIVE_Z->Keep as sinking objects saved in project files
enricoturri1966
2021-04-28 16:02:51 +02:00
1863d622b5Changed order of rendering of sidebar hints to avoid artifacts due to depth buffer cleanup made by gizmo renderers
enricoturri1966
2021-04-28 13:58:16 +02:00
bd70aebfeeChanged order of rendering of sidebar hints to avoid artifacts due to depth buffer cleanup made by gizmo renderers
enricoturri1966
2021-04-28 13:58:16 +02:00
c58572deaaTech ENABLE_ALLOW_NEGATIVE_Z->Fixed object popping up after editing layer range fields
enricoturri1966
2021-04-28 11:07:15 +02:00
0916f23e3fTech ENABLE_ALLOW_NEGATIVE_Z->Fixed object popping up after editing layer range fields
enricoturri1966
2021-04-28 11:07:15 +02:00
a83cd647daSmall refactoring in GLCanvas3D::LayersEditing
enricoturri1966
2021-04-28 08:49:32 +02:00
470ea9cd9aSmall refactoring in GLCanvas3D::LayersEditing
enricoturri1966
2021-04-28 08:49:32 +02:00
7ae77c06d0Tech ENABLE_SEAMS_VISUALIZATION -> Added threshold to place seams
enricoturri1966
2021-04-27 15:12:45 +02:00
3fe61c2887Tech ENABLE_SEAMS_VISUALIZATION -> Added threshold to place seams
enricoturri1966
2021-04-27 15:12:45 +02:00
15f376e468Tech ENABLE_SEAMS_VISUALIZATION -> Fixed build on Mac
enricoturri1966
2021-04-27 11:11:21 +02:00
9516470b2fTech ENABLE_SEAMS_VISUALIZATION -> Fixed build on Mac
enricoturri1966
2021-04-27 11:11:21 +02:00
2c6472ebc3Replace label Skirt with Skirt/Brim in preview legend
enricoturri1966
2021-04-27 10:46:42 +02:00
d078aedfbeReplace label Skirt with Skirt/Brim in preview legend
enricoturri1966
2021-04-27 10:46:42 +02:00
076fdc90c0Tech ENABLE_SEAMS_VISUALIZATION -> 1st installment of seams visualization in preview
enricoturri1966
2021-04-27 09:45:15 +02:00
343eb6006bTech ENABLE_SEAMS_VISUALIZATION -> 1st installment of seams visualization in preview
enricoturri1966
2021-04-27 09:45:15 +02:00
576c5b78e9Added seed fill for MMU segmentation
Lukáš Hejl
2021-04-27 06:48:09 +02:00
7d7c2efec1Added seed fill for MMU segmentation
Lukáš Hejl
2021-04-27 06:48:09 +02:00
8a19cf9d64Extended support of MMU segmentation backed for more than three colors.
Lukáš Hejl
2021-04-27 00:37:49 +02:00
8ae1d180c7Extended support of MMU segmentation backed for more than three colors.
Lukáš Hejl
2021-04-27 00:37:49 +02:00
db55bd706eFixed case in MMU segmentation when the infinity-edge in the Voronoi diagram has vertex0(), and vertex1() equals nullptr.
Lukáš Hejl
2021-04-27 00:36:22 +02:00
ea402ff871Fixed case in MMU segmentation when the infinity-edge in the Voronoi diagram has vertex0(), and vertex1() equals nullptr.
Lukáš Hejl
2021-04-27 00:36:22 +02:00
1b144e80bdAdded hiding of MMU segmentation gizmo when it is selected printer with only one extruder.
Lukáš Hejl
2021-04-21 07:18:02 +02:00
37720e9b28Added hiding of MMU segmentation gizmo when it is selected printer with only one extruder.
Lukáš Hejl
2021-04-21 07:18:02 +02:00
da702ab135Fixed a memory leak when repairing an external stl
Lukas Matena
2021-04-26 20:44:53 +02:00
22af3b8e30Fixed a memory leak when repairing an external stl
Lukas Matena
2021-04-26 20:44:53 +02:00
978b359492Fix normal direction when exporting STL (#6406) The export function does not depend on Model/ModelObject::mesh() family of functions, changing them might break the already too brittle code.
Lukas Matena
2021-04-26 19:56:28 +02:00
fa71246ca4Fix normal direction when exporting STL (#6406) The export function does not depend on Model/ModelObject::mesh() family of functions, changing them might break the already too brittle code.
Lukas Matena
2021-04-26 19:56:28 +02:00
d1cfdcb49eRefactoring of StaticPrintConfig & derived classes: 1) Using boost::preprocessor to reduce code duplicities when defining new configuration values. 2) Implemented static hash() and operator== on StaticPrintConfig derived classes to support hash tables of instances thereof.
Vojtech Bubnik
2021-04-26 18:37:10 +02:00
9c606e7948Refactoring of StaticPrintConfig & derived classes: 1) Using boost::preprocessor to reduce code duplicities when defining new configuration values. 2) Implemented static hash() and operator== on StaticPrintConfig derived classes to support hash tables of instances thereof.
Vojtech Bubnik
2021-04-26 18:37:10 +02:00
5783cc62fbWipe tower priming lines are placed at origin with custom bed shapes Custom shapes were previously detected as circular and the lines were placed off the bed
Lukas Matena
2021-04-26 09:21:16 +02:00
fbdf0d6ab0Wipe tower priming lines are placed at origin with custom bed shapes Custom shapes were previously detected as circular and the lines were placed off the bed
Lukas Matena
2021-04-26 09:21:16 +02:00
38bb7d29501) 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.
Vojtech Bubnik
2021-04-22 11:41:26 +02:00
3ae74a5ca81) 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.
Vojtech Bubnik
2021-04-22 11:41:26 +02:00
ea26581959Move iterator stuff from polygon to multipoint
tamasmeszaros
2021-04-22 09:44:08 +02:00
0fa17516d7Move iterator stuff from polygon to multipoint
tamasmeszaros
2021-04-22 09:44:08 +02:00