Commit Graph

15276 Commits

Author SHA1 Message Date
Vojtech Bubnik
f33528fa06 Fix of crash when using raft with modified Shape-Box with height 0.5mm #5652
Reworked skirt generator to only generate skirt at non-empty layers
(layers that actually extruder object or support) and to respect minimum
layer height. Skirt generator stops at the first layer where those both
conditions cannot be met.
2021-02-25 12:18:11 +01:00
enricoturri1966
88c2a4d7b9 Follow-up of 33aa6be7b7 -> Validation of custom g-code added using vertical slider in preview at gcode generation level 2021-02-25 08:23:45 +01:00
Vojtech Bubnik
ae665e60d8 Fixing some compiler warnings 2021-02-24 19:53:50 +01:00
Vojtech Bubnik
ed5bdf4b66 Fix of supports create overkill material that actually sopports nothing above it. #2245
When expanding the 1st layer support layer, do it by small steps while
trimming with object to avoid supports to leak through object walls.
2021-02-24 19:49:38 +01:00
Vojtech Bubnik
84fb583ca1 Fix of Perl combine infill unit test after a change in raft:
1st object layer over raft is no more printed with bridging infill.
2021-02-24 18:48:55 +01:00
Vojtech Bubnik
23fcbe59c7 Fix of Unnecessary raft on models with large perimeter but nothing inside. #430
Don't fill in the holes in 1st layer of the raft.
The user may apply a higher raft_expansion if one wants a better 1st layer adhesion.
2021-02-24 18:08:32 +01:00
Vojtech Bubnik
da195f4c95 Fix of Support interface is generated across whole print layer regardless if it's needed or not #4570
Disabled a suspicious piece of legacy code inherited from Slic3r,
which tries to fill in spots inside support interfaces. The code was
too aggressive and it was doing more harm than good.
2021-02-24 17:34:51 +01:00
Vojtech Bubnik
cda9ecc6d7 Fix of Add option to change support interface pattern #1197
New config field for switching the support interface pattern between
default (rectilinear for non-soluble interface, concentric for soluble interface),
explicit rectilinear and explicit concentric.

Also the config layer was reworked a bit to reduce some switch statements
on ConfigOptionEnum<> templates.
2021-02-24 15:59:18 +01:00
YuSanka
f2e56bb63e Some code refactoring follow-up 33aa6be7b7 and 92b1302a08 2021-02-24 15:50:18 +01:00
YuSanka
a8414597bf OSX specific: Fix of f11e81517d 2021-02-24 15:03:34 +01:00
YuSanka
4f5d8d6458 Merge remote-tracking branch 'origin/ys_auto_cp' 2021-02-24 14:33:31 +01:00
enricoturri1966
a09070439c Follow-up of 86d7e1fb90 -> Validation of custom g-code added using vertical slider in preview 2021-02-24 14:17:46 +01:00
Vojtech Bubnik
bfdcb6f2d8 Squash merge of pull request Raft enhancements #6003
thanks @nemart69
2021-02-24 11:59:22 +01:00
enricoturri1966
b9f41ea7cf Added missing include 2021-02-24 11:31:08 +01:00
enricoturri1966
8e7c3c6851 #6117 - Allow import of gcode files processed by ArcWelder 2021-02-24 09:46:42 +01:00
David Kocik
173480a154 Merge branch 'dk_instances' 2021-02-24 09:32:28 +01:00
David Kocik
e200493740 Delete lockfile at shutdown on linux and mac.
Passing lockfile on mac by sending message .
2021-02-24 09:31:51 +01:00
David Kocik
9f434466a5 Merge branch 'dk_wizard' 2021-02-24 09:22:30 +01:00
David Kocik
15fb39948d config wizard - hide logo if small height 2021-02-24 09:21:40 +01:00
Vojtech Bubnik
0a1811d047 Added a single perimeter to the first layer of support or raft.
Fixes [Request] Add optional perimeter to raft #756
Fixes First support layer does not stick to bed #2101

New parameters raft_first_layer_density and raft_first_layer_expansion
to influence the 1st layer of raft or support.
Fixes Allow to disable raft under support structures. #3772
Fixes raft is larger than necessary #2568
Fixes Supports on the build plate should have a solid bottom interface for better adhesion #1165

Changed the 1st layer infill to rectilinear even for soluble materials.
Fixes first layer of support for multi filament support oddly spaced #1445
Fixes Full Soluble Materials interfacing into Models + Soluble material noise on Bed #684
2021-02-24 08:48:40 +01:00
Lukáš Hejl
a535a5e30c Fixed calculation of a distance from begin of a contour in the avoid crossing perimeters.
The total length of a contour was incorrectly computed, which could cause the longest detour was selected instead of the shortest one in some cases.
2021-02-23 20:56:36 +01:00
Lukáš Hejl
d28e80f334 Fixed inner offset in the avoid crossing perimeters.
Minimum contour width was used incorrectly, which could lead to breaking contour to more disconnected polygons.
2021-02-23 20:43:34 +01:00
Lukáš Hejl
3961185bcf Fixed wrong orientation of infill and gap-fill extrusion.
When an island contains exactly one infill ExtrusionEntity, this extrusion was oriented to maximize travel distance from the end of the previous extrusion of perimeters instead of minimizing it.
2021-02-23 20:07:40 +01:00
YuSanka
96a0654c47 Implemented Auto Color Print 2021-02-23 18:46:05 +01:00
Vojtech Bubnik
95986dddcd Fix of Enforce support for first N layers has no effect #470 2021-02-23 15:31:21 +01:00
Vojtech Bubnik
8aa409b51c Trimming support base layer with brim.
Fixes Brim destroyed by support aka. Enable supports on top of brim #1156
Fixes Brim Priority/Support on Brim #713
Fixes Phantom Support columns interfere with brim #3396
Fixes false generation of brim when supports are used #3395

