plot_analysis_result
Generates contour plots of bridge analysis results for displacements, forces, stresses, and modal shapes. Select result type, stage, load case, and component to get an image or saved path.
Instructions
Generate an analysis result contour plot (生成分析结果云图).
By default returns the plot image itself for direct viewing.
默认直接返回云图图像内容,可在客户端预览。
Args:
result_type: Result type (结果类型):
'displacement'(位移), 'reaction'(反力),
'beam_force'(梁内力), 'beam_stress'(梁应力),
'truss_force'(杆内力), 'truss_stress'(杆应力),
'plate_force'(板内力), 'plate_stress'(板应力),
'modal'(振型)
stage_id: Construction stage ID (施工阶段ID):
-1=operation(运营), 0=envelope(包络), n=stage n (第n阶段)
case_name: Load case name for operation stage (运营阶段荷载工况名)
component: Result component to display (显示分量), e.g.
'uy'(竖向位移), 'mz'(弯矩), 'fx'(轴力), 'sz'(正应力)
Leave empty to use default component.
file_path: Output file path (.png). Empty = default directory.
输出路径,为空则保存到默认目录
return_image: Return the PNG as viewable image content; if False, return
only the saved path (是否直接返回图像内容,否则仅返回路径)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stage_id | No | ||
| case_name | No | ||
| component | No | ||
| file_path | No | ||
| result_type | Yes | ||
| return_image | No |