﻿ Dounts - Create Objects - ZWSOFT.com
Dounts

May 20, 2011

Donuts are solid, filled circles or rings created as closed, wide polylines. You can draw a donut using several ways. The default method is to specify the inside and outside diameters of the donut, and then specify its center. You can then create multiple copies of the same donut by specifying different center points until you press Enter to complete the command.

Similar to the way of drawing circle, donuts are closed polylines with certain width with or without fill. The system variable FILLMODE controls whether to fill the donut or not.

If system variable FILLMODE is set to 1, to create filled dobuts, if system variable FILLMODE is set to 0, to create donuts without filling.

To create a donut, you specify its inside and outside diameters and its center. You can continue creating multiple copies with the same diameter by specifying different center points. To create solid-filled circles, just assign the same value for the inside radius and outside radius.

To draw a donut

1. Choose Draw > Donut.

2. Specify the inside diameter of the donut.

3. Specify the outside diameter of the donut.

4. Specify the center of the donut.

5. Specify the center point to draw another donut, or press enter to complete the command.

Command line DONUT

Inside diameter (A) and outside diameter (B)

ZWCAD provides additional options for drawing donuts. For example, you can specify the width of the donut and two points on the diameter of the donut if you type 2p, or you can specify the width and three points on the donut if you type 3p. You can also draw a donut tangent to existing objects if you type rtt.

TIP A donut can be a completely filled circle by specifying an inside diameter of zero.

To draw a donut tangent to existing objects

1.   Choose Draw > Donut.

2.   On the command line, type rtt.

3.   Specify the width of the donut.

4.   Specify the diameter of the donut.

5.   Select the first tangent object to which to draw the donut.

6.   Select the second tangent object to which to draw the donut.

Command line DONUT

Width (A) and diameter (B) of the donut and tangent objects (C)

You can edit donuts using the Edit Polyline tool on the Modify II toolbar. You can convert donuts into arc objects using the Explode tool on the Modify toolbar.

Commands Reference

DONUT: Draws filled circles and rings

FILL: Controls the filling of objects such as hatches, two-dimensional solids, and wide polylines

System Variables Reference

DONUTID: Sets the default for the inside diameter of a donut

DONUTOD: Sets the default for the outside diameter of a donut

FILLMODE: Specifies whether hatches (including solid-fill), two-dimensional solids, wide polylines, are filled in

Print PDF