Commit Graph

7572 Commits

Author SHA1 Message Date
enricoturri1966
d078aedfbe Replace label Skirt with Skirt/Brim in preview legend 2021-04-27 10:46:42 +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
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
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
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
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
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
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
d9053008ab Info in ObjectList: Added variable layer height 2021-04-19 16:10:40 +02:00
Lukas Matena
2be5cb8442 Info in ObjectList: Settings should be above the new info items, info items are selectable 2021-04-19 16:10:40 +02:00
Lukas Matena
06726145a5 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-19 16:10:40 +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
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
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
Vojtech Bubnik
6007f7ee49 Replacing ClipperLib::IntPoint with Eigen point as a first step to
make the ClipperLib paths and polygons compatible with Slic3r paths
and polygons without conversions and memory allocations.
2021-04-14 09:22:51 +02:00
Lukas Matena
e610102fa5 Fixed build against wxWidgets 3.0 2021-04-14 07:05:12 +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