This is a work in progress, as the brim generator currently produces
different brim areas from what the support generator expects.
2021-02-23 14:43:47 +01:00
Vojtech Bubnik
7b93a3fdaf Fix of Paint on support ignores some paints. #5948
When projecting the horizontal or nearly horizontal support enforcers or blockers
into object layers, the projection may fall on a layer above or below the layer
where it should in case the nearly horizontal support enforcer or blocker
triangles are intersecting the slicing plane of one of the object layers.
Due to numerical issues, projection of the support blocker or
enforcer triangles may not fall to the same side of the slicing plane
as when slicing the object. To make the projection robust, horizontal triangles
are newly projected to both the layer below and above if they are close
to the object slicing plane.
2021-02-23 12:30:15 +01:00
enricoturri1966
9762804663 Partial revert of 204714d566 -> Alternate fix for crash on printer presets switching between MM and SM printers 2021-02-23 12:00:23 +01:00
rtyr
5b6287a629 INAT bundle
https://github.com/prusa3d/PrusaSlicer/pull/6112
2021-02-23 10:26:21 +01:00
YuSanka
87746c91ee Fix of #6110 - Preview: View Menu/List placement incorrect
Use wxComboBox with wxCB_READONLY flag instead of wxChoice
2021-02-23 10:04:43 +01:00
Felicia Hummel
ffe4bae481 Note regarding absolute paths (#6111) 2021-02-22 20:56:00 +01:00
Vojtech Bubnik
cf568e7f37 Fixing build on gcc/clang 2021-02-22 19:43:18 +01:00
YuSanka
9b5eb7fc41 ObjectList: After deleting volumes from the object, update the extruder color for the object from the last and only volume 2021-02-22 18:50:38 +01:00
Vojtech Bubnik
f04b609cb5 PNGReadWrite: png::write_gray_to_file(), png::write_gray_to_file_scaled() 2021-02-22 18:07:27 +01:00
Vojtech Bubnik
5a0e0857a0 Fixes Support Interface printed on air #2903
Fixes Supports generated loose in space #4874
Fixes Support Interface layers in midair #5016
2021-02-22 18:07:27 +01:00
Vojtech Bubnik
9af66056f0 Extended SVG::export_expolygons() with legend. 2021-02-22 18:07:27 +01:00
YuSanka
9f155a4d21 Fix a crash on printer presets switching between MM and SM printers:
1. DoubleSlider::Control : Update extruder colors before another updates for layers slider
2. GCodeViewer : Control count of extruders during the legend updating
2021-02-22 17:08:03 +01:00
YuSanka
0072b54bba PresetComboBox: Fixed thin/wide_space_icon_width scale
+ Added border for the color_extruder bitmaps
2021-02-22 17:08:03 +01:00
Lukas Matena
b76f3419a3 Show a notification when attempting to slice during SLA support points editing
This should also fix #5736 and a similar crash when deleting an object during manual editing (which was introduced between 2.2.0 and 2.3.0)
2021-02-22 16:26:16 +01:00
Lukas Matena
2f146f727b Bugfix: custom seam did not work for triangles that were exactly vertical
The projection algorithm was originally made for custom supports, so vertical triangles
were not interesting. They are for seam. Instead of rewriting the algorithm and risking
more bugs, the edge case is detected and the triangle is tilted slightly.
2021-02-22 16:26:16 +01:00
Lukas Matena
f42e459ab5 Fix aligned seam when sequential printing is enabled 2021-02-22 16:26:16 +01:00
enricoturri1966
0155e9f5a5 #6095 - Fixed toolpaths generation 2021-02-22 15:27:40 +01:00
tamasmeszaros
03e483a0af Eliminate libnest2d warning on mac 2021-02-22 13:08:24 +01:00
rtyr
011f8bf8f2 Thumbnails for CR8 and Ender4 2021-02-22 12:52:26 +01:00
YuSanka
f54de4734b Fix of #6094 - Slicer crashes in MMU2S mode 2021-02-22 09:56:23 +01:00
rtyr
bcbf0d726e Creality index update 2021-02-22 09:24:52 +01:00
rtyr
6ab097b6cb Updated version 2021-02-22 09:23:58 +01:00
rtyr
6b10017148 Merge pull request #6079 from pmjdebruijn/creality_5
Creality Various
2021-02-22 09:23:14 +01:00
enricoturri1966
54258ac336 Follow-up of 86d7e1fb90 -> Custom gcode validation in Filament settings tab 2021-02-22 08:39:36 +01:00
enricoturri1966
3b2b937d0e Follow-up of 86d7e1fb90 -> Custom gcode validation in Printer settings tab 2021-02-22 08:13:48 +01:00