Cura does not slice correctly at 0.16mm - Page 1
Forum section: electronics / general

author: Miti
author_rank: Super Contributor
timestamp: October 23, 2022, 11:29:50 am
content: I bet this has a simple explanation but I couldn't find it and I know I'm not good at finding. I'm trying to slice some models with Cura and everything works well at 0.2mm and 0.12mm but when I sliced at 0.16mm, I was surprised that the printer printed at 0.2mm. I went back to Cura thinking I made a mistake, but no mistake was made. Cura does not slice properly for me at 0.16mm, the preview shows less layers than at 0.2mm I tried both Cura 5.1.1 and 5.2.1, printer is Ender 3v2 and in 5.1.1 I selected the profile for Ender 3 Pro. I tried to attach some examples but it won't let me.Cheers,Miti

author: xrunner
author_rank: Super Contributor
timestamp: October 23, 2022, 11:37:49 am
content: Quote from: Miti on October 23, 2022, 11:29:50 amZip the file(s) and then attach the zip.

author: Miti
author_rank: Super Contributor
timestamp: October 23, 2022, 07:28:33 pm
content: Right. Here it is..

author: hubi
author_rank: Regular Contributor
timestamp: October 23, 2022, 08:54:41 pm
content: I tried the Opener.stl file in Cura 5.1.0 and it sliced it with 0.16mm layer height. You can check the gcode, if you grep the file for Z you should see a series of linesCode:G0 F6000 X107.107 Y45.642 Z0.16G0 F300 X171.972 Y171.897 Z0.32G0 F300 X126.676 Y173.137 Z0.48G0 F300 X165.579 Y125.356 Z0.64G0 F300 X175.998 Y239.156 Z0.8G0 F300 X119.717 Y228.626 Z0.96G0 F300 X128.788 Y105.109 Z1.12...Also, cura puts the slicer setting in comments at the end of the gcode. That section should contain layer_height=0.16 and layer_height_0=0.16.Make sure you change the layer height, not just the initial layer height.

author: xrunner
author_rank: Super Contributor
timestamp: October 23, 2022, 09:23:29 pm
content: Quote from: Miti on October 23, 2022, 07:28:33 pm.I got it to slice at 0.16 layers IF the experimental setting "Use Adaptive Layers" is NOT checked. Do you have that setting checked?

author: Miti
author_rank: Super Contributor
timestamp: October 24, 2022, 01:09:07 am
content: Quote from: hubi on October 23, 2022, 08:54:41 pmG code says 0.16mm but preview shows 12 layers if I slice it at 0.16mm and 13 layers at 0.2mm. if you calculate, 13x0.16 is 1.92, the model is 2.5mm thick. The printer prints at 0.2mm.Quote from: xrunner on October 23, 2022, 09:23:29 pmNope.Edit: I've attached the G code. Interesting is that the layer height is 0.16 but if I read the code correctly, the z hop is 0.2. The first layer was set to 0.2. Maybe I'm not reading the G code right.

author: hubi
author_rank: Regular Contributor
timestamp: October 24, 2022, 11:14:27 am
content: Quote from: Miti on October 24, 2022, 01:09:07 amYou're reading it right, your gcode has 0.2mm Z increments.The comment section at the end does not include the layer height for some reason. Could this have something to do with the dynamic quality setting you are using?

author: xrunner
author_rank: Super Contributor
timestamp: October 24, 2022, 11:40:08 am
content: Quote from: hubi on October 24, 2022, 11:14:27 amIt does.I installed Cura on a utility computer I use for troubleshooting. I selected 0.16 layers and it didn't slice "correctly" (actually it did work as the designers intended though ...)I inspected the experimental setting "use adaptive layers" and it was checked automatically because I selected 0.16 layers (Dynamic Quality). When I un-checked it (use adaptive layers), it sliced using 0.16 layers.The 0.16 layer setting is intended to be used with the adaptive layers setting (but you can un-check it anyway).If you want to, go tohelp > show configuration folderGo to that folder, copy your configuration folder (such as Roaming > cura > 5.2), zip it, and post it here. I will put the folder on my test rig and over-write my configuration. I'll check you configuration here.

author: Miti
author_rank: Super Contributor
timestamp: October 24, 2022, 02:26:40 pm
content: Quote from: hubi on October 24, 2022, 11:14:27 amThat must be it, thanks! If I select 0.2 then change the layer height to 0.16, the number of layers in the preview is correct. I will create my own profile with an override from the 0.2mm profile.

author: Miti
author_rank: Super Contributor
timestamp: October 24, 2022, 02:31:14 pm
content: Quote from: xrunner on October 24, 2022, 11:40:08 amAdaptive layers option is not checked for me, I looked again. It must have something to do with the “dynamic quality “ thing which I don’t know what could mean yet. Anyway, I think I’ll create my own profile and be done with it. Thanks!