UNPKG

@scalenc/nc-format

Version:

Library for handling TRUMPF NC file format.

29 lines (28 loc) 1.34 kB
export declare class Constants { static readonly INCH_TO_MM = 25.4; static readonly MM_PER_MIN_TO_M_PER_S: number; static readonly FUNC_ABSOLUTE_POS = "AC"; static readonly FUNC_RELATIVE_POS = "IC"; static readonly FUNC_ABSOLUTE_ANG: string[]; static readonly CENTER_RADIUS = "CR"; static readonly VELOCITY_QUICK = "E"; static readonly VELOCITY = "F"; static readonly LINEAR_VELOCITY_VARIABLES: string[]; static readonly TRANSLATE = "TRANS"; static readonly ADD_TRANSLATE = "ATRANS"; static readonly ROTATE = "ROT"; static readonly ADD_ROTATE = "AROT"; static readonly ABSOLUTE_TRANSFORMATIONS: string[]; static readonly RELATIVE_TRANSFORMATIONS: string[]; static readonly TRANSFORM_ANGLE = "RPL"; static readonly TRANSFORM_X = "X"; static readonly TRANSFORM_Y = "Y"; static readonly TRANSFORM_VARIABLES: string[]; static readonly IF = "IF"; static readonly ELSE = "ELSE"; static readonly ENDIF = "ENDIF"; } export declare function tryOverwriteAbsoluteModeByFunction(functionName: string): boolean | undefined; export declare function isTransformationInstruction(name: string): boolean; export declare function isAbsoluteTransformationInstruction(name: string): boolean; export declare function isRelativeTransformationInstruction(name: string): boolean;