2D drawing with RepRap

Testing a pen on the RepRap

I'm sharing my solution for generating GCode to draw 2D on my 3D printer. I had been looking for a method to use my RepRap to draw on paper, much like a plotter, but was not having much success looking for a good method of turning .dxf files from LibreCAD or similar CAD software into .gcode that the printer would understand. I was able to generate some flavor of GCode using PyCAM, but it wasn't the particular flavor that the Marlin firmware on the RepRap could interpret.

My PyCAM ngc to Marlin gcode converter

I've posted my rather basic converter to github and welcome any suggestions or improvements. With it, I can go from PyCAM's ngc to Marlin's gcode with the simple drawings I've tested it on so far.

Attaching the pen

The pen is attached to my x-carriage using nophead's dial-indicator mount available as Thingiverse Thing 23907. The scad file allows you to adjust the size to fit your printer and pen.

Add new comment

Filtered HTML

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
fill in this field