nfol
Posts: 36
Joined: Thu Mar 28, 2019 12:30 pm

Script line help?

In Script, I have this:

G1 X90 Y-74 E24 F2000 ; Extrude a line of filament across the front edge of the bed

I would like to move this line of filament to the left edge of the bed.
What should the linhe look like?

Best regards,

Niels
(Flashprint Dreamer)
gearsawe
Posts: 233
Joined: Sun Sep 10, 2017 11:06 pm

Re: Script line help?

please post the gcode line above this line.
each line tells the printer where to go to. so don't know the direction without a start point.
S3D-Jason
Posts: 1383
Joined: Sun May 31, 2015 6:01 am

Re: Script line help?

The G1 command just says the NEXT coordinate to move to. You need to post the line before that command as well so that we can see the PAST coordinate that it is moving from.
nfol
Posts: 36
Joined: Thu Mar 28, 2019 12:30 pm

Re: Script line help?

I see. Thank you for your reply.

To be sure, here are all lines before the actual line:


M146 r255 g255 b255 ; Set lights to white while preheating
M907 X100 Y100 Z40 A100 B100 ; Set motor current
M132 X Y Z A B ; Recall home offsets
M612 X34.5 Y0.0 ; Set toolhead offsets
M108 T0 ; Change to right extruder
G28 ; Home axes
G1 Z100 F3300 ; Lower Z
G1 X-110.5 Y-74 F6000 ; Move to wait position
M7 ; Wait for bed to stabilize
M6 T0 ; Wait for right extruder to reach target temp
G1 X-100 Y-74 F9000 ; Move to front left corner of bed
G1 Z0.3 F6000 ; Move down to purge
G92 E0 ; Zero extruders
G1 X90 Y-74 E24 F2000 ; Extrude a line of filament across the front edge of the bed
S3D-Jason
Posts: 1383
Joined: Sun May 31, 2015 6:01 am

Re: Script line help?

Try changing then last line to this:

G1 X-100 Y74 E20 F2000 ; extrude line along the left edge
nfol
Posts: 36
Joined: Thu Mar 28, 2019 12:30 pm

Re: Script line help?

Hi SD3-Jason

> Try changing then last line to this:
> G1 X-100 Y74 E20 F2000 ; extrude line along the left edge

Thank you!

It works partially. It extrudes a line along the left edge as wanted (too long for that edge, though).

But afterwards it extrudes a very thin line very, very slowly diagonally to the right front corner (where I stopped it).
Maybe I should have sent the lines after the actual line:

G1 X-100 Y74 E20 F2000 ; extrude line along the left edge
G1 X100 Y-74 F180 ; Wait for ooze
G1 X110 Y-74 F5000 ; Fast wipe
G1 Z1 F100 ; Lift
G92 E0 ; Zero extruders again
M146 r255 g255 b255 ; Turn lights on for print
G1 Z0.5 F3300 ; Position nozzle

Return to “Troubleshooting and Bug Reports”