The first Z is "Layer high" + "First layer high"

After installing v.1.6.1 the G-code always start from Z 0.4 mm.

My setup:

Filament - 3 mm
Nozzle - 0.4 mm
Layer High - 0.3 mm
First layer high - 0.1 mm
First layer Extrusion width - 200%
NO support

this is an example of generated G-code:

;Generated with Cura_SteamEngine 15.01
; Default start code
G28 ; Home extruder
G1 Z15 F100
M107 ; Turn off fan
G90 ; Absolute positioning
M82 ; Extruder in absolute mode
M190 S50
; Activate all used extruder
M104 T0 S210
G92 E0 ; Reset extruder position
; Wait for all used extruders to reach temperature
M109 T0 S210
;Layer count: 101
;LAYER:0
M107
;LAYER:1
M106 S63
G1 F2400 E-1.00000
G0 F4200 X123.889 Y56.409 Z0.400
;TYPE:WALL-INNER
G1 F2400 E0.00000
G1 F2040 X124.481 Y55.516 E0.01819 
.....

It does not mater what kind of object is placed on the program.

If I add for example RAFT, the things goes worst:

;Generated with Cura_SteamEngine 15.01
; Default start code
G28 ; Home extruder
G1 Z15 F100
M107 ; Turn off fan
G90 ; Absolute positioning
M82 ; Extruder in absolute mode
M190 S50
; Activate all used extruder
M104 T0 S210
G92 E0 ; Reset extruder position
; Wait for all used extruders to reach temperature
M109 T0 S210
;Layer count: 101
;LAYER:-2
;RAFT
M106 S255
;LAYER:-1
;RAFT
;LAYER:-1
;RAFT
;LAYER:0
M107
;LAYER:1
M106 S63
G1 F2400 E-1.00000
G0 F4200 X123.889 Y56.409 Z1.100
.....

Raft setup:

Margin - 5 mm
Base Line Thickness - 0.3 mm
Interface Thickness  - 0.2 mm
Air gap Layer 0- 0 mm 
Air gap - 0
Num of Surface Layer - 1

In addition, THERE IS NO RAFT layers  !!!!!


I've tested this on two different PC's with different configurations!


Whats wrong?

