Commit Graph

16924 Commits

Author SHA1 Message Date
enricoturri1966
9516470b2f Tech ENABLE_SEAMS_VISUALIZATION -> Fixed build on Mac 2021-04-27 11:11:21 +02:00
enricoturri1966
d078aedfbe Replace label Skirt with Skirt/Brim in preview legend 2021-04-27 10:46:42 +02:00
enricoturri1966
343eb6006b Tech ENABLE_SEAMS_VISUALIZATION -> 1st installment of seams visualization in preview 2021-04-27 09:45:15 +02:00
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
Lukas Matena
22af3b8e30 Fixed a memory leak when repairing an external stl 2021-04-26 20:45:43 +02:00
Lukas Matena
fa71246ca4 Fix 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.
2021-04-26 19:58:08 +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
enricoturri1966
60c03ea745 Tech ENABLE_ALLOW_NEGATIVE_Z -> Keep sinking instances as sinking after applying scale gizmo 2021-04-23 09:11:55 +02:00
enricoturri1966
807da39f15 Tech ENABLE_ALLOW_NEGATIVE_Z -> Keep sinking instances as sinking after applying rotate gizmo 2021-04-23 08:29:29 +02:00
enricoturri1966
3fadd362fe Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_custom_gcode_detection 2021-04-22 15:30:27 +02:00
enricoturri1966
f9ddb38f04 Extrusions in custom start g-code forced to be at first layer height level 2021-04-22 15:15:19 +02:00
enricoturri1966
2d03e241cf Tech ENABLE_ALLOW_NEGATIVE_Z -> Shading of sinking instances 2021-04-22 13:18:36 +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
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
enricoturri1966
1f2181b470 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_custom_gcode_detection 2021-04-21 14:52:52 +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
enricoturri1966
8d6b7e2713 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_custom_gcode_detection 2021-04-21 13:45:37 +02:00
Vojtech Bubnik
96c1193156 Fixed unit tests. 2021-04-21 13:30:32 +02:00
enricoturri1966
da458fe121 Tech ENABLE_ALLOW_NEGATIVE_Z -> Allow move gizmo to place an object under the printbed 2021-04-21 12:41:43 +02:00
enricoturri1966
7826a01077 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_custom_gcode_detection 2021-04-21 12:32:17 +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
aa545ccf1a Some refactoring into ProjectDirtyStateManager 2021-04-20 16:07:39 +02:00