Inkscape plugin that converts SVG files to an EPS format that Roland's CutStudio software can read.
- Open Inkscape.
- Select the objects you want to export to CutStudio. If no objects are selected, everything in the file will be exported.
- Open the Extensions menu, then select Roland CutStudio -> Open in CutStudio. Selecting 'Open in CutStudio (mirror horizontal ◢|◣)' will horizontally mirror all objects.
For plotters that support it (e.g., Roland GX-24), you can use cropmarks to align cut lines to a custom printed page, e.g., for printing and cutting stickers.
Before using this option, CutStudio must be set up so that normal use works properly. (CutStudio remembers the previously selected plotter and does strange things if you selected a device that can not plot).
- Open Inkscape, create a new blank file.
- Open the Extensions menu, then select Roland CutStudio -> Insert Cropmarks.
- You now have an example file with DIN A4 pagesize and crop marks that should work on a Roland GX-24 (and hopefully many other plotters). Changing the page size and cropmark position is currently not possible.
- The following explanation uses separate layers for printing and drawing. You can also do it in a different way.
- Draw your print graphics on the layer "Print graphics". Remove the "Remove me" placeholder.
- Copy/draw your cut lines on the layer "Cut lines".
- Hide the layer "Cut Lines". Print the print graphics on your printer, including the black cropmark circles.
- Unhide the layer "Cut lines".
- Select all cut lines: Click on the layer "Cut lines" in the Layers dialog. Then use "Edit - Select all".
- Open the Extensions menu, then select -> Roland CutStudio -> Open in CutStudio.
Now CutStudio should display your file together with gray circles for the cropmarks. Note that you must have the correct plotter selected in the CutStudio "Cut settings".
Note that sometimes CutStudio remembers the cropmark setting even for the next file and even after closing CutStudio. You need to uncheck "Print and Cut" in the CutStudio menu if you later want to do normal plotting again.
Follow the steps above. Once the plugin has completed the export, you'll see a dialog box (example shown below) that indicates where the EPS file has been saved. This file can be imported into CutStudio with File -> Import.
- Obtain the files by either cloning this repository or downloading the repository zip file.
- Unzip if required and copy all files starting with
roland\_
to the appropriate Inkscape extensions folder:- For per-user installation: open Inkscape's preferences (Edit -> Preferences, or Inkscape -> Preferences on macOS). Under the System tab, look for 'User extensions' and then navigate to that location or click the 'Open' button.
- To install system-wide: open the same preferences tab. The correct folder is listed further down under 'Inkscape extensions'.
- Restart Inkscape.
- On Windows, CutStudio must be installed in the default path -
C:\Program Files\CutStudio
orC:\Program Files (x86)\CutStudio
. - CutStudio can be installed on Linux using WINE, but will probably not work for actually controlling Roland cutters.
Inkscape 1.2 replaced verbs with actions, changing the way this plugin works. If you're using a version of Inkscape earlier than 1.2 you can get older versions of this plugin from the releases page. Note that the installation instructions may be different, so please check the readme in the downloaded ZIP file.
- Clipping of paths doesn't work. This can be worked around by using boolean operations to produce the actual path you want to cut before running the plugin.
- If there are any objects with opacity less than 100%, Inkscape exports them as bitmaps and they will not appear in CutStudio. This also occurs if the alpha value of the stroke or fill color is less than 100%.
- Filters (e.g. blur) are also exported as bitmaps, so are not supported.
These issues won't be fixed as there's a workaround for the first issue and CutStudio has no way of handling bitmaps.
If you find other issues, please report them on GitHub.
I am sorry that the code is so horrible. If anyone feels the desire to burn everything and rewrite it from scratch, please feel free to do so. If you're making changes to the code, please make sure that python3 roland_cutstudio.py --selftest
works before you submit a pull request.
CutStudio has a very crude EPS parser that only works with files exported from certain versions of Corel Draw and Adobe Illustrator. Specifically, it only knows these commands:
- moveto:
1 2 m
- lineto:
1 2 l
- curveto:
1 2 3 4 5 6 c
It's not known if groups are possible (this plugin ungroups all objects before export), and closing paths has to be done by repeating the first point.