Previous section-----Next section

Wheel
2D/3D

Wheel[point, rad] (2D) generates a Circle or Disk primitive (depending on the Faces setting) of radius rad centered at point.
Wheel[point, rad, facets] (2D) generates a circular disk of radius rad, with facets segments on the perimeter, centered at point.
Wheel[point, rin, rout, facets] (2D) generates an annular ring with the specified inner and outer radii.
Wheel[axis, rad, facets] (3D) generates a circular disk with the axis vector of the disk defined by axis and the center of the disk located at the origin of axis.
Wheel[axis, rin, rout, facets] (3D) generates an annular ring with the specified inner and outer radii.
• In all cases, rad may be replaced with a list {rx, ry} to produce an elliptical disk or an elliptical hole.

Wheel returns a list of Mathematica graphics primitives that are functions of mechanism location variables.
• The perimeter of the disk is composed of facets straight line segments. Thus a facets value of 4 yields a square.
• In all cases, the radii may be replaced with a list {rx, ry} to produce an elliptical disk and/or an elliptical hole.
• In Modeler2D, an axis can be given in place of point for a faceted wheel, in which case the direction of axis is used as the reference direction for the Angle option and the primary axis direction for an ellipse.
• In Modeler3D, the reference direction of axis is always used as the reference direction for the Angle option and the local primary axis direction for an ellipse.
• The following options can be given:

• The Angle option allows a pie-slice of the entire wheel to be drawn.
• See also:
Bar, Box, Facet, Sphere, Torus.

Further Examples

Load the Modeler2D package and define a simple model.

Wheel is used to draw several disks, circles, segmented disks, and rings on the crank body. The absolute location of all the graphics depends on the rules returned by SolveMech.

Change to the Modeler3D package and define a simple model.

Wheel is used to draw several 3D disks on the crank body.

See HelpModel2D, HelpModel3D.


Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information