Commit Graph

8648 Commits

Author SHA1 Message Date
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
enricoturri1966
f19beec8f8 Project dirty state manager -> Improvements to management of gizmos dirty state 2021-04-16 09:36:19 +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
enricoturri1966
19bf72fdcf Project dirty state manager -> management of gizmos dirty state WIP 2021-04-15 15:19:03 +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
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
Lukas Matena
aad9aa112d Fixed a typo in an error message (--sw_renderer -> --sw-renderer) 2021-04-12 09:15:28 +02:00
enricoturri1966
b486dcc7f8 Do not use custom gcode in out of bed detection 2021-04-10 11:07:08 +02:00
enricoturri1966
25df2fb8f2 Do not convert custom gcode extrusion to travel 2021-04-09 12:52:11 +02:00
enricoturri1966
a9b3f6ed7a Project dirty state manager -> current gizmo dirty state 2021-04-09 08:26:48 +02:00
Vojtech Bubnik
f8d7c7684a Configs should point to PrusaSlicer-alpha, not beta in alpha stage. 2021-04-09 08:11:40 +02:00
Vojtech Bubnik
2e70270d64 Fix of brim under supports 2021-04-08 16:36:52 +02:00
Vojtech Bubnik
c0434121f5 New FDM support sparse infill zig-zag algorithm.
Fixed some old support and infill issues.

Fixes support problem #4295
Fixes Parts of interface layer extends beyond supports and cannot be printed
Fixes support missing under horizontal overhang #6058
Fixes Slicer double-traces small sections of Rectilinear Supports, causes
Fixes plastic buildup and nozzle crashes #4951
Fixes Add "Angle Interface layers" #2969
2021-04-08 15:29:40 +02:00
tamasmeszaros
9e770e052c Fix slow cancellation of rasterization step
fixes #6253
2021-04-08 14:36:37 +02:00
enricoturri1966
3b6e0b942c Follow-up of 926ecd0585 -> Improved management of plater dirty state 2021-04-07 14:26:04 +02:00
tamasmeszaros
2bea4ccf9d Merge remote-tracking branch 'origin/tm_sl1_import_fix' 2021-04-07 13:56:14 +02:00
enricoturri1966
116a1c01aa Project dirty state manager -> plater dirty state 2021-04-07 12:58:14 +02:00
tamasmeszaros
bb9d1b3679 Remove right click menu item for "optimize orientation" 2021-04-07 12:51:02 +02:00
tamasmeszaros
27229c0b5f Small improvement to "least supports" method 2021-04-07 12:51:02 +02:00
tamasmeszaros
389a3d0a6a Better naming of gui controls 2021-04-07 12:51:02 +02:00
tamasmeszaros
a2be47a6e6 Allow rotation of multiple selected items. Disable auto positioning 2021-04-07 12:51:02 +02:00
tamasmeszaros
d74c616905 Remove accuracy slicer
No practical use
2021-04-07 12:51:02 +02:00
tamasmeszaros
6f04f1b1d9 Allow auto-rotation of objects not completely inside bed.
Don't use SLAPrintObject as the input for optimization. Use ModelObject and pass the print config to the optimization in RotoptimizeJob::prepare()
2021-04-07 12:51:02 +02:00
tamasmeszaros
b0d2df95e4 Increase performance of "best misalignment" method 2021-04-07 12:51:02 +02:00
tamasmeszaros
785c7e97ec Change configuration bank name for SLA auto rotation 2021-04-07 12:51:02 +02:00
tamasmeszaros
c8c9a4cf8b Tolerate corrupted appconfig settings for auto rotation 2021-04-07 12:51:02 +02:00
tamasmeszaros
cb3be22de1 Remove leftover debug message 2021-04-07 12:51:02 +02:00
tamasmeszaros
f21e0ae0ff Least supports optimization revived.
Fix missing include on Win32


Cleanup benchmarking code
2021-04-07 12:51:02 +02:00
tamasmeszaros
97e7350911 Method selection implemented 2021-04-07 12:51:02 +02:00
tamasmeszaros
a7851618c8 Extend execution framework with convenience functions 2021-04-07 12:51:02 +02:00
tamasmeszaros
c9b787af67 Unite cancel callback and status function 2021-04-07 12:51:02 +02:00
tamasmeszaros
a8420ca83c Speed up rotation optimizer
- No float to double conversion
- Solving issue of random (very similar) results due to the parallel summation of floats
2021-04-07 12:51:02 +02:00
tamasmeszaros
192269b2c7 Add new execution framework
Inspired by std::execution
2021-04-07 12:51:02 +02:00
tamasmeszaros
44076d12db Reverting to old rotation optimizer object-function.
Keep the performance optimizations though
2021-04-07 12:51:02 +02:00
tamasmeszaros
f5ba2a1441 Fix duplicated error message dialog from GUI jobs. 2021-04-07 12:41:52 +02:00
tamasmeszaros
27c779cc16 Fix issue with importing sl1 files with non-ascii filenames. 2021-04-07 12:41:38 +02:00