G2 or G3 command line help  

  RSS
glen.w7
(@glen-w7)
Active Member

I have been attempting to make a script file to use the G2/ G3 Gcode to print arc segments, circles etc. Here is a sample command series to print a  pair of circles. It does make a circular movement but there is no extrusion accompanied with the command. I am using the header file that is produced by PrusaSlic3r so I do get the nozzle purge  and z height move to in this case z0.200.

G1 X150.000 y105.000
G2 X149.9992 Y104.775 I-30 j0 E0.93484
G1 X145.000 y105.000
G2 X144.999 Y104.775 I-25 j0 E0.77885

Any ideas why no filament is being extruded?

 

Posted : 02/12/2019 8:24 am
Lichtjaeger
(@lichtjaeger)
Prominent Member

Did you compensate for the retraction?

Posted : 02/12/2019 8:39 am
glen.w7
(@glen-w7)
Active Member

@lichtjaeger

G1 E0.80000 F2100.00000

that was before my G1 G2 too compensate yes

Posted : 02/12/2019 8:59 am
glen.w7
(@glen-w7)
Active Member

@lichtjaeger

G1 X10.000 Y10.000
G1 Z0.200
G1 E0.80000 F2100.00000
M204 S1000
G1 F1200
G1 X160 E0.74481
G1 X150.000 Y105.000
G2 X149.999 Y104.775 I-30.000 J0.000 E0.93484
G1 X145.000 Y105.000
G2 X144.999 Y104.775 I-25.000 J0.000 E0.77885
G4 P60000

Just in case capitalization mattered. I can print a line segment no problem now I get no circular movement and no extrusion for the circle commands. There must be a syntax problem but I cant see it I'm going to bed Ill try again tomorrow hopefully someone will steer me in the right direction.

Posted : 02/12/2019 9:24 am
Lichtjaeger
(@lichtjaeger)
Prominent Member

Maybe you use absolute mode for the extruder. Try to reset the extruder position between actions with `G92 E0.0`.

Posted : 02/12/2019 11:20 am
Share:

Please Login or Register