콘텐츠로 이동

hfSectionVisualizer 원격 제어 Operation과 Analysis

Operation

hfSectionVisualizer --remote [--target <id>] make-mesh [build|delete|toggle]
hfSectionVisualizer --remote [--target <id>] make-mesh --mode <build|delete|toggle>
hfSectionVisualizer --remote [--target <id>] compute-section-constants [compute|invalidate|toggle]
hfSectionVisualizer --remote [--target <id>] compute-section-constants --mode <compute|invalidate|toggle>
hfSectionVisualizer --remote [--target <id>] renumber
hfSectionVisualizer --remote [--target <id>] move <top-left|top-middle|top-right|middle-left|middle-middle|middle-right|bottom-left|bottom-middle|bottom-right|centroid|shear-center|offset> [--offset <yp,zp>]
hfSectionVisualizer --remote [--target <id>] rotate <angle-deg>
  • move offset--offset <yp,zp>가 필요합니다.
  • make-mesh build는 mesh를 만들고 section constants도 함께 계산합니다.

make-mesh

  • 활성 단면 mesh를 생성, 삭제, 또는 토글합니다.
  • 검증: build는 section geometry가 필요합니다. delete는 현재 mesh가 있을 때만 제거합니다.
  • 동작: build는 mesh를 생성한 뒤 section constants도 바로 계산합니다. 즉, centroid, shear-center, 기타 파생 단면 상수까지 한 번에 준비됩니다. 이는 GUI의 Make Mesh action과 같은 동작입니다.

예시:

hfSectionVisualizer --remote make-mesh build

compute-section-constants

  • 활성 단면 mesh에 대해 section constants를 계산, 무효화, 또는 토글합니다.
  • 검증: 기존 mesh가 필요합니다.
  • 동작: 이미 만들어진 mesh의 section constants를 다시 계산하거나 무효화할 때 사용합니다. make-mesh build는 기본적으로 section constants까지 함께 계산합니다.

Analysis

hfSectionVisualizer --remote [--target <id>] run-analysis
hfSectionVisualizer --remote [--target <id>] unlock-model
  • 저장된 현재 파일 경로가 필요합니다.
  • 미저장 변경이 있으면 해석 시작 전에 자동 저장을 시도합니다.
  • 추가 CLI 옵션은 받지 않습니다. remote 명령은 GUI action과 동일한 analyzer 실행 경로를 사용합니다.
  • unlock-model은 GUI의 Unlock model과 같으며, 현재 단면 해석 결과를 지우고 다시 preprocessing 편집 상태로 돌립니다.
  • unlock-model은 결과 파일이 있거나 현재 세션에 해석 결과가 로드된 경우에만 사용할 수 있습니다.

run-analysis

  • GUI 해석 action과 같은 방식으로 단면 해석을 시작합니다.
  • 검증: 저장된 현재 파일 경로가 필요합니다. 해석이 이미 실행 중이면 실패합니다.
  • 동작: 미저장 변경이 있으면 현재 파일을 먼저 저장합니다. 새 해석 시작 전에 현재 단면 파일의 기존 .xlsx 결과 파일을 삭제합니다.

예시:

hfSectionVisualizer --remote run-analysis

unlock-model

  • 현재 단면 해석 결과를 지우고 모델을 다시 편집 가능한 preprocessing 상태로 되돌립니다.
  • 검증: 위치 인자를 받지 않습니다. 해석 실행 중에는 실패합니다. 저장된 결과나 로드된 결과가 없으면 실패합니다.
  • 동작: 현재 .xlsx 해석 결과 파일이 있으면 삭제합니다. 파일이 없어도 세션에만 남아 있는 해석 결과 데이터는 함께 지웁니다. GUI Unlock model action도 성공 후 같은 canonical unlock-model tail을 Remote Control History에 기록합니다.

예시:

hfSectionVisualizer --remote unlock-model