What is the usage of the donut function in the AutoLISP language?

In AutoLISP language, the donut function is used to create a torus. The syntax format for the donut function is as follows:

(center of donut with radius1 and radius2)

Among them:

  1. The center is the coordinate point at the center of the circle, which can be a two-dimensional or three-dimensional point.
  2. Radius1 is the radius of the inner circle.
  3. The radius2 is the radius of the outer circle.

The function will draw a ring consisting of an inner circle and an outer circle, with the inner circle located inside the outer circle. The drawing of the ring will use the current layer, color, and line type.

bannerAds