hfVisualizer 원격 제어 Model
model
hfVisualizer --remote [--target <id>] model <type> (--content <text> | --content-file <file>)
*Model, TYPE=<type>블록 하나를 적용합니다.--content와--content-file중 정확히 하나가 필요합니다.model은 preprocessing mode에서만 동작합니다.<type>은 비어 있으면 안 됩니다.- 현재 reader 경로에서 지원하는 model type:
Block2DBlock3DCylinderWallRectangularTankCylindericalTankCurveExtrusionFarField2DFarField3DFarField2DxFarField3Dx- IPC 계층이
*Modelkeyword line을 앞에 붙인 뒤 내용을readModel()에 전달합니다. --content안에서는 줄바꿈을\n으로 씁니다.\\n은 문자 그대로 유지됩니다.- 빈 내용은 허용되지 않습니다.
- 성공적으로 적용되면 GUI
Model위젯과 같이 이미 숨겨져 있던 node/element의 per-view hidden 상태를 유지하고, 새로 생성된 visible 항목을 각 view에 넣고, topology를 refresh하고, camera를 reset합니다.
예시:
hfVisualizer --remote model Block2D --content "B1, auto, auto, CPS4, SEC1\n0,10,10\n0,5,5"
hfVisualizer --remote model FarField3D --content-file D:\Work\farfield3d-model.txt