Lesson 7-1. Tracing lines, arcs, circles and hatches
Brief
description: During
this lesson you will learn tracing modes and commands, how to apply tracing
for editing raster images, etc.
For detailed information on these subject see chapters Tuning tracing, Tracing Modes and Commands, How
to trace in the Tracing section of the Quick Start guide.
Choose Open
from the File menu. Open the Trace.cws file from the
Lesson_7
folder.
Let’s study tracing raster lines, circles and hatches
using Image_1 in Trace.cws project.
Before tracing you need to tune the tracing parameters.
Choose Conversion
Options from the Convert menu.
In Options tab:
|
Define Max.Width
- using the Measure buttons measure the width of the widest trace line.
Set this parameter value slightly greater than the measured width.
|
 |
 |
| (e.g. if the measurement result is equal to 1.35 - set 1.5 in the
Max.Width field). |
|
Set the Accuracy
slider to Low.
Set orthogonalization mode for vector lines - select the Orthogonalization checkbox,
and in the Base Angle field specify 0°.
|
In Separate tab:
Set separation of vector objects by color and width - for example,
thin raster lines are to be traced with red vector lines with a width
of 0.5mm, and thick raster lines - with blue vector lines with a width
of 1mm.
INFORMATION:
To implement such separation you need to know raster lines widths - you
can measure them using the above mentioned method. In this example, the
width of thin lines is equal to 0.25mm, thick lines - 1.35mm.
|

In the End field of Separate
tab you see a value of 1.5- i.e. the maximum width of raster lines,
specified by you in the Max.Width field of the Options
field.
Separate this interval into two, for example, from 0 to 1mm,
and from 1mm to 1.5mm.
To do this, enter '1' in the text field, and press the New Interval
button. The original interval will be separated into two new intervals.
In the Width field specify a width for the vector objects created from
tracing raster lines whose widths belong to the interval, limited
by values in the Start
and End fields.
Specify a width for vector objects equal to 0.5 for the first
widths interval, and 1 for the second.
In the Color field redefine the color of resulting vector objects: red
- for the first interval, blue - for the second.
INFORMATION:
To see the results of this separation by width and color
in the Program window, select the Use Table checkbox.
|
Open the Raster To Vector toolbar.
Choose the tracing mode - Make Vector and Erase Raster by pressing theMake Vector and Erase Raster
button.
You can trace the centerlines with automatic definition of the
object type - press the Trace Auto
button, and then specify with the cursor the centerlines one by
one. |
 |
To trace the hatch press the Trace Hatch
button, and then cross all hatch lines by fence. |
 |
It is better to trace the two larger circles using Forced circle
trace method - press the Trace
Circle
button, and then specify two opposite points for the first circle
and for the second circle. |
 |
|