Request a Personalized Demo

Learn how to accurately convert your designs with Scan2CAD

  • This field is for validation purposes and should be left unchanged.
  • Join thousands of happy customers worldwide

Templates

 

See Also: Select the area(s) to vectorize

 

Templates are user-defined areas that determine which areas of a raster image will be vectorized.

 

About templates

Drawing templates

Viewing, editing and deleting templates

Saving templates

Loading templates

 

About templates

Templates are a special type of polygon vector that can be viewed, edited and deleted using normal vector viewing, editing and deletion tools.

Note that templates are not affected by the vector area erase tools. This is so that you can use area erase to erase the vectors inside templates without erasing the templates themselves.

Templates are displayed as dashed lines.
Templates can be polygonal or rectangular.

 

Raster image

… with polygonal and rectangular template

 

You can define as many templates as you like and these can be a mixture of polygonal and rectangular.
You can vectorize the area inside the templates or the area outside them.

 

Vector image after vectorizing …

… inside templates

… outside templates

 

You can vectorize the area inside the templates and then the area outside them.

For example, you could vectorize the area inside the templates using Run Menu > OCR () and vectorize the area outside the templates using Run Menu > Vectorization (). Or you could vectorize the areas inside and outside the templates using different vectorization settings.

Templates can be saved for future re-use.

 

Drawing templates

1. Click or select Run Menu > Template Draw.
2. Optional: Select the template shape.
To draw a polygonal template select Run Menu > Template Shape > Polygon.
To draw a rectangular template select Run Menu > Template Shape > Rectangle.

If you do not select a shape Scan2CAD will draw the currently selected shape. By default this is polygonal.

3. Draw the template.

 

If you are drawing a polygonal template:
a) Click at the first point of the polygon.
b) Click at the next point of the polygon. A dash line joins the two points.
To undo it, right click and select Undo Last Segment.
To cancel the polygon completely, right click and select Quit.
c) Repeat Step (b) until you have drawn all the points in the polygon:

d) Right click and select Close Template.

Scan2CAD automatically closes the polygon.

 

If you are drawing a rectangular template position the cursor at one of the rectangle’s corners. Press down your left mouse button. Holding down your left mouse button, move your mouse. As you move your mouse you will see the rectangle being drawn. When you are satisfied with the rectangle, raise your left mouse button.

 

4. Repeat Steps 2 and 3 until you have drawn all the templates you need.
5. Optional: Select whether you want to vectorize the area inside or outside the template(s).
To vectorize the area inside the template(s) select Run Menu > Template State > Inclusive.
To vectorize the area outside the template(s) select Run Menu > Template State > Exclusive.

If you do not select an area Scan2CAD will vectorize the currently selected area. By default this is the area inside the template(s).

 

Click to undo.

 

If you draw templates that overlap, Scan2CAD will vectorize inside / outside the area bounded by all the templates as indicated by the solid line in the right hand diagram below.

 

Overlapping templates Area that will be vectorized

 

Viewing, editing and deleting templates

Templates are a special type of polygon vector that can be viewed, edited and deleted using the normal vector viewing, editing and deletion tools.

 

To change the shape of a template move its vertices using Move Grab Point.
To delete a template, see Erase a vector by clicking on it.

Note that templates are not affected by the vector area erase tools. This is so that you can use area erase to erase the vectors inside templates without erasing the templates themselves.

 

Saving templates

When you save vectors as DXF, HPGL, WMF,  EMF or CNC the templates are not saved. To save templates for future use:

 

1. Select File Menu > Vector > Save As.

Scan2CAD asks whether you want to scale the vectors before saving.

Click No.

2. The Save As Vector File dialog appears.
3. Select TXF in the Save as Type section of the dialog.
4. Type a name for the TXF file into the File Name section of the dialog.
5. Click Save.

 

Loading templates

To load a previously saved template file:

 

1. Click or select File Menu > Vector > Load.
2. Select TXF in the Files of Type section of the dialog.
3. Select the TXF file you want to load from the dialog.
4. Click Open.

The TXF file is displayed on the screen and its name appears in Scan2CAD’s Title Bar.

 

Click or press the B key to view both the raster image and the template(s).

 

Have questions on this topic? Talk to us