Breadcrumbs

get_current_velx()

정의

get_current_velx(ref)

기능

입력된 기준좌표계(ref)에 해당하는 현재 툴 속도를 리턴합니다.

인수

인수명

자료형

기본값

설명

ref

Int

DR_BASE

reference coordinate

  • DR_BASE : base coordinate

  • DR_WORLD : world coordinate

리턴

설명

float[6]

Tool velocity

예외

예외

설명

DR_Error (DR_ERROR_RUNTIME)

C Extension 모듈 에러 발생 시

예제

Python
velx1 = get_current_velx() # velx1 : BASE좌표계(기본값)의 속도
velx2 = get_current_velx(DR_BASE) # velx2 (=velx1): BASE좌표계의 속도
velx3 = get_current_velx(DR_WORLD) #velx3 : WORLD좌표계의 속도

관련 명령어