Comments

  • Strange thing that it omits complete layers. Can you post the CuraEngine settings files used so I can verify?
  • Here is the content of the exported settings:


    [print]
    name = Cura
    defaultQuality = a78SGzXajD7MuKvFJzu1Iit9lhzQa7FA
    travelSpeedMin = 60
    travelSpeedMax = 70
    firstLayerSpeedMin = 20
    firstLayerSpeedMax = 30
    infillSpeedMin = 40
    infillSpeedMax = 50
    infillType = 0
    innerPerimeterMin = 30
    innerPerimeterMax = 40
    outerPerimeterMin = 30
    outerPerimeterMax = 40
    printSpeedMin = 60
    printSpeedMax = 70
    nozzleDiameter = 0.4
    gcodeFlavour = 0
    retractionCombing = True
    multiVolumeOverlap = 0
    cutOffObjectBottom = 0
    shellThickness = 0.8
    infillTopBottomThickness = 0.8
    infillDensityPercent = 20
    supportType = 0
    platformAdhesion = 0
    dualExtrusion = 0
    wipeAndPrimeTower = True
    oozeShield = False
    enableRetraction = True
    retractionSpeed = 40
    retractionDistance = 1
    multiExtruderSwitchAmount = 16
    startGCode = """
    ; Default start code
    G28 ; Home extruder
    G1 Z15 F{Z_TRAVEL_SPEED}
    M107 ; Turn off fan
    G90 ; Absolute positioning
    M82 ; Extruder in absolute mode
    {IF_BED}M190 S{BED}
    ; Activate all used extruder
    {IF_EXT0}M104 T0 S{TEMP0}
    G92 E0 ; Reset extruder position
    ; Wait for all used extruders to reach temperature
    {IF_EXT0}M109 T0 S{TEMP0}
    """
    endGCode = """
    ; Default end code
    ;G1 X0 Y0 Z130 ; Get extruder out of way. Uncomment to use!
    M107 ; Turn off fan
    ; Disable all extruder
    G91 ; Relative positioning
    {IF_EXT0}T0
    {IF_EXT0}G1 E-1 ; Reduce filament pressure
    M104 T0 S0
    G90 ; Absolute positioning
    G92 E0 ; Reset extruder position
    M140 S0 ; Disable heated bed
    M84 ; Turn steppers off
    """
    preSwitchExtruderCode = 
    postSwitchExtruderCode = 
    wipeAndPrimeTowerVolume = 15
    retractionMinimumTravel = 1.5
    minimumExtrusionBeforeRetract = 0.02
    zhop = 0
    skirtLineCount = 1
    skirtDistance = 3
    skirtMinimumLength = 150
    solidInfillTop = True
    solidInfillBottom = True
    infillOverlapPercent = 15
    supportStructureType = 0
    supportOverhang = 60
    supportFillPercent = 30
    supportDistanceXY = 0.7
    supportDistanceZ = 0.15
    supportExtruder = -1
    spiralizeOuterContour = False
    brimWidth = 5
    raftExtraMargin = 5
    raftLineSpacing = 1
    raftBaseThickness = 0.3
    raftBaseWidth = 0.7
    raftInterfaceThickness = 0.2
    raftInterfaceLineWidth = 0.2
    raftAirGap = 0
    raftAirGapLayer0 = 0
    raftSurfaceLayer = 1
    fixCombineEverythingA = True
    fixCombineEverythingB = False
    fixKeepOpenFaces = False
    fixExtensiveStitching = False
    fanFullAtHeight = 0.5
    minimumSpeed = 10
    coolHeadLift = False
    numQuality = 4
    skinSpeedMin = 35
    skinSpeedMax = 40
    combing = 1
    perimeterBeforeInfill = True
    [quality_0]
    name = 1 mm
    signature = hmVzZI6e0ESFk5djq6vSVHmcIj5wPAYz
    layerHeight = 1
    layer0widthPercent = 100
    firstLayerHeight = 1
    [quality_1]
    name = 0.35 mm
    signature = BZuvnWEvG9lV10O2LWU3bfnfXbXlp6PH
    layerHeight = 0.4
    layer0widthPercent = 100
    firstLayerHeight = 0.35
    [quality_2]
    name = 0.3 mm
    signature = a78SGzXajD7MuKvFJzu1Iit9lhzQa7FA
    layerHeight = 0.3
    layer0widthPercent = 200
    firstLayerHeight = 0.1
    [quality_3]
    name = 0.5 mm
    signature = yK26HacCtwG8lY83iTBnGolUNB8x8HDj
    layerHeight = 0.4
    layer0widthPercent = 100
    firstLayerHeight = 0.5

  • No problems for me. Sliced including all layers that you are missing. For normal print 0.3 I got these cura.ini in my working directory

    layerThickness = 300
    initialLayerThickness = 100
    filamentDiameter = 1750
    filamentFlow = 100
    extrusionWidth = 400
    layer0extrusionWidth = 800
    insetCount = 2
    infillOverlap = 15
    initialSpeedupLayers = 4
    initialLayerSpeed = 23
    printSpeed = 63
    infillSpeed = 43
    skinSpeed = 36
    inset0Speed = 33
    insetXSpeed = 33
    moveSpeed = 63
    fanSpeedMin = 50
    fanSpeedMax = 100
    supportAngle = -1
    supportEverywhere = 0
    supportLineDistance = 1333
    supportXYDistance = 700
    supportZDistance = 150
    supportExtruder = -1
    retractionAmount = 1000
    retractionSpeed = 40
    retractionMinimalDistance = 1500
    retractionAmountExtruderSwitch = 16000
    retractionZHop = 0
    minimalExtrusionBeforeRetraction = 20
    enableCombing = 1
    multiVolumeOverlap = 0
    objectSink = 0
    minimalLayerTime = 5
    minimalFeedrate = 10
    coolHeadLift = 0
    perimeterBeforeInfill = 1
    extruderOffset[0].X = 0
    extruderOffset[0].Y = 0
    extruderOffset[1].X = 0
    extruderOffset[1].Y = 0
    fixHorrible = 1
    fanFullOnLayerNr = 2
    supportType = 0
    infillPattern = 0
    sparseInfillLineDistance = 2000
    downSkinCount = 3
    upSkinCount = 3
    skirtDistance = 3000
    skirtLineCount = 1
    skirtMinLength = 150000
    gcodeFlavor = 0
    spiralizeMode = 0
    wipeTowerSize = 7071
    enableOozeShield = 0
    autoCenter = 0
    startCode = """
    ; Default start code
    G28 ; Home extruder
    G1 Z15 F3000
    M107 ; Turn off fan
    G90 ; Absolute positioning
    M82 ; Extruder in absolute mode
    M190 S50
    ; Activate all used extruder
    M104 T0 S210
    G92 E0 ; Reset extruder position
    ; Wait for all used extruders to reach temperature
    M109 T0 S210
    """
    endCode = """
    ; Default end code
    ;G1 X0 Y0 Z130 ; Get extruder out of way. Uncomment to use!
    M107 ; Turn off fan
    ; Disable all extruder
    G91 ; Relative positioning
    T0
    G1 E-1 ; Reduce filament pressure
    M104 T0 S0
    G90 ; Absolute positioning
    G92 E0 ; Reset extruder position
    M140 S0 ; Disable heated bed
    M84 ; Turn steppers off
    """
    preSwitchExtruderCode = """

    """
    postSwitchExtruderCode = """

    """


    You could try calling curaengine from commandline and see if it works with this cura.ini. But apart from this I can not say what is going wrong for you. I used the bundled CuraEngine but I guess you did the same.
  • I'm a little bit confused.... 
    1. Thous settings are different from thous send by me...
    2. I use the bundled CuraEngine and do not know how to use Cura from command line...

     
     
  • May be something by me is wrong.
    I've just installed Cura 15.04.5 and tried the same things
    Every time when I try to change the first layer thickness, I receive "Layer high" + "First layer high"

    M190 S135.000000
    M109 S265.000000
    ;Sliced at: Fri 27-05-2016 08:19:01
    ;Basic settings: Layer height: 0.3 Walls: 0.8 Fill: 50
    ;Print time: 1 hour 11 minutes
    ;Filament used: 2.871m 22.0g
    ;Filament cost: None
    ;M190 S135 ;Uncomment to add your own bed temperature line
    ;M109 S265 ;Uncomment to add your own temperature line
    G21        ;metric values
    G90        ;absolute positioning
    M82        ;set extruder to absolute mode
    M107       ;start with the fan off

    G28 X0 Y0  ;move X/Y to min endstops
    G28 Z0     ;move Z to min endstops

    G1 Z15.0 F6000 ;move the platform down 15mm

    G92 E0                  ;zero the extruded length
    G1 F200 E3              ;extrude 3mm of feed stock
    G92 E0                  ;zero the extruded length again
    G1 F6000
    ;Put printing message on LCD screen
    M117 Printing...

    ;Layer count: 81
    ;LAYER:0
    M107
    ;LAYER:1
    M106 S127
    G1 F2400 E-0.50000
    G0 F6000 X87.169 Y108.537 Z0.400
    ;TYPE:WALL-INNER

    ===========================

    here are the Cura settings:

    [profile]
    layer_height = 0.3
    wall_thickness = 0.8
    retraction_enable = True
    solid_layer_thickness = 0.6
    fill_density = 50
    print_speed = 60
    print_temperature = 265
    print_temperature2 = 0
    print_temperature3 = 0
    print_temperature4 = 0
    print_temperature5 = 0
    print_bed_temperature = 135
    support = None
    platform_adhesion = None
    support_dual_extrusion = Both
    wipe_tower = False
    wipe_tower_volume = 15
    ooze_shield = False
    filament_diameter = 2.85
    filament_diameter2 = 0
    filament_diameter3 = 0
    filament_diameter4 = 0
    filament_diameter5 = 0
    filament_flow = 100.0
    nozzle_size = 0.4
    retraction_speed = 40.0
    retraction_amount = 0.5
    retraction_dual_amount = 16.5
    retraction_min_travel = 1.5
    retraction_combing = All
    retraction_minimal_extrusion = 0.02
    retraction_hop = 0.0
    bottom_thickness = 0.1
    layer0_width_factor = 200
    object_sink = 0.0
    overlap_dual = 0.15
    travel_speed = 100
    bottom_layer_speed = 20
    infill_speed = 50
    solidarea_speed = 50
    inset0_speed = 35
    insetx_speed = 35
    cool_min_layer_time = 5
    fan_enabled = True
    skirt_line_count = 1
    skirt_gap = 3.0
    skirt_minimal_length = 150.0
    fan_full_height = 0.5
    fan_speed = 100
    fan_speed_max = 100
    cool_min_feedrate = 10
    cool_head_lift = False
    solid_top = True
    solid_bottom = True
    fill_overlap = 15
    perimeter_before_infill = False
    support_type = Lines
    support_angle = 60
    support_fill_rate = 15
    support_xy_distance = 0.7
    support_z_distance = 0.15
    spiralize = False
    simple_mode = False
    brim_line_count = 20
    raft_margin = 5.0
    raft_line_spacing = 3.0
    raft_base_thickness = 0.3
    raft_base_linewidth = 1.0
    raft_interface_thickness = 0.27
    raft_interface_linewidth = 0.4
    raft_airgap_all = 0.0
    raft_airgap = 0.22
    raft_surface_layers = 2
    raft_surface_thickness = 0.27
    raft_surface_linewidth = 0.4
    fix_horrible_union_all_type_a = True
    fix_horrible_union_all_type_b = False
    fix_horrible_use_open_bits = False
    fix_horrible_extensive_stitching = False
    plugin_config = 
    object_center_x = -1
    object_center_y = -1


  • So, the problem is ONLY with Cura! 

    With slic3r all is OK.

    I've uninstalled all versions of Repetier Host and Cura from the PC, have cleaned the registry, BUT when I've installed the fresh downloaded Repetier Host 1.6.1, all preview settings were inside, and the results are the same.

    With Slic3r I have no problems.

    Any Idea what I have to clean to "forgot" all settings from preview installations? 
  • Regarding CuraEngine everything is stored in working directory/CuraEngine of repetier (File->Working directory) and the latest verison is cura.ini directly in working directory.

    Have you tried different stl files? Maybe it is just a stl file cura engine has problems with for whatever reason.


  • Yes, It does not mater what kind of file I try. Every time the results are the same. I've tried even with the part that occurs automatically with new installation.
    .
  • I've deleted cura.ini from working directory, and when I've started again the Repetier, cura settings are still there.

  • cura.ini is only the result from last call. The CuraEngine subfolder in work dir contains settings.

    Have you checked the log if you see any error messages from CuraEngine there?
  • Even after fully deleting of any ".ini" files in working dir,  uninstalling, restart and reinstalling, when I use cure, the problem exists. When I use Slic3r, always the initial Z is correct.
  • Again, what does the log say when cura slices?
  • This is the part from LOG concerning Cura engine:

    16:45:24.573 : CuraEngine command:C:\Program Files\Repetier-Host\plugins\CuraEngine\CuraEngine.exe -p -v -c "C:\Users\Work\AppData\Local\RepetierHost\cura.ini" -s posx=0 -s posy=0 -o "C:\Users\Work\AppData\Local\RepetierHost\composition.gcode" "C:\Users\Work\AppData\Local\RepetierHost\composition0.stl"
    16:45:24.838 : <CuraEngine> Cura_SteamEngine version 15.01
    16:45:24.838 : <CuraEngine> Copyright (C) 2014 David Braam
    16:45:24.838 : <CuraEngine> This program is free software: you can redistribute it and/or modify
    16:45:24.838 : <CuraEngine> it under the terms of the GNU Affero General Public License as published by
    16:45:24.838 : <CuraEngine> the Free Software Foundation, either version 3 of the License, or
    16:45:24.838 : <CuraEngine> (at your option) any later version.
    16:45:24.838 : <CuraEngine> This program is distributed in the hope that it will be useful,
    16:45:24.838 : <CuraEngine> but WITHOUT ANY WARRANTY; without even the implied warranty of
    16:45:24.838 : <CuraEngine> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    16:45:24.838 : <CuraEngine> GNU Affero General Public License for more details.
    16:45:24.838 : <CuraEngine> You should have received a copy of the GNU Affero General Public License
    16:45:24.838 : <CuraEngine> along with this program.  If not, see <http://www.gnu.org/licenses/>.
    16:45:24.838 : <CuraEngine> Default config 'default.cfg' not used
    16:45:24.838 : <CuraEngine> Loading C:\Users\Work\AppData\Local\RepetierHost\composition0.stl from disk...
    16:45:24.838 : <CuraEngine> Loaded from disk in 0.000s
    16:45:24.838 : <CuraEngine> Analyzing and optimizing model...
    16:45:24.854 : <CuraEngine>   Face counts: 1260 -> 1260 100.0%
    16:45:24.854 : <CuraEngine>   Vertex counts: 3780 -> 620 16.4%
    16:45:24.854 : <CuraEngine>   Size: 24.000000 50.000000 45.000000
    16:45:24.854 : <CuraEngine>   vMin: 123.000000 75.000000 0.000000
    16:45:24.854 : <CuraEngine>   vMax: 147.000000 125.000000 45.000000
    16:45:24.854 : <CuraEngine>   vMin: 123.000000 75.000000 0.000000
    16:45:24.854 : <CuraEngine>   vMax: 147.000000 125.000000 45.000000
    16:45:24.854 : <CuraEngine>   Matrix: 1.000000 0.000000 0.000000
    16:45:24.854 : <CuraEngine>   Matrix: 0.000000 1.000000 0.000000
    16:45:24.854 : <CuraEngine>   Matrix: 0.000000 0.000000 1.000000
    16:45:24.854 : <CuraEngine> Optimize model 0.016s 
    16:45:24.854 : <CuraEngine> Slicing model...
    16:45:24.854 : <CuraEngine> Layer count: 151
    16:45:24.869 : <CuraEngine> Sliced model in 0.015s
    16:45:24.869 : <CuraEngine> Generating support map...
    16:45:24.869 : <CuraEngine> Generating layer parts...
    16:45:24.869 : <CuraEngine> Generated layer parts in -0.000s
    16:45:24.916 : <CuraEngine> Generated inset in 0.047s
    16:45:24.979 : <CuraEngine> Generated up/down skin in 0.062s
    16:45:25.447 : <CuraEngine> Wrote layers in  0.47s.
    16:45:25.447 : <CuraEngine> Wrote 600.7 kilobytes.
    16:45:25.447 : <CuraEngine> Total time elapsed  0.61s.
    16:45:25.447 : <CuraEngine> Print time: 1624
    16:45:25.447 : <CuraEngine> Filament: 1108
    16:45:25.447 : <CuraEngine> Filament2: 0




  • Here are:

    1. The   Log 
    2. Current Cura settings
    3. The detail (stl file) but with any file the problem is the same.
    4. The generated G-code

Sign In or Register to comment.