Torus

concerns

The Torus attribute function draws a torus (bicycle hose). When all image edits are complete, the EndModify attribute function must be called to ensure that all changes are saved in the image variable.

 

Syntax

Torus(Section, Radius, RadiusTube)

Return value

Type

Description

Section3D

A Section3D object that describes the drawn cylinder

Parameter

Use

Name

Type

Passing

Description

Required

Section

Section3D

ByVal

The image section to which the Torus is to be attached. If the Torus is to be attached to the root level, “Nothing” must be passed.

Required

BaseRadius

Double

ByVal

Radius of the Torus

Required

TopRadius

Double

ByVal

Radius of the hose

Note

Before editing a Model3D variable, the BeginModify attribute function must be called. After all modifications have been made, the attribute function EndModify must be called so that all changes are saved in the variable.