Equipment/VinylCutterOld

From London Hackspace Wiki
< Equipment
Revision as of 21:38, 5 July 2011 by Sde (talk | contribs) (Add a final PU; to the HPGL example)
Jump to navigation Jump to search
Roland (Large).jpg

Status

  • I have had a certain amount of success running the cutter with a serial connection from Inkscape under Linux. More messing around is needed.--Artag 13:32, 19 August 2010 (UTC)
  • I have gotten the cutter to reliably cut reasonably complex shapes (see image to the right). See http://github.com/muz/Ruby-PNC950. Looks like the serial port needed negotiating correctly.--Muz 20 August 2010.
  • I used the cutter on 5th July 2011. It had a problem where the carriage for the cutter was sticking in the "up" position for about 0.25s after the "pen down" command was sent to it — this was making it miss most of the first cut of each section. The problem was fixed by taking the cover off the carriage (single black cross-head screw) and applying WD-40 to the point where the carriage meets the adjustable end-stop screw at the left. (Try to push the carriage down gently by hand a few times and you'll soon see where the sticking point is.) The WD-40 and, presumably, whatever contaminant was making it stick was removed using kitchen paper. --21:36, 5 July 2011 (UTC)

Model

Specifications

  • It holds up to 610mm (24") media and cuts up to 584mm ( ~23").
  • Length is essentially unlimited as it can use roll-feed media but seems to be restricted to 25m.
Vinylcut.jpg

Instructions

Read the fucking manual. It's quite good.

Quick setup guide

  1. Set inkscape to HPGL output. File > Save As > HPGL format.
  2. Draw your figure.
  3. Connect the cutter via USB to Lovelace. This is done with a serial port converter from 25-pins -> 9-pins -> USB. There should be a converter on the same shelf as the cutter (be sure to check behind it), or you may find one attached to the old console in the quiet room.
  4. Load vinyl from behind, making sure that it is flush with the left edge and has some slack for being pulled to and fro.
  5. Turn on the cutter, the cutter head should fly to the right edge.
  6. Press Setup, cutter parks at left.
  7. Move cutter if necessary with cursor buttons, press Origin Set to mark lower right corner of drawing
  8. Run '~/serialshite.rb <HPGL filename>' from a Terminal.

It should be possible to enable the serial port as a printer and print direct to it, but I found this produced cutter errors (flashing power light) and no cut.

The following file was generated by inkskape for a star shape. This works.

IN;
SP1;
PU3999,6429;
PD2693,5186;
PD929,5557;
PD1707,3932;
PD809,2369;
PD2596,2606;
PD3805,1269;
PD4131,3042;
PD5776,3778;
PD4191,4636;
PD3999,6429;
PD3999,6429;
PU;

Creating Images for Cutting

Converting an existing SVG

For some reason, Inkscape doesn't like going straight from SVG to HPGL. This can be fixed by:

  • Open up the SVG file
  • File > Save As > select the DXF file format.
  • Open the DXF
  • File > Save As > HPGL

Creating your own image in Inkscape

Inkscape seems to play nicely if you just create a new image and lay down some paths or polygons of your own. You can save this data for the cutter by just going to File > Save As > HPGL

Avoiding overloading the cutter with TOO MUCH DATA

The cutter doesn't seem to happy when it recieves a large set of instructions in one fell swoop. As such, it is highly recommended that you format your HPGL files nicely.

  • vim yourhpglfile.hpgl
  • <Esc>
  • :% s/;/;<C-x><C-m>/g
  • <Return>
  • :wq

This will place each command on its own line, and in the case of more complex drawing patterns, avoid having the cutter throw a hissy fit and get confused.

Tips

  • Sometimes the cutter refuses to print or respond to any buttons. This hasn't happened since I opened a door in the bottom of the printer and poked an EPROM there, so may be due to some poor internal connection.
  • On the right side of the cutter is a switch for cut strength, which controls how much force is used by the blade. I don't know why you wouldn't want to keep this on maximum.
  • The cutter will cut thin paper OK, but there's a risk of tearing.
  • If your cut fucks up you can hit "pause", remove the vinyl, and then press "pause" again. AFAIK there's no harm in letting it run without any vinyl loaded.

Serial cable

The serial cable (blue, with a 25WD at one end and a 9WD at the other) is connected as follows :

Cutter, 25 pin male D PC, 9 pin female D Use
pin 2 pin 2 PC RXD from cutter
3 3 PC TXD to cutter
4 n/c cutter pin 5, RTS CTS loopback
5 n/c cutter pin 4, RTS CTS loopback
7 5 ground
20 8 cutter DTR to PC CTS, flowcontrol

This provides for hardware (rts/cts) handshake. Software flowcontrol may be OK but the cutter manual suggests overrun may occur.

Consumables

There is a pledge running for the purchase of more vinyl.