Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Infill Layer Thickness to non-integer multiples of layer height #6915

Closed
nathanielstenzel opened this issue Jan 3, 2020 · 8 comments
Closed
Labels
Type: Improvement Improvement to existing functionality.

Comments

@nathanielstenzel
Copy link

With Cura 4.3.0 or 4.4.0 or 4.4.1 and probably older, I get odd results in the Z positions for the gcode.

Layer Height of 0.14
Infill Layer Thickness of 0.21

This results in 0.28 differences in Z. The parts have been coming out brittle and with wispy infill due to this.

I see a number of other Z position related bug reports. They may all be connected.

@nathanielstenzel nathanielstenzel added the Type: Bug The code does not produce the intended behavior. label Jan 3, 2020
@nathanielstenzel
Copy link
Author

0.21 layer heights for walls, infill and support results in 0.35 increments in Z.

@nathanielstenzel
Copy link
Author

nathanielstenzel commented Jan 4, 2020

This is slimmed down to about what really matters. If there were any G0 or G1 commands with Z, they would be in this snip of text.

;Generated with Cura_SteamEngine 4.4.1
;TYPE:SKIRT
G1 F3600 Z0.21
;TYPE:WALL-OUTER
;TYPE:WALL-INNER
;TYPE:SKIN
G0 F3600 X5.242 Y-6.071 Z0.48
;TYPE:WALL-OUTER
;TYPE:WALL-INNER
;TYPE:SKIN
G0 F3600 X5.261 Y6.052 Z0.83
;TYPE:WALL-OUTER
;TYPE:WALL-INNER
;TYPE:SKIN
G0 F3600 X5.245 Y-6.068 Z1.18

@nathanielstenzel
Copy link
Author

;Generated with Cura_SteamEngine 3.6.0
G1 Z15.0 F6000 ;Move the platform down 15mm
G0 F3600 X12.455 Y12.677 Z0.3
;TYPE:SKIRT
;MESH:cylinder.stl
;TYPE:WALL-OUTER
;TYPE:WALL-INNER
;TYPE:SKIN
;MESH:NONMESH
;MESH:cylinder.stl
G0 F5400 X2.905 Y-8.937 Z0.45
;TYPE:WALL-INNER
;TYPE:WALL-OUTER
;TYPE:SKIN
;MESH:NONMESH
;MESH:cylinder.stl
G0 F7200 X2.905 Y-8.937 Z0.6
;TYPE:WALL-INNER
;TYPE:WALL-OUTER
;TYPE:SKIN
;MESH:NONMESH
;MESH:cylinder.stl
G0 X2.905 Y-8.937 Z0.75

@fieldOfView
Copy link
Collaborator

Layer Height of 0.14
Infill Layer Thickness of 0.21

This results in 0.28 differences in Z.

This is by design. This is the description of the Infill Layer Thickness: "The thickness per layer of infill material. This value should always be a multiple of the layer height and is otherwise rounded." (my emphasize). So in your case, the Infill Layer Thickness is rounded to 0.28, the nearest multiple of 0.14.

Your snippets of gcode are abbreviated too much for me to see what is going on.

@nathanielstenzel
Copy link
Author

You say that in the one example, the infill should be 0.28 height changes but it is making ALL height differences 0.28.

@fieldOfView
Copy link
Collaborator

What should be happening is that basically the infill should skip each other layer. So there should be a layer with skins and infill, and then a layer with just skins. Then a layer with skins and infill, followed by a layer with just skins. Etc.

If you could post a complete gcode file, we can see what is going on.

@nathanielstenzel
Copy link
Author

It seems I did indeed have a misunderstanding about how Cura works for this feature. I think Slic3r did it better and was able to do 0.2mm walls with 0.3mm infill and it just did walls or infill twice sometimes to get the needed results. By your description, Cura can only do the walls multiple times and can not do infill multiple times.

The other issue of 0.14mm walls and 0.21mm infill resulting in all 0.35mm Z differences was a result on a Cura profile that I switched away from and sadly I no longer have those particular settings or the file. Since I can no longer provide any evidence of that, I guess there is no point in talking about it further.

For now, I will settle for chunky 0.28mm layer heights for infill and support and 0.14mm layer heights for walls, but I hope that in the future you will let me do 0.21mm layer heights for walls with 0.28mm or 0.35mm layer heights for infill and support. 0.42mm layer height with a 0.4mm nozzle would only be doable with an increased flow or an increased extrusion width, both of which would be an increase in extruded filament and would be an experimental way of handling things.

@Ghostkeeper Ghostkeeper changed the title mixed layer height prints give bad layer height results Infill Layer Thickness to non-integer multiples of layer height Jan 13, 2020
@Ghostkeeper Ghostkeeper added Category: Engine Type: Improvement Improvement to existing functionality. and removed Type: Bug The code does not produce the intended behavior. labels Jan 13, 2020
@Ghostkeeper
Copy link
Collaborator

Ah, I see that you opened a new issue here: #6927

Let's continue the discussion there then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Improvement Improvement to existing functionality.
Projects
None yet
Development

No branches or pull requests

3 participants