Werid slicer problems



  • I have a werid problem. If I use prusaslicer the first layer is at the right height but with simplified3d is starts to high. What could cause this? I have checked settings no offsets are being added.



  • Share the starting g-code of both? S3D has to be doing something different



  • simplified3d
    G28 ; home all axes
    G1 X5 Y10 Z0.2 F3000 ; get ready to prime
    G92 E0 ; reset extrusion distance
    G1 X160 E15 F600 ; prime nozzle
    G1 X180 F5000 ; quick wipe

    Prusaslicer
    M107
    M190 S60 ; set bed temperature and wait for it to be reached
    M104 S210 ; set temperature
    G28 ; home all axes
    G1 Z5 F5000 ; lift nozzle
    M109 S210 ; set temperature and wait for it to be reached
    G21 ; set units to millimeters
    G90 ; use absolute coordinates
    M82 ; use absolute distances for extrusion
    G92 E0



  • I think he means he wants you to share some of the actual gcode file you are printing and not just the start gcode. One thing to note is it is best to use relative extrusion and not absolute extrusion with the duet boards.



  • @JamesM what would relative gcode look like?


  • Moderator

    @nightmare90gt said in Werid slicer problems:

    G1 X5 Y10 Z0.2 F3000 ; get ready to prime

    Are you off by 0.2mm height?

    Post the a full sliced gcode from each so we can see how the start of the print and first layer plays out. The start gcode is part of it, but we need to see more.

    Relative extrusion versus absolute extrusion is a bit complex and unrelated to your problem here, but here's a break down that explains it well since it's worth knowing anyway.

    https://www.sublimelayers.com/2017/10/to-extruder-relative-or-not-to-extrude.html



  • I will verify tomorrow and report back.



  • xyzCalibration_cube (Prusa).gcode xyzCalibration_cube (simp).gcode

    simplified I have to adjust the baby set to .160mm to get a clean first layer.
    ; Configuration file for Duet WiFi (firmware version 3)
    ; executed by the firmware on start-up
    ;
    ; generated by RepRapFirmware Configuration Tool v3.1.4 on Fri Oct 02 2020 09:51:53 GMT+0200 (Central European Summer Time)

    ; General preferences
    G90 ; send absolute coordinates...
    M83 ; ...but relative extruder moves
    M550 P"Ender 5 Plus CoreXY" ; set printer name
    M669 K1 ; select CoreXY mode

    ; Network
    M552 S1 ; enable network
    M586 P0 S1 ; enable HTTP
    M586 P1 S0 ; disable FTP
    M586 P2 S0 ; disable Telnet

    M671 X-20:370 Y150:150 S3.0 ; leadscrews at left (connected to Z) and right (connected to E2) of X axis

    ; Drives
    M569 P0 S0 ; physical drive 0 goes backwards
    M569 P1 S0 ; physical drive 1 goes backwards
    M569 P2 S0 ; physical drive 2 goes backwards
    M569 P3 S1 ; physical drive 3 goes forwards
    M569 P4 S1 ; physical drive 4 goes forwards
    M569 P5 S0 ; physical drive 5 goes backwards
    M584 X0 Y1 Z2:5 E3:4 ; set drive mapping
    M350 X16 Y16 Z16 E16:16 I1 ; configure microstepping with interpolation
    M92 X80.00 Y80.00 Z800.00 E415.00:415.00 ; set steps per mm
    M566 X900.00 Y900.00 Z12.00 E120.00:120.00 ; set maximum instantaneous speed changes (mm/min)
    M203 X6000.00 Y6000.00 Z180.00 E1200.00:1200.00 ; set maximum speeds (mm/min)
    M201 X500.00 Y500.00 Z20.00 E250.00:250.00 ; set accelerations (mm/s^2)
    M906 X1050 Y1050 Z800 E600:600 I30 ; set motor currents (mA) and motor idle factor in per cent
    M84 S30 ; Set idle timeout

    ; Axis Limits
    M208 X0 Y0 Z0 S1 ; set axis minima
    M208 X320 Y350 Z400 S0 ; set axis maxima

    ; Endstops
    M574 X1 S1 P"xstop" ; configure active-high endstop for low end on X via pin xstop
    M574 Y1 S1 P"ystop" ; configure active-high endstop for low end on Y via pin ystop
    M574 Z1 S2 P"zstop+e2stop" ; configure Z-probe endstop for low end on Z

    ; Z-Probe
    M950 S0 C"duex.pwm5" ; create servo pin 0 for BLTouch
    M558 P9 C"^zprobe.in" H5 F300 T6000 ; set Z probe type to bltouch and the dive height + speeds
    G31 P500 X30.814 Y17.505 Z1.663 ; set Z probe trigger value, offset and trigger height
    M557 X50:320 Y15:350 S50 ; define mesh grid

    ; Heaters
    M308 S0 P"bedtemp" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin bedtemp
    M950 H0 C"bedheat" T0 ; create bed heater output on bedheat and map it to sensor 0
    M307 H0 B1 S1.00 ; enable bang-bang mode for the bed heater and set PWM limit
    M140 H0 ; map heated bed to heater 0
    M143 H0 S120 ; set temperature limit for heater 0 to 120C
    M308 S1 P"e0temp" Y"thermistor" T500000 B4723 C1.19622e-7 ; configure sensor 1 as thermistor on pin e0temp
    M950 H1 C"e0heat" T1 ; create nozzle heater output on e0heat and map it to sensor 1
    M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit
    M308 S2 P"e1temp" Y"thermistor" T500000 B4723 C1.19622e-7 ; configure sensor 2 as thermistor on pin e1temp
    M950 H2 C"e1heat" T2 ; create nozzle heater output on e1heat and map it to sensor 2
    M307 H2 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit

    ; Fans
    M950 F0 C"fan0" Q20 ; create fan 0 on pin fan0 and set its frequency
    M106 P0 S0 H-1 ; set fan 0 value. Thermostatic control is turned off
    M950 F1 C"fan1" Q500 ; create fan 1 on pin fan1 and set its frequency
    M106 P1 S1 H1 T45 ; set fan 1 value. Thermostatic control is turned on
    M950 F2 C"fan2" Q500 ; create fan 2 on pin fan2 and set its frequency
    M106 P2 S1 H2 T45 ; set fan 2 value. Thermostatic control is turned on

    ; Tools
    M563 P0 S"E0" D0 H1 F0 ; define tool 0
    G10 P0 X0 Y0 Z0 ; set tool 0 axis offsets
    G10 P0 R0 S0 ; set initial tool 0 active and standby temperatures to 0C
    M563 P1 S"E1" D1 H2 F0 ; define tool 1
    G10 P1 X0 Y0 Z0 ; set tool 1 axis offsets
    G10 P1 R0 S0 ; set initial tool 1 active and standby temperatures to 0C

    ; Custom settings
    M591 D0 P5 C"e0_stop" R40:120 E3.0 S0 ; Duet3D laser sensor for extruder drive 0, connected to endstop input 3 (E0), tolerance 40 to 120%, 3mm comparison length, disabled
    M591 D1 P5 C"e1_stop" R40:120 E3.0 S0 ; Duet3D laser sensor for extruder drive 1, connected to endstop input 4 (E1), tolerance 40 to 120%, 3mm comparison length, disabled

    ; Miscellaneous
    M575 P1 S1 B57600 ; enable support for PanelDue
    M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss
    M501 ; load stored settings
    T0 ; select first tool



  • This post is deleted!


  • I changed both to relative and they both seem to be off by .160mm per baby stepping. I have tried raising and lowering the probe height but just doesn't seem to work.


  • Moderator

    The gcode for each of those is completely different. Prusa slicer is using a first layer height of 0.35 and simplify is using 0.15. Simplify is using mesh compensation with G29, and Prusa slicer is not.

    Simplify:

    G90
    M83
    M106 S0
    M140 S60
    M190 S60
    M104 S210 T0
    M109 S210 T0
    G28 ; home all axes
    G29 ; mesh bed level
    G1 X5 Y10 Z0.2 F3000 ; get ready to prime
    G1 X160 E15 F600 ; prime nozzle
    G1 X180 F5000 ; quick wipe
    ; process PLA Ender 5
    ; layer 1, Z = 0.150
    T0
    G1 E-1.0000 F2400
    ; feature skirt
    ; tool H0.150 W0.720
    G1 Z0.150 F1002
    

    Prusa Slicer:

    M107
    M190 S60 ; set bed temperature and wait for it to be reached
    M104 S210 ; set temperature
    G28 ; home all axes
    G1 Z5 F5000 ; lift nozzle
    M109 S210 ; set temperature and wait for it to be reached
    G21 ; set units to millimeters
    G90 ; use absolute coordinates
    M82 ; use absolute distances for extrusion
    G92 E0
    ; Filament gcode
    G1 Z0.350 F10800.000
    


  • prusa slicer

    ; Filament gcode
    G1 Z0.350 F10800.000

    s3d
    ; feature skirt
    ; tool H0.150 W0.720
    G1 Z0.150 F1002

    your prusa settings
    ; first_layer_height = 0.35


Log in to reply