Drawing a Location, Direction, or Axis

Some commands require you to specify a location on a curve (i.e., webcutting with a plane normal to a curve). This location can be previewed with the following options:

  1. A fraction along the curve from the start of the curve, or optionally, from a specified vertex on the curve.
  2. A distance along the curve from the start of the curve, or optionally, from a specified vertex on the curve.
  3. An xyz position that is moved to the closest point on the given curve.
  4. The position of a vertex that is moved to the closest point on the given curve.

Draw Location On Curve <curve id> {Fraction <f> | Distance <d> | Position <xval><yval><zval> | Close_To Vertex <vertex_id>} [[From] Vertex <vertex_id> (optional for 'Fraction' & 'Distance')]

Some commands require a specified axis (such as webcut with a cylinder) and it is sometimes advantageous to view an axis before modifying geometry. To draw a preview of an axis use the following command:

Draw Axis {options}

Some commands require a specified location or point (such as create curve spline) and it is sometimes advantages to view a location before modifying or creating geometry. To draw a preview of a location use the following command:

Draw Location {options} [color <color_name>] [no_flush]

Some commands require a direction. To draw a preview of a direction, use the following command:

Draw Direction {options} [from] [location {options}] [color <color_name>] [length <value>]

The optional color argument draws the direction vector in the named color (the default is red), and the optional length argument sets the length of the drawn vector in model units (otherwise a default screen-relative length is used).

Similar commands for drawing lines and polygons may also be useful.