Notifications
Clear all

Help with Plotter Setup  

  RSS
rubenhak
(@rubenhak)
Eminent Member
Help with Plotter Setup

Hi All,

I've got a 3d printed box, 10x10x3 cm, want the printer to write on the top surface with a PLA marker. 
Came across this awesome project: https://www.thingiverse.com/thing:3573724
Got the extruder attachment printed. Hardware looks solid.
Now trying to get the printer to behave as a plotter. I duplicated the printer profile, played around with Start G-Code and got some things working but it is far from idea.

I would like to achieve the following scenario:

  1. Print starts
  2. Extruder goes to the XY bed center, Z ~ 1cm
  3. Waits until I press the resume button
  4. I would attach the marker so that it touches the print surface
  5. I press the button
  6. Extruder goes up to Z  + 3cm
  7. Waits
  8. I secure the box on the print bed. The lower left corner of the box should be right under the marker.
  9. I press the button
  10. The print starts.

I would really appreciate some help on this. 

Thank you,
Ruben

 

Posted : 05/04/2023 5:39 am
rubenhak
(@rubenhak)
Eminent Member
Topic starter answered:
RE: Help with Plotter Setup

I have tried the following so far. It printed well on paper (z=0), but in the end, one of the axes went crazy beyond the bounds.

M862.3 P "[printer_model]" ; printer model check
M862.1 P[nozzle_diameter] ; nozzle diameter check
M115 U3.12.2 ; tell printer latest fw version
G90 ; use absolute coordinates
M83 ; extruder relative mode
G28 W ; home all without mesh bed level
M104 S0; set extruder temp
M140 S0; set bed temp

G1 F600 Z+13.5 ; Raise the print nozzle out of the way
G1 X100 Y100 F1000.0 ;position the pen so that it touches the bed
M0 Waiting for click!
G4 P1000 ; pause 1s
M300 S1567 P240 ; Play a Beep
; G1 Z13.2 ; goes down 0.3mm pen can write now
G92 Z0.2 ; Set absolute positioning for remaining print
G92 E0.0
G92 X0.0 Y0.0
G1 Z5 ; pen up before moving

; Don't change E values below. Excessive value can damage the printer.
{if print_settings_id=~/.*(DETAIL @MK3|QUALITY @MK3).*/}M907 E430 ; set extruder motor current{endif}
{if print_settings_id=~/.*(SPEED @MK3|DRAFT @MK3).*/}M907 E538 ; set extruder motor current{endif}
Posted : 05/04/2023 6:23 pm
Share: