Axis Systems Constructors Functions

This function lets you define the formula for axis system constructors.

axisSystem

Creates an axis system specified by either:

  • an origin only (the three direction are automatically computed),
  • an origin and a direction (the other two directions are automatically computed),
  • an origin and two directions (the third direction is automatically computed),
  • an origin and three directions.

The axis system creation is limited to axis systems with an origin and 3 directions. Other axis systems parameterizations are not provided.

Signature
axisSystem([Origin : Point, Direction1 : Direction, Direction2 : Direction, Direction3: Direction]) : AxisSystem
Inputs
  • Origin(Point): the axis system's origin
  • Direction1(Direction): the axis system's first axis (the x-axis)
  • Direction2(Direction): the axis system's second axis (the y-axis)
  • Direction3(Direction): the axis system's third axis (the z-axis)
Returned Value
  • AxisSystem: the axis system of origin Origin and of axes those specified and/or those computed (according to those specified if any).
Sample
PartBody\Point.1 = point(10mm, 20mm, 30mm)
Axis System.1 = axisSystem(PartBody\Point.1 ,direction(10mm, 0mm, 0mm) ,direction(0mm, 10mm, 0mm) ,direction(0mm, 0mm, 10mm) ) 
Axis System.2 = axisSystem(PartBody\Point.1 ,direction(10mm, 0mm, 0mm) ,direction(0mm, 10mm, 0mm) ) 
Axis System.3 = axisSystem(PartBody\Point.1 ,direction(10mm, 0mm, 0mm) ) 
Axis System.4 = axisSystem(PartBody\Point.1 )