Table of Contents

Interface IMachineKinematics

Namespace
Hi.Numerical.Xyzabc
Assembly
HiMech.dll

Device for UniNc controller.

public interface IMachineKinematics
Extension Methods

Methods

McAbcToMat(Vec3d)

Converts machine ABC coordinates to a tilt matrix. the tilt matrix is the transformation matrix from table to attacher.

Mat4d McAbcToMat(Vec3d mcAbc_rad)

Parameters

mcAbc_rad Vec3d

The machine ABC coordinates in radians

Returns

Mat4d

The tilt matrix

McToMat(DVec3d)

Converts machine coordinates to an attacher matrix.

Mat4d McToMat(DVec3d mcXyzabc)

Parameters

mcXyzabc DVec3d

The machine coordinates

Returns

Mat4d

The attacher matrix

McToPn(DVec3d)

Machine coordinate to tool attacher Pn (Point and Normal). The Pn is from table buckle to tool attacher.

DVec3d McToPn(DVec3d mcXyzabc)

Parameters

mcXyzabc DVec3d

machine coordinate. ABC is in radian.

Returns

DVec3d

tool attacher Pn (Point and Normal)

OrientationToMcAbc(Mat4d, out Vec3d)

Converts a tilt matrix to machine ABC coordinates. the tilt matrix is the transformation matrix from table to attacher. the solution only fit the orientation part of the tiltMat.

bool OrientationToMcAbc(Mat4d tiltMat, out Vec3d mcAbc_rad)

Parameters

tiltMat Mat4d

The tilt matrix to convert

mcAbc_rad Vec3d

Output parameter that will contain the machine ABC coordinates in radians

Returns

bool

Whether the conversion was successful

PnToMc(DVec3d, out DVec3d)

Tool attacher Pn (Point and Normal) to machine coordinate. The Pn is from table buckle to tool attacher.

bool PnToMc(DVec3d pn, out DVec3d mcXyzabc_rad)

Parameters

pn DVec3d

tool attacher Pn (Point and Normal)

mcXyzabc_rad DVec3d

machine coordinate (ABC in radian)

Returns

bool

whether conversion succeeded