Go to the home page

Prepare the SVG file for CNC cutting

The sample

The sample SVG file with common operations

SVG sample

Common rules

The all shapes you want to cut should be path elements and have a special description which says converter count it as the shape for CNC cutting. You can keep any other shapes you want in the SVG file without description and they will be ignored.

For example, you may want to keep all steps of creating your model. Just place it aside the final drawing to use them when you need.

The shapes should be positioned without transforms. Some SVG editors like Inkscape love transforms but converter doesn't understand them. So apply all transforms to convert it correctly.

Break complex shapes into some simple. Especially when a shape is inside other one. The converter tries to be smart and know what shape is inside an other, but it may be wrong on too complex shapes. And the demo version is less smart as it is an older version. The calculation time for one SVG file is limited in the demo version, so too complex shapes may fail it.

We recommend to name the SVG file like name.l.svg (that means Layered SVG), to differ it from usual SVG file.

Shape descriptions

Description of the shape you want to cut may be one of:

*blank - scaling the other shapes

*cut - cutting the shape by outline

*fill - milling the shape as cavity, both zigzag and inner outline

*zigzag - milling the shape as cavity, zigzag only

*outline - milling the inner outline of the shape

Blank - scaling shapes

The path that defines scaling of other shapes. Usually a rectangle converted to path.

blank w=100

This means that all shapes will be scaled relatively to blank shape and the X, Y zero will be at bottom left of this shape. The parameters:

*w, h - width, height of blank

In most cases you need only one of them and both if you want to flatten the result.

Cut - cutting by outline

Cutting the shape. Cutting with default Z step:

cut z=0...-10 part-name

Custom Z step:

cut z=0...-10 dz=2 part-name

Gradient Z step:

cut z=0...-10 dz=2...3...1 part-name

Single outline

cut z=0...-10 dz=2...3...1 outline=single part-name

The parameters:

*z - cuttind depth, from...to

*dz - cutting Z step

*outline - may be single or double, by default it's double to make cutting easier

*part-name - keyword of current part to make it more clear what part is processing

Fill - milling a cavity

Milling the shape as a cavity. Milling with default Z step:

fill z=0...-10 part-name

Custom Z step:

fill z=0...-10 dz=2 part-name

Gradient Z step:

fill z=0...-10 dz=2...3...1 part-name

The parameters:

*z - milling depth, from...to

*dz - milling Z step

*part-name - keyword of current part to make it more clear what part is processing

Zigzag - milling a cavity, zigzag only

All like in Fill but without inner outline.

zigzag z=0...-10 dz=2...3...1 part-name
Oultine - milling the shape inner outline

All like in Fill but without zigzag.

outline z=0...-10 dz=2...3...1 part-name
Troubleshooting

Layer is not cutting - make sure the description belongs to path, not group. Make sure the shape you want to cut is a path.

The part has wrong position or size - make sure the path has no transform, transforms are not supported.

All parts are the same size and it's wrong - make sure the blank shape is created and it is a path.

Demo version limitations

*The main limitation is using an older version of converter. This means less optimizations and more unfixed issues.

*Curve interpolation accuracy is less than in commercial version.

*The tool size, Z step, and some other options may have limits.

*Calculation time is limited so break complex models into some simple.

*No any warrany.

Go to the home page