Welcome! Log In Create A New Profile

Advanced

generating gcode for pronterfance/marlin

Posted by jf pion 
generating gcode for pronterfance/marlin
June 19, 2012 11:27AM
I tried to generate gcode for my mendel/ramps/marlin/pronterface.

it didn't went well (obviously ;-))

the extruder start to spin maddly with a big blob followed by a big retract with the melted filament up to the extruder, cooling inside the extruder ....stuck ... not a big deal but what happened ?

I opened the gcode file and i found big difference between the gcode from slicer (working correctly) and the one from SF of th same stl :

Slicer:
G1 Z0.200
G1 F1800.000 E3.00000
G1 X71.846 Y92.998 F1200.000 E3.01442
G1 X72.415 Y92.354 E3.02880
G1 X73.033 Y91.756 E3.04319
G1 X73.697 Y91.207 E3.05761
G1 X74.400 Y90.711 E3.07200
G1 X75.140 Y90.272 E3.08639
G1 X75.912 Y89.892 E3.10079
G1 X76.710 Y89.573 E3.11518
G1 X77.533 Y89.316 E3.12961
G1 X78.370 Y89.123 E3.14398
G1 X79.221 Y88.997 E3.15837
G1 X80.080 Y88.937 E3.17278
G1 X80.940 Y88.944 E3.18717
G1 X81.796 Y89.018 E3.20154
G1 X82.646 Y89.160 E3.21597
G1 X83.481 Y89.366 E3.23034
G1 X84.299 Y89.636 E3.24476
G1 X85.092 Y89.969 E3.25916
G1 X85.857 Y90.363 E3.27356
G1 X86.589 Y90.814 E3.28794
G1 X87.283 Y91.321 E3.30233
G1 X87.937 Y91.882 E3.31674
G1 X88.546 Y92.491 E3.33115
G1 X89.104 Y93.144 E3.34551
G1 X89.610 Y93.840 E3.35992
G1 X90.061 Y94.572 E3.37431
G1 X90.453 Y95.339 E3.38872
G1 X90.786 Y96.133 E3.40313
G1 X91.055 Y96.949 E3.41751
G1 X91.259 Y97.788 E3.43195
G1 X91.537 Y99.442 E3.46002
G1 X91.757 Y100.238 E3.47383
G1 X92.053 Y101.005 E3.48759
G1 X92.419 Y101.737 E3.50129
G1 X92.859 Y102.435 E3.51508
G1 X93.362 Y103.083 E3.52881
G1 X93.926 Y103.681 E3.54257
G1 X94.548 Y104.221 E3.55635
G1 X95.216 Y104.697 E3.57008
G1 X95.928 Y105.107 E3.58382
G1 X96.679 Y105.445 E3.59761
G1 X97.456 Y105.707 E3.61132



SF:
G1 X73.802 Y89.816 Z0.2 F960.0 E3.7155
G1 X75.46 Y88.916 Z0.2 F960.0 E4.9023
G1 X77.236 Y88.283 Z0.2 F960.0 E6.0889
G1 X79.089 Y87.931 Z0.2 F960.0 E7.2752
G1 X80.975 Y87.871 Z0.2 F960.0 E8.462
G1 X82.847 Y88.106 Z0.2 F960.0 E9.6492
G1 X84.66 Y88.627 Z0.2 F960.0 E10.8358
G1 X86.37 Y89.422 Z0.2 F960.0 E12.022
G1 X87.936 Y90.473 Z0.2 F960.0 E13.2088
G1 X89.322 Y91.753 Z0.2 F960.0 E14.396
G1 X90.49 Y93.232 Z0.2 F960.0 E15.5817
G1 X91.417 Y94.876 Z0.2 F960.0 E16.769
G1 X92.078 Y96.641 Z0.2 F960.0 E17.9549
G1 X92.585 Y99.222 Z0.2 F960.0 E19.6095
G1 X93.031 Y100.571 Z0.2 F960.0 E20.5031
G1 X93.733 Y101.818 Z0.2 F960.0 E21.4038
G1 X94.665 Y102.906 Z0.2 F960.0 E22.3048
G1 X95.792 Y103.793 Z0.2 F960.0 E23.2074
G1 X97.067 Y104.445 Z0.2 F960.0 E24.1081
G1 X98.444 Y104.838 Z0.2 F960.0 E25.0093
G1 X116.052 Y106.327 Z0.2 F960.0 E36.126
G1 X116.052 Y112.136 Z0.2 F960.0 E39.7805
G1 X79.463 Y112.101 Z0.2 F960.0 E62.7996


why is there so great difference in the extruder number ?

SF is configured filament 3mm packing density 0.85 layer thickness 0.4 PWOT 1.8
marlin is correctly configured when i ask for 10 mm it extrude 10 mm

can't figure where the pb

thank you for the help
Re: generating gcode for pronterfance/marlin
June 19, 2012 11:39AM
Looks like SF is configured for absolute E and Slic3r relative E.


[www.hydraraptor.blogspot.com]
Re: generating gcode for pronterfance/marlin
June 19, 2012 11:42AM
look like your right ! thank you

lot of confusing thing in SF

thanks again
Re: generating gcode for pronterfance/marlin
June 19, 2012 06:43PM
nophead Wrote:
-------------------------------------------------------
> Looks like SF is configured for absolute E and
> Slic3r relative E.


but in fact no, it is absolute E in slicer and marlin (with frequent G90 0 to reset the extrusion counter):

M190 S110 ; set bed temperature
M104 S240 ; set temperature
G28 X0 Y0 Z0 ; home all axes
G92 E0 ; reset extruder to 0
M109 S240 ; wait for temperature to be reached
G90 ; use absolute coordinates
G21 ; set units to millimeters
G92 E0 ; reset extrusion distance
M82 ; use absolute distances for extrusion

I still don't understand the result with SF there is too much extrusion , a lot !

look like i will go back to slicer 7.2 and wait for the correction of the 8.3 bug
Re: generating gcode for pronterfance/marlin
June 19, 2012 08:54PM
What's your flow rate set to?
Post 4.x it should be basically the same as the federate.
Earlier version it was much larger.
Re: generating gcode for pronterfance/marlin
June 20, 2012 01:23AM
SF 43 ( i use the compiled version from [koti.kapsi.fi] because i can't get python working on my windows7 don't know why !)

flow rate :210

feed rate:16

look like there is pb here I will try with simpler parts to see the change

is there some where a manual with the explanation of all the term used in skeinforge ?

feed rate, flow rate look like it is old conceptions from the time with no stepper for the extruder now you can control exactly the amount of filament pushed thru the hotend and with the layer height and perimeter width over thikness and the travel you can know exactly the volume of plastic you need and for each millimeters of filament give you xx milimeter of print.

thank you
Re: generating gcode for pronterfance/marlin
June 20, 2012 02:09AM
that was the pb set the 2 to 30 look like it's work

need to tune a bit with the calibration now

the firmware is ok (work with slicer) look like a bit too much of plastic but it will work

thank you again
Re: generating gcode for pronterfance/marlin
June 20, 2012 02:10AM
Try setting your flow rate to be the same as the feedrate.
Sorry, only registered users may post in this forum.

Click here to login