Direction Constructors

Note: Direction objects cannot be created by using the 'New Parameter of type' capability in f(x) but you are required to use them in other constructors when the constructors is to be passed an argument of a direction type. Examples are given below.

Samples: see KwrLineConstructors.CATPart and KwrPointConstructors.CATPart

direction (x: Length, y: Length, z: Length): Direction

Creates a direction defined by the reference axes origin and the point whose coordinates are specified in the function argument.
Example
Open_body.1\Point.1   =
pointtangent(Open_body.1\Spline.1, direction(10mm,10mm,10mm))

 

direction(Line) : Direction

Creates a direction from a line.
Example
Open_body.1\Point.1   =
pointtangent(Open_body.1\Spline.1, direction(Open_body.1\line3))

 

direction(Plane) : Direction

Creates a direction from a plane.
Example
Open_body.1\Point.1   =
pointtangent(Open_body.1\Spline.1, direction(`zx plane`))

 

Back Up Next