Commit Graph

15690 Commits

Author SHA1 Message Date
ddf34922d7 Tech ENABLE_SEQUENTIAL_LIMITS -> Do not show clearance regions while dragging an object 2021-05-12 14:56:14 +02:00
b33d98fe09 Tech ENABLE_SEQUENTIAL_LIMITS -> Fixed z-fighting between contours and fill 2021-05-12 14:35:57 +02:00
253e31d73b Tech ENABLE_SEQUENTIAL_LIMITS -> Improved rendering of clearance regions 2021-05-12 13:09:33 +02:00
daf230695d Tech ENABLE_SEQUENTIAL_LIMITS -> 1st installment of visualization of objects clearance for sequential prints 2021-05-11 13:12:25 +02:00
487a9649db Fixed a perl test that was mistkanely adjusted after ClipperLib refactoring. 2021-05-05 13:30:19 +02:00
ace13dde31 Fixed perl unit tests 2021-05-05 13:27:00 +02:00
9314856372 Fixing unit tests. 2021-05-05 13:19:01 +02:00
e9aaea38eb Fix of safety_offset() after ClipperUtils refactoring.
Fixes Solid infill where there should be none #6482
Also the safety offsetting was revised to be enabled only where needed,
the "do safety offset" is now easy to discover by
a new ApplySafetyOffset::Yes enum, and safety offset over union, which
is better done by offset() / offset_ex() has been replaced with
new union_safety_offset() / union_safety_offset_ex() functions, which
better convey their meaning and which could be better optimized than
union() with the safety offset applied.
2021-05-05 12:16:47 +02:00
0912c55004 Merge pull request #6483 from pmjdebruijn/creality
creality.ini: improve output_filename_format
2021-05-04 23:53:30 +02:00
fa425a1842 creality.ini: improve output_filename_format
this moves the print_time directly after the input_filename_base,
so it has the most chance of surviving truncation by marlin.

temperature is also added in front of the filament_type.
2021-05-04 18:41:06 +02:00
a192525c2d Fixed alignment of sparse infill over multiple layers of the same region,
which was broken with 68666de521b1cb15e41ac6728c0e8d3b4b0d4ed0
"Reworked the "new" bridging to respect the bridge_flow_ratio
by maintaining extrusion spacing, but modifying the extrusion width
and / or height."
2021-05-04 18:27:53 +02:00
6d0adedc4c Fixing compilation on clang in debug mode. 2021-05-04 16:13:40 +02:00
f073fbf2f9 Implemented generic mechanism for executing tasks on UI thread synchronously
from the background slicing thread, that supports cancellation.
The generic mechanism is used for generating thumbnails into G-code and
Fixes Fix deadlock when canceling the slicing while gcode is creating thumbnails #6476
Thanks @supermerill for pointing out the issue.
2021-05-04 16:07:32 +02:00
3812847926 Updated MK3 and MK2 bed textures.
Fix of old non-unified line widths issues.
2021-05-04 15:35:47 +02:00
2ca2b8d4bd ObjectList: Fixed update of the selection, when some gizmo in 3D-Scene is activated 2021-05-04 14:20:19 +02:00
1552641824 Follow-up of 15c32d636d -> Small refactoring 2021-05-04 13:31:07 +02:00
0b01436982 Seams detection for gcode saved with other slicers 2021-05-04 12:45:51 +02:00
ada8b8dd8c Fixed compilation with GCC 2021-05-04 11:22:38 +02:00
c8e2824a99 Fixing thread-safe StaticConfig creations #6477
fix un-threadsafe code for creating config enum hashtable. #6475
2021-05-04 11:03:26 +02:00
87d6fe807c Merge pull request #6479 from pmjdebruijn/creality
creality.ini: Add Devil Design PLA Matt
2021-05-04 09:50:44 +02:00
5b94a63e1c creality.ini: Add Devil Design PLA Matt 2021-05-03 18:13:02 +02:00
c67ec1edbe i3 MEGA S bed model and texture
https://github.com/prusa3d/PrusaSlicer/pull/6452
2021-05-03 15:48:05 +02:00
3756fa857f 0.0.10 Various updates for Anycubic Mega. Added filament profiles. 2021-05-03 15:41:42 +02:00
ac4c3080e4 One more fix after merge. 2021-05-03 15:30:10 +02:00
7d9cca600c Fixing after merge. 2021-05-03 15:28:03 +02:00
c1ab2bcbd9 Merge branch 'vb_clipper_optimization' 2021-05-03 15:24:04 +02:00
187adc6dfa Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2021-05-03 15:23:57 +02:00
bd85c499ac Fixing compiler warnings 2021-05-03 15:00:23 +02:00
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
65ceff0883 Another fix for C++ conformant compilers 2021-05-03 11:55:23 +02:00
7954641779 Fixing compilation on C++ conforming compilers 2021-05-03 11:50:05 +02:00
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
8e4b0ac6fd Added missing include (GCC 11.1) 2021-05-01 22:33:59 +02:00
ac7b40d695 Fixed a bug with selection from the 3D-scene when ObjectSettings item is selected in ObjectList
Steps to repro:
1. Add 2 objects, add Settings for some of object -> Object Settings item is selected
2. In the 3D-scene select another object -> BUG: no changes in the ObjectList
2021-04-30 16:56:18 +02:00
a9009b3218 OSX specific: Fixed scale of the frequently settings, when extra display is connected 2021-04-30 16:49:13 +02:00
6e676f4026 Merge remote-tracking branch 'origin/et_seams_visualization' 2021-04-30 14:57:27 +02:00
868c1ecd41 Fixed conflicts after merge with master 2021-04-30 14:54:58 +02:00
2e4b7c2c07 Improved MM priming lines placement on circular beds (#6459) 2021-04-30 13:11:33 +02:00
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
62c51f7dba Merge remote-tracking branch 'origin/et_custom_gcode_detection' 2021-04-29 11:09:36 +02:00
849d7f2460 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_custom_gcode_detection 2021-04-29 11:07:47 +02:00
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
0f36a792a7 Fixed missing ending cap for toolpaths having a single segment 2021-04-29 09:09:49 +02:00
681737a3d6 Follow-up of 2c6472ebc3 -> Ensure backward compatibility 2021-04-28 16:06:49 +02:00
bd70aebfee Changed order of rendering of sidebar hints to avoid artifacts due to depth buffer cleanup made by gizmo renderers 2021-04-28 13:58:16 +02:00
3fe61c2887 Tech ENABLE_SEAMS_VISUALIZATION -> Added threshold to place seams 2021-04-27 15:12:45 +02:00
9516470b2f Tech ENABLE_SEAMS_VISUALIZATION -> Fixed build on Mac 2021-04-27 11:11:21 +02:00
d078aedfbe Replace label Skirt with Skirt/Brim in preview legend 2021-04-27 10:46:42 +02:00
343eb6006b Tech ENABLE_SEAMS_VISUALIZATION -> 1st installment of seams visualization in preview 2021-04-27 09:45:15 +02:00
22af3b8e30 Fixed a memory leak when repairing an external stl 2021-04-26 20:45:43 +02:00