Jump to content
Salty_Doug

The GCODE Output File Sets the First Layer Height to +0.3mm

Recommended Posts

Posted · The GCODE Output File Sets the First Layer Height to +0.3mm

I have been wondering why my first layers are not sticking well. I checked my manual leveling using a 0.06mm feeler gauge and it seems fine. I then tried printing a part and turning the printer off at the first layer. I then measured the height (gap) with feeler gauges and measured 0.38mm. I looked at the GCODE file and found that the Z Height was being set to 0.3mm (G1 F600 Z0.3). See the code below:

 

Why does Cura do this?

 

;FLAVOR:Marlin
;TIME:1127
;Filament used: 0.595774m
;Layer height: 0.2
;MINX:79.2
;MINY:79.2
;MINZ:0.3
;MAXX:120.8
;MAXY:120.8
;MAXZ:2.5
;Generated with Cura_SteamEngine 4.3.0
M82 ;absolute extrusion mode
G21 ; metric values
G90 ; absolute positioning
M82 ; set extruder to absolute mode
M107 ; start with the fan off
M140 S105 ; Set bed temperature (no wait)
G28 X Y F6000 ; move X/Y to min endstops
G28 Z F1200 ; move Z to min endstops ; raise the nozzle
M190 S105 ; wait for bed temperature to reach target
M104 S220 T0 ; set extruder temperature (no wait)
G29 ; auto-leveling
M420 S1 ; enable bed leveling compensation
M109 S220 T0 ; set extruder temperature and wait
M300 P200 ; beep to indicate that the temp is reached
G0 F5000 X10 Y10 Z0.3 ; move to start
G1 F500 X60.0 E9 ; start purge line
G1 X150.0 E18.5 ; finish purge line
G92 E0 ; set extruder to zero
M117 Printing from Cura...; message
G92 E0
G92 E0
G1 F1200 E-0.5
;LAYER_COUNT:12
;LAYER:0
M107
G1 F600 Z1.3
;MESH:Nozzle Fan Spacer.stl
G0 F2400 X81.795 Y83.534 Z1.3
;TYPE:WALL-INNER
G1 F600 Z0.3
G1 F1200 E0
G1 F600 X81.749 Y84.028 E0.02475
G1 X81.804 Y84.495 E0.04821

 

Share this post


Link to post
Share on other sites
Posted · The GCODE Output File Sets the First Layer Height to +0.3mm

Which height is configured for the first layer in Cura?

 

1424671413_Bildschirmfoto2019-10-22um21_38_43.thumb.png.de4135c5e0d5a2bd496fc6bd0e7d24c5.png

Share this post


Link to post
Share on other sites
Posted · The GCODE Output File Sets the First Layer Height to +0.3mm

I did not configure the first layer height separately but the layer height is configured at 0.2mm. See the attached screen shot.

Screen Shot 2019-10-23 at 7.10.18 AM.png

Share this post


Link to post
Share on other sites
Posted · The GCODE Output File Sets the First Layer Height to +0.3mm

When I expand the selection to view the Initial Layer Height it is set to 0.3mm.

Does that explain the issue?  Why is this the default?

Screen Shot 2019-10-23 at 7.18.37 AM.png

Share this post


Link to post
Share on other sites
Posted · The GCODE Output File Sets the First Layer Height to +0.3mm

Yes that explains why your first layer has a height of 0.3mm.

It is a default behavior in Cura that the first layer height is a little bit more than the configured layer height. It also depends on the layer height you configure, so it is not always 0.3.

 

Opinions as to what is better are different. A higher Layer Height should ensure that an uneven print bed is better compensated. 

 

But if you don't like it, just set the First Layer Height manually to the value you want or to the general Layer Height.

  • Like 1

Share this post


Link to post
Share on other sites
Posted · The GCODE Output File Sets the First Layer Height to +0.3mm

Thanks for the help and explanation Smithy.

 

Salty Doug

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Welcome to the Ultimaker Community of 3D printing experts. Visit the following links to read more about our Terms of Use or our Privacy Policy. Thank you!