콘텐츠로 이동

hfVisualizer 원격 제어 표시

모델 데이터 자체를 바꾸지 않고, 현재 모델이 보이는 방식만 바꾸고 싶을 때 이 명령들을 사용합니다.

기본 대상은 activeRenderView입니다. currentViewactiveRenderView를 바꾸지 않고 다른 render view에 적용하려면 --view-id <rN>을 사용합니다.

representation

hfVisualizer --remote [--target <id>] [--view-id <rN>] representation <surface|wireframe|both>
  • 주 렌더 표현 방식을 설정합니다.
  • 값은 surface, wireframe, both를 사용할 수 있습니다.

transparency

hfVisualizer --remote [--target <id>] [--view-id <rN>] transparency <on|off>
  • 대상 render view의 투명 렌더링을 켜거나 끕니다.

element-shrink

hfVisualizer --remote [--target <id>] [--view-id <rN>] element-shrink <on|off>
  • 대상 render view의 element shrink 표시를 켜거나 끕니다.

section-view

hfVisualizer --remote [--target <id>] [--view-id <rN>] section-view <on|off>
  • 대상 render view의 section-view clipping을 켜거나 끕니다.

parallel-projection

hfVisualizer --remote [--target <id>] [--view-id <rN>] parallel-projection <on|off>
  • 대상 render view를 perspective와 parallel projection 사이에서 전환합니다.

shading-color

hfVisualizer --remote [--target <id>] [--view-id <rN>] shading-color <none|element-type|section>
  • 대상 render view의 shading color source를 선택합니다.
  • 값은 none, element-type, section을 사용할 수 있습니다.

display-control

hfVisualizer --remote [--target <id>] [--view-id <rN>] display-control <item> <on|off>
  • 대상 render view의 display toggle을 제어합니다.
  • <item> 값:
  • origin-axes
  • corner-axes
  • grid
  • dimension-box
  • node
  • node-label
  • element-label
  • ecs
  • sensor-label
  • 이 항목들은 preprocessing과 postprocessing 모두에서 사용할 수 있습니다.

grid-spacing

hfVisualizer --remote [--target <id>] [--view-id <rN>] grid-spacing get
hfVisualizer --remote [--target <id>] [--view-id <rN>] grid-spacing set <value>
  • get은 대상 render view의 현재 grid spacing 값을 JSON으로 반환합니다.
  • set은 spacing 값만 바꾸며, grid 표시 on/off 상태는 바꾸지 않습니다.
  • set <value>는 양수의 finite number만 허용합니다.

camera

hfVisualizer --remote [--target <id>] [--view-id <rN>] camera get
hfVisualizer --remote [--target <id>] [--view-id <rN>] camera fit
hfVisualizer --remote [--target <id>] [--view-id <rN>] camera view <iso-z|iso-y|iso-x|+x|-x|+y|-y|+z|-z>
hfVisualizer --remote [--target <id>] [--view-id <rN>] camera rotate <+x|-x|+y|-y|+z|-z>
hfVisualizer --remote [--target <id>] [--view-id <rN>] camera set --position <x,y,z> --focal-point <x,y,z> --view-up <x,y,z> [--projection <perspective|parallel>] [--view-angle <deg>] [--parallel-scale <value>] [--clipping-range <near,far>] [--roll <deg>] [--reset-clipping <on|off>]
  • camera get은 현재 camera 상태를 JSON으로 반환합니다.
  • camera fit, camera view, camera rotate는 카메라를 빠르게 변경할 때 사용합니다.
  • camera set 조건:
  • positionfocal-point는 같을 수 없습니다.
  • view-up은 영벡터일 수 없습니다.

visibility

hfVisualizer --remote [--target <id>] [--view-id <rN>] visibility <node|element|node-set|element-set|constraint|load|surface|construction|sensor> <items|all> <on|off>
  • 대상 render view의 객체 visibility를 설정합니다.
  • 동작은 전역 all-view visibility가 아니라 ModelTree 체크박스와 같습니다.
  • GUI ModelTree 체크박스 변경도 같은 canonical visibility ... tail을 Remote Control History와 *.ipc.txt에 기록합니다.
  • 대상 지정:
  • node|element: id,id,... 또는 all
  • node-set|element-set: name,name,...
  • constraint|load|surface|construction|sensor: name,name,... 또는 all
  • construction은 spline과 construction line을 이름 기준으로 함께 다룹니다.

예시:

hfVisualizer --remote representation both
hfVisualizer --remote display-control origin-axes on
hfVisualizer --remote grid-spacing set 500
hfVisualizer --remote camera fit
hfVisualizer --remote visibility construction "SplineA,CLine1" off