strange isseu with created Gcode in marlin

Discussions about ideaMaker and other printing software.
xpsion
Posts: 5
Joined: Wed Oct 20, 2021 11:30 am

strange isseu with created Gcode in marlin

Postby xpsion » Mon Jan 10, 2022 8:45 pm

Dear,

This is some very nice piece of software: it gives very good sequential printing setup support!

I have a question about the Gcode generated for Marlin firmware

My settings are for Mendel type Prusa, and absolute extruder mode...
For sake of ease I did not add any custom Gcode and ommit Raise start/end code etc..

Now look at below part of start region :

In the first red highlighted line: extruder retracts 1.1 mm (is setting)
But in the second highlight line: extruder goes to +1.1 instead of zero position .....
After that the print instruction start.... this goes wrong no ?

There is no zero position setting of extruder with G92, and a G1 E1.1 after a G1 E-1.1 will move extruder 2.2 mm so it starts with 1.1 mm extrusion right away as it is absolute mode....

The second high light should this not be : G1 F1500 E0.0000




what is wrong with my setting, is there some kind of initial setting I overlook ???


Thanks for a reply on this matter


....
....
...
M221 T0 S100.00
M140 S75.00
M190 S75.00
M104 T0 S240.00
M109 T0 S240.00
T0
;
;TOTAL_NUM: 1
;PRINTING_TIME: 0
;REMAINING_TIME: 1042
;LAYER:0
;Z:0.050
;HEIGHT:0.050
M106 S0
M140 S75
M104 T0 S240
;PRINTING: body798
;PRINTING_ID: 0
G1 F1500 E-1.1000
G0 F4800 X103.551 Y112.046
G0 F960 Z0.050
;TYPE:WALL-INNER
;WIDTH:0.100
G1 F1500 E1.1000
G1 F3780 X103.552 Y111.056 E1.1022
G1 X103.610 Y111.038 E1.1023
G1 X103.644 Y111.089 E1.1025
...
...
.
.
.

User avatar
Ryan@Raise3D
Posts: 432
Joined: Thu Oct 28, 2021 10:43 pm

Re: strange isseu with created Gcode in marlin

Postby Ryan@Raise3D » Mon Jan 10, 2022 11:35 pm

Thank you for the update. It is standard that the retracted material matches the restart material to ensure the material is primed at the nozzle, and can you let me know if you have encountered any issues with the gcode when run with your printer? If you do can you share the full gcode file?

xpsion
Posts: 5
Joined: Wed Oct 20, 2021 11:30 am

Re: strange isseu with created Gcode in marlin

Postby xpsion » Tue Jan 11, 2022 9:37 am

Hi Ryan,

I was able to perform a print, but at start of the part there is an overshoot in the first layer, where the extruder has pushed away the surplus of material layed down at layer 0 (See pic, don't look at part surface, it's no good but thats just due to some print settings). I enclose the Gcode that i run for this print.
Idea Makers slicing code starts at line 37.

My startup code ( line 20 to line 36) does a homing and UBL bed level activation after which I extrude a small amount of material and prime/wipe the nozzle along the x-axis. In my code i reset the extruder position with G92 to a E0 value.
(my startup code actually has also a :M190 R{temperature_bed_list} at start but this is not put into the Gcode file ?)


As you can see , Idea Maker starts at line 37 with a retract of 1.1 mm as set in de retraction settings.
However, the next E move is +1.1 so actually it is 1.1 mm too much because the mode is absolute and not relative.

If this is priming the nozzle: it happens right at the start of part printing position so, there is an excess of 1.1mm filament at layer 1 as I don't set a skirt or brim...

If I did not add my start up code, there is also no reference point set for the extruder (a G92 E0 command) at start op the part process.
So how does the extruder know what the starting point is ? when it does an absolute move of -1.1 ?

As far as I can see, the code should have a zero setting of extruder (G92 E0) and after the G1 E-1.1 there has to be a G1 E0.0 and then again a G92 E0, then the part printing should start with E0.0019 etc ....

Maybe I have done something wrong in the global printer/filament setup options, where such command should be added.
I activated the option "Reset Gcode E length on Layer Change" , i can see it is done before layer 1 but it is not added at layer 0.
Attachments
test print.jpg
micro lever ideamaker.gcode
(1.01 MiB) Downloaded 21 times

User avatar
Ryan@Raise3D
Posts: 432
Joined: Thu Oct 28, 2021 10:43 pm

Re: strange isseu with created Gcode in marlin

Postby Ryan@Raise3D » Tue Jan 18, 2022 12:34 am

After reviewing the code generated by ideamaker, when compared to our templates, I do not see any references to retracting and reprinting after including G92 that is included in our start Gcode, so it does appear that all of these issues are related to the start gcode

Unfortunately, the Gcode does not include the template so Can you please provide it for review?


Return to “Software”

Who is online

Users browsing this forum: No registered users and 2 guests