slic3r / Slic3r

Open Source toolpath generator for 3D printers
https://slic3r.org/
GNU Affero General Public License v3.0
3.34k stars 1.3k forks source link

second layer printed at first layer's height in certain conditions #2295

Closed jefvdb closed 9 years ago

jefvdb commented 10 years ago

Hi!

What i'm seeing; when having a non-zero lift-z-on-retract and a height difference between the first and the later layers, generated gcode will put the second layer at the first layer's height (creating a nice mess), and the further layers at their correct height. I have tested on 1.0.1, 1.1.7 and 1.2.0, all of which seem to have the issue. Setting the lift-z to 0 removes the issue, and so does setting the first/successive layers at the same height.

This could also be a problem with the gcode's interpretation, my method of testing is checking the gcode visually with octoprint (GCodeVisualizer) and printrun's (5Nov2013) visualisation, as well as actually printing them via octoprint on an i3. Both visualizations show a somewhat different but in both cases wrong result, and the prints themselves seem to agree with printrun's.

Some data I've gathered;

1) first-layer-height == other-layers-height == lift-z 0.3 All tests (octoprint, printrun, 1.2.0's visualizer) have good values. First layer @0.3mm, second @0.6mm, third @0.9mm, etcetera.

2) first-layer-height = 0.24mm, other-layers-height = 0.3mm, lift-z = 0.3mm

3) first-layer-height = 0.24mm, other-layers-height = 0.3mm, lift-z = 0mm

4) first-layer-height = 0.4mm, other-layers-height = 0.3mm, lift-z = 0.3mm

5) first-layer-height = 0.4mm, other-layers-height = 0.3mm, lift-z = 0mm

My setup;

jefvdb commented 10 years ago

The files;

alranel commented 9 years ago

Thank you for the very detailed report. I confirm this is fixed as of current HEAD thanks to the large refactoring I did on the lift/retraction code.

hynyna commented 4 years ago

This problem may still exist, though I don't really know, why this weird thing happens.

Using Slic3r 1.3.0 installed through homebrew on macOS 10.14.6

Currently I'm trying to print keyboard keycaps using this OpenSCAD library https://github.com/rsheldiii/KeyV2/ Keycaps are generated by doing what's mentioned here to have multi material print without using a multi material printer: generate legends and generate caps separately and upside down. When I put the generated STL file into Slic3r, the second layer has a really weird pattern and it's merged into the first layer.

Has somebody got a clue for me as to why this could be happening?

I uploaded sliced gcode+STL file, in case somebody wants to test this out.

Finally some screenshots of what's happening: 1st layer looking perfectly fine

1st layer

2nd layer pattern looking abnormal and squishes into first layer

2nd layer

2nd layer madness viewing from below the bed

2nd layer from below

3rd layer looking fine and normal again

3rd layer
jefvdb commented 4 years ago

Hi @HobbinHood ,

I recommend opening a new ticket, I don't think the devs are reading this :)

But FWIW, I loaded that .stl with 1.3.0 on Linux and I'm not seeing those shenanigans in your screenshots. I am using a different config with different layer heights tho. Post yours if you'd like me to try it out.

lordofhyphens commented 4 years ago

Yes, please open a new issue