Export to SVG menu command by Paolo Marcuccetti ©2020-2024
Export to SVG from Vectorworks®
With this menu command you'll be able to export elements of your Vectorworks® drawing to a SVG file.
}
With this menu command you'll be able to export objects on a Vectorworks® layer (such as polylines, polygons, rects, arcs etc.) to a SVG file suitable for CNC machines.
This menu command is just a shortcut for who needs perfectly shaped curves out of Vectorworks® to feed modern CNC machines that uses SVG as preferred vectorial curves representation.
Important:
The conversion produced with this command is accurate for all geometric shapes (beziers, splines, arcs) and the SVG produced aims to communicate the cutting info for cutting / engraving digital machines.
To get a graphically accurate SVG conversion from a Vectorworks® document, it is preferred to pass from PDF export, then PDF to SVG conversion (with programs such Inkscape or Adobe® Illustrator).
Not all objects of your drawing can be exported in the SVG file.
Currently the types exported are:
(*) Texts: Texts are exported as polylines, a conversion to true type is done behind the scenes.
The plugin CANNOT
(**) Note: You can convert, of course, these types, into lines, polygons etc. so that you can get representations of these same objects into eligible objects.
The plugin is new, other types will be implemented (whenever this is feasible) and included in next releases.
Currently only certain attributes are exported:
The settings dialog appears:
The program will export all eligible objects present on the active layer according with the above settings.
As a first step, the program checks if there are objects not eligible for the export (see the prerequisites list above).
If some object cannot be exported, you'll be proposed to continue with the exportable objects or to cancel the operation and, in case, make some modify to get objects exportable.
For example, if you have a 3D view in your selection, currently it cannot be exported "as is", so you could copy / convert it into lines (line is in eligible types).
When the check is passed (or you have chosen OK), you'll be asked to save a file. Type a file name, select a folder where to save, then click OK.
The program will produce the correct SVG code to replicate your currently active layer objects.
Note: Objects are exported relatively to the active layer scale, so, if you need them for CNC purposes, better set the layer scale to 1:1 before exporting.
Default units: With the latest version [2.6] a new popup [Default Units] was added to the settings dialog.
The default SVG unit for the produced document can now be set to px (96 units x inch) or points (pt = 72 units per inch).
As per SVG specifications:
…user units (i.e., no unit identifier has been provided): the value is assumed to be equivalent to the same number of "px" units…
In previous version the pt units were the default (adopted by Adobe Illustrator®), now it is possible to choose px unit (used by Shaper Studio®).
The "Export to SVG" plugin allows you to export SVG files that you can cut directly with Origin. In the PlugIn folder you will also find the VWX template file "template for Origin" suitable for the version of Vectorworks® indicated in the package name:
If you want to work with it, you can save under "File" > "Save as Template", and you will always have a clean template file.
To apply the filling colours to your design, we recommend to use the pipette tool:
But you can also work without a template. The precondition is that the contours you want to export are on the same layer with a scale of 1:1. Otherwise, the dimensions will be scaled accordingly.
New! Depth feature
Coming with the new 2.4 version of the plugin (available only for Vectorworks® 2022 and over) a cutting depth value can be set directly in Vectorworks.
The trick is to use "special classes", containing the depth value directly inside their name.
While fill and stroke attributes keeps their old meanings (interior cut, exterior cut, in line cut, pocketing cut and guide), you can add to object an appropriate class to have that cut type of that depth.
Classes names must follow a simple syntax, for example:
shaper-depth-7mm
means that an object of that class (path, circle, square etc.) will be set to have a cut depth of 7mm when imported into Shaper ORIGIN.
Of course the shaper-depth-
part is mandatory while the depth value (with unit) is up to you.
The new version's template comes with some classes preset, so that you can pick them with the eyedropper tool and apply with the bucket to your drawing elements as you need. You can modify the template with your usual depth classes and resave it as template for future uses.
Unpacking the downloaded zip file, you'll find a couple of element:
The template for Origin® is an (unofficial) Vectorworks® version of the template to refer to when exporting for Shaper Origin® tools.
Here the official instructions (from help.vectorworks.net) for editing the workspaces
And here instructions to add a menu command
I'm moving my plugins to PayHip, as Gumroad no longer offers PayPal as a payment option.
The plugins currently available on Gumroad will still be available for purchase with a credit card on my Gumroad® shop page.