Commit Graph

15638 Commits

Author SHA1 Message Date
Vojtech Bubnik
bd85c499ac Fixing compiler warnings 2021-05-03 15:00:23 +02:00
Vojtech Bubnik
4c41fb5fa9 Fixing one unit test, which seems to indicate that the refactoring
fixed one issue (hopefully it was not that a newly introduced bug
hides an old one).
2021-05-03 14:12:08 +02:00
Vojtech Bubnik
65ceff0883 Another fix for C++ conformant compilers 2021-05-03 11:55:23 +02:00
Vojtech Bubnik
7954641779 Fixing compilation on C++ conforming compilers 2021-05-03 11:50:05 +02:00
Vojtech Bubnik
f191b4611d Further rework of ClipperUtils: Replaced many to_polygons() /
to_expolygons() calls with templated ClipperUtils variants to avoid
memory allocation and copying.
2021-05-03 11:39:53 +02:00
Vojtech Bubnik
96a7a52715 Clipper 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.
2021-04-30 11:49:57 +02:00
Vojtech Bubnik
c901b60aa4 Layer::make_perimeters() - when merging regions, use OffsetEx instead
of safety offset of UnionEx, which may not be robust.
2021-04-29 11:05:11 +02:00
Vojtech Bubnik
9c606e7948 Refactoring 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.
2021-04-26 18:37:10 +02:00
Lukas Matena
fbdf0d6ab0 Wipe 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
2021-04-26 09:21:18 +02:00
Vojtech Bubnik
7a3ddb3de5 Merge branch 'tm_vb_clipper_eigen' 2021-04-23 11:44:25 +02:00
Vojtech Bubnik
065bf79257 Fixed Perl bindings of Clipper after Clipper was adapted to Slic3r::Point 2021-04-23 11:02:16 +02:00
tamasmeszaros
0fa17516d7 Move iterator stuff from polygon to multipoint 2021-04-22 09:44:08 +02:00
Vojtech Bubnik
2d3d42dbff Added missing files 2021-04-22 09:26:07 +02:00
Vojtech Bubnik
e912da36eb Convincing ClipperLib to use Slic3r's own Point type internally. 2021-04-21 20:15:49 +02:00
tamasmeszaros
c5c73f4257 Use new libnest backend for MinAreaBoundingBox wrapper 2021-04-21 17:21:43 +02:00
tamasmeszaros
a48acc5581 Minor code refinements 2021-04-21 16:49:11 +02:00
tamasmeszaros
080f47e64b Write hollow flag to SL1 files if any object is hollowed. 2021-04-21 16:29:12 +02:00
tamasmeszaros
8af3bd96a3 Fix integer overflows in libnest2d tests 2021-04-21 16:08:38 +02:00
tamasmeszaros
ab405b5b65 Eliminate warnings caused by changes to aid new libslic3r backend 2021-04-21 16:02:31 +02:00
tamasmeszaros
f3af547441 New custom backend for libnest2d using libslic3r types
Adapted to new clipper->eigen mod
2021-04-21 16:02:25 +02:00
Vojtech Bubnik
237a35e24e and the final Perl unit test fix 2021-04-21 15:47:28 +02:00
Vojtech Bubnik
f5aa778fee Yet another Perl test 2021-04-21 15:46:47 +02:00
Vojtech Bubnik
fbd1be5ce1 Another last perl unit test fix 2021-04-21 15:43:41 +02:00
Vojtech Bubnik
cdb7c8e229 One more perl unit test fix 2021-04-21 15:40:43 +02:00
Vojtech Bubnik
fefdc675f0 Fixing perl unit tests 2021-04-21 15:38:00 +02:00
Vojtech Bubnik
17a63f974e Fixing unit tests 2021-04-21 15:31:06 +02:00
Vojtech Bubnik
21c78fdd97 Further fixes of the first_layer_height refactoring. 2021-04-21 14:34:49 +02:00
YuSanka
73289e9e8e Updated splashscreen images 2021-04-21 13:49:24 +02:00
Vojtech Bubnik
96c1193156 Fixed unit tests. 2021-04-21 13:30:32 +02:00
Vojtech Bubnik
b149169eca 1) Moved first_layer_heigth frrom PrintObjectConfig to PrintConfig.
Thus the first_layer_height is no more object specific. That makes
   a lot of sense due to the brim calculation being performed over
   all layers at once and due to future merging of supports of
   different objects at first layer.
2) Because now first_layer_height is print specific, the relative
   first layer height derived from the object layer height was partially
   disabled: First the relative first layer height is converted to
   an absolute value when importing config, second the side text
   was changed from "mm or %" to "mm". Still the UI allows entering %.

Both changes may be controversial, let's wait for user feedback.
2021-04-21 12:09:43 +02:00
Lukáš Hejl
6f643ba6d3 Added missing include (GCC 9.3) 2021-04-21 06:08:46 +02:00
rtyr
4eaa1217cb 0.0.16 Updated CR6-SE start g-code. Added and updated filament profiles. 2021-04-20 20:38:27 +02:00
rtyr
45465f3322 Bumped up version to 0.0.16 2021-04-20 20:35:49 +02:00
rtyr
dbec143fff Merge pull request #6394 from pmjdebruijn/creality
Creality Various
2021-04-20 20:33:39 +02:00
Pascal de Bruijn
a24073ad7f Revert "creality.ini: Extrudr NX2 slightly lower temps"
This reverts commit 41c56f2eb8.
2021-04-20 18:13:21 +02:00
Pascal de Bruijn
fbbbf92abf creality.ini: disable explicit ABL for CR6-SE (#6383)
this is also better in line with Creality's intended behavior
2021-04-20 18:12:08 +02:00
enricoturri1966
27336d2145 Removed mutable members from class GLVolume 2021-04-20 12:55:23 +02:00
enricoturri1966
aad1b3a8f6 Removed mutable members from class GLCanvas3D 2021-04-20 12:16:55 +02:00
enricoturri1966
08a9d6c559 Removed mutable members from class OpenGLManager::GLInfo 2021-04-20 11:42:34 +02:00
David Kocik
613117db34 Merge branch 'dk_notifications' 2021-04-20 09:19:40 +02:00
David Kocik
51a8af03fd Check of correct suffix during PrintHostSend dialog. 2021-04-20 09:18:50 +02:00
David Kocik
640b7879fb Error appearance of upload notification and dividing lines with lesser impotance of spaces 2021-04-20 09:18:50 +02:00
David Kocik
ad406bd820 compare upload notification by id and not show id in text 2021-04-20 09:18:50 +02:00
David Kocik
40dc0a8833 two line text for upload progress bar notification 2021-04-20 09:18:50 +02:00
David Kocik
34d26eaa31 Changed ToolpathOuside error notification from plater to slicing error notification type so it is grayed out correctly 2021-04-20 09:18:50 +02:00
David Kocik
ad300cde1a Upload notification text fix 2021-04-20 09:18:50 +02:00
David Kocik
53ee91dcf9 typo fix 2021-04-20 09:18:50 +02:00
David Kocik
caa2d9663b fix of notification states and upload progress bar notification fadeout 2021-04-20 09:18:50 +02:00
enricoturri1966
8af953c9d2 Removed mutable members from class Bed3D 2021-04-20 08:53:56 +02:00
Lukas Matena
962547e059 Merge branch 'lm_info_in_object_list' 2021-04-19 16:11:58 +02:00