LatheStock
Description

Basically any shape you could make on a lathe can be represented by this class. This class takes a user-defined LatheSurface and rotates it round the Y axis to form a 3D shape, it also creates end caps for the lathe surface.
Parts
The LatheStock has three parts, the main circular (lathed body) body and two end caps. Each part can have its own drawmode providing a range of render combinations.
Description | Number | Named bit-flag |
---|---|---|
Main curved (lathed) body End-cap at the path start End-cap at the path end |
0 1 2 |
S3D.BODY S3D.END0 S3D.END1 |
Model View Orientation
In this case the model view origin and orientation are determined by the path coordinates.
Creating a LatheStock
Constructors | |
---|---|
|
|
Parameter | Comments |
|
defines the detail level as well as the start and end angles of rotation. See LatheSurface |
|
Allows the user to specify another model view orienation for this shape. See Orientation guide. |
Shapes3D provides a number of predefined paths but the library allows for user-defined paths.