Equipment/OldVinylCutter: Difference between revisions

From London Hackspace Wiki

no edit summary
m (wiki markup fix)
No edit summary
Line 36: Line 36:
* Setup [http://www.inkscapeforum.com/viewtopic.php?f=31&t=4987 info]
* Setup [http://www.inkscapeforum.com/viewtopic.php?f=31&t=4987 info]


After some time not working on it the vinyl cutter/plotter is now working perfectly in linux.


There are no more signal drops that were happening in windows.
== Software ==
 
The Windows and Linux drivers are on the Whittenstein usb card that is attached to the machine.


The drivers are on the Whittenstein usb card that is attatched to the machine. DO NOT HACK THE CARD.
We've currently been unable to get the FTDI Virtual Com Port drivers working with the cutter under OSX Mavericks. If you have success with OSX, please update this page.


Instructions:
'''Linux Instructions:'''


download inkscape, move items in the driver folder from USB card into:
Download [https://inkscape.org/en/download/ Inkscape], move items in the driver folder from USB card into:
/home/.config/inkscape/extensions
/home/.config/inkscape/extensions


Run inkscape and should be there under extensions, cutter/plotter.
Run inkscape and should be there under extensions, cutter/plotter.


One thing you have to do though is chmod the USB port:


    <code>sudo chmod 0777 /dev/ttyUSB*</code>
== Usage ==
 
The vinyl cutter will happily take HPGL piped over serial, eg in Linux:
<code>cat filename.hpgl > /dev/ttyUSB0</code>


Where * is the USB port number
Make sure you have write permissions for the ttyUSB0 device, a quick temporary hack for this is: <code>sudo chmod 0777 /dev/ttyUSB0</code>


There is more on the linked website and the readme folder on the USB.
'''Note: If you have multiple USB serial devices, the cutter may not be ttyUSB0'''


Message hipster or find him for help or any issues that arise.


Regards,
What you use to make the HPGL is up to personal preference. Inkscape can export as HPGL, and has plugins for both Linux/OSX (InkCut) and Windows (Inkscape CAMM-GL) to help fine tune cuts.
Hipster


== Software ==
The vinyl cutter will happily take HPGL piped over serial, what you use to make the HPGL is up to personal preference.


If you choose to cat an HPGL file directly to the USB serial device, consider adding a carriage return after each semicolon so that you don't buffer overflow the cutter.
'''Note: Inkscape 4.9+ generates large HPGL with all the coordinates as a single line.  This buffer overflows the black vinyl cutter causing it to crash.'''
'''Smaller designs may be fine, otherwise manually add a carriage return after each instruction by using a text editor.'''


'''Protip in vi:'''
'''Protip in vi:'''
<code>
<code>:s/;/;\r/g</code>
:s/;/;\r/g
</code>


Inkscape can export as HPGL, and has plugins for both Linux/OSX (InkCut) and Windows (Inkscape CAMM-GL) to help fine tune cuts.


'''Inkscape 4.9 or greater generates HPGL which causes the black vinyl cutter to crash. Make sure you use an earlier version and that the PU and PD commands inside the HPGL file only contain one set of coordinates each.'''


== T-Shirts ==
== T-Shirts ==
332

edits