Point

Synopsis

The point design is used to graphically display the location of a set of coordinates as well as specifying the location of a point using a variety of geometric methods. The point can be located by using a Cartesian coordinate system and specifying its x, y, and z location. It can also be located by using an angle and radius measured from the localFrame: of the part. The point design can also be useful as a location marker in the graphics window.

Mixins

PointMixin

InkDrawableMixin

RenderMixin

AssemblyMixin

Canonicals

Name Type Description
origin point This is the location of the point.

Parameters

Name Type Description
angle number Angle in degrees on the local X-Y plane from the local X axis to the location of the point.
radius number Distance from the origin of the localFrame to the location of the point.
basePoint point The origin of the new point can be calculated by providing this point as a reference and offsetting it by the offset vector.
offset vector Vector used to offset the basePoint point to calculate the new point design's origin.
x number Location of the new point along the X axis of the worldFrame.
y number Location of the new point along the Y axis of the worldFrame.
z number Location of the new point along the Z axis of the worldFrame.

Group Rules

<x y z> Calculates the origin from a point at the x, y,and z coordinates of the worldFrame.

<angle radius> Calculates the origin point from the angle on the localFrame's X-Y axis as measured from the localFrame's X axis, and the radius from the localFrame's origin.

<basePoint offset> Calculates the origin from the basePoint's location plus the offset vector.

Example 1

Name: point_Ex01
Design: acDrawingDocument
Child Name: myArc
Child Design: :Arc
Name Type Supplied
origin point point(0,0,0)
radius number 1
color string "olive green"
Child Name: startPt
Child Design: :Point
Name Type Supplied
origin point myArc.startPoint
color string "blue"

Example 2

Name: point_Ex02
Design: acDrawingDocument
Child Name: radialPt
Child List?
Child Design: :Point
Name Type Supplied
Quantity integer 50
angle number (child.index * 30 / child.radius ^ 0.3) ^ 1.21
radius number 2 + child.index * 0.2
color string "red"