Previous section-----Next section


Facet[bnum, {lpnt1, lpnt2, ... , lpntn}] generates a filled polygon with vertices at each of the lpnti on body bnum. Each lpnti can be either a local point number or local point coordinate {x, y} (2D) or {x, y, z} (3D).
Facet[bnum, {lpnts1, ... }, {lpnts2, ... }, ... ] generates several polygons.
Facet[{point1, ... , pointn}] generates an n-sided polygon with vertices on several different bodies.

Facet returns a list of Mathematica graphics primitives that are functions of mechanism location variables.
• The Facet function is analogous to the built-in Mathematica
Polygon primitive.
• See also: Bar, Box, Edge, Extrude, Vertex, Wheel.

Further Examples

Load the Modeler2D package and define a simple model.

Here we add a new group of graphics to the help model that uses Facet to draw several polygons. The absolute location of the new graphics depends on the rules passed to ShowHelpModel.

See HelpModel2D.

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