Skip to content

Instantly share code, notes, and snippets.

@koraysels
Last active May 8, 2023 00:17
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save koraysels/4dce704f08f76a6140d2ab3871a279b3 to your computer and use it in GitHub Desktop.
Save koraysels/4dce704f08f76a6140d2ab3871a279b3 to your computer and use it in GitHub Desktop.
Roland Plotter HPGL install guide for Mac

MacOS

MANUAL for DXY-1350 and DXY-1150 http://emoc.org/materiel/plotter_roland_DXY-1200/UMDXY1350a.pdf

make sure you have xcode command line tools installed. xcode-select --install

Install pstoedit

Via Brew: brew install pstoedit

Download HPGL-Distiller

Install / Make:

  • tar zxvf hpgl-distiller-0.9.1.tar.gz
  • cd hpgl-distiller-0.9.1; make
  • make install

Install chiplotle

First install pip sudo easy_install pip==20.3.4 (only speicfy version if you are using python 2.7)

Via PIP: pip install Chiplotle

Process

For artwork, I ill often create something in Inkscape, Illustrator or 3D, export it as an .EPS file.

From here, you'll want to convert the EPS to HPGL:

pstoedit -f plot-hpgl src/input.eps dist/output.hpgl

Then you want to remove all the excess crap in the HPGL and optimise the pen route:

hpgl-distiller -i dist/output.hpgl -o dist/output-distilled.hpgl

Now use the optimised in Chiplotle:

$ chiplotle

>>> plotter.write_file('dist/output-distilled.hpgl')

The plotter will start drawing straight away.

select pen : SP1; set speed: VS40;

chiplotle handy commands:

  • plotter.margins.hard.draw_outline() draw outlines of drawable area:
  • plotter.select_pen(0) put pen back

Note: Worth adding a pick up pen command to the top of your HPGL incase there isn't one from your EPS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment