Skip to content

Add Tecplot .map format export support#3

Open
chuan-1-1 wants to merge 1 commit into
mmaru02046:mainfrom
chuan-1-1:feature/tecot-map-export
Open

Add Tecplot .map format export support#3
chuan-1-1 wants to merge 1 commit into
mmaru02046:mainfrom
chuan-1-1:feature/tecot-map-export

Conversation

@chuan-1-1

Copy link
Copy Markdown

Add save_tecot_map() function for exporting palettes as Tecplot color map files (.map) compatible with Tecplot 360. Add "Tecplot (.map)" option to the export dialog UI with both Chinese and English labels, and include it in the "All Formats" bulk export.

新增 Tecplot .map 格式导出色卡功能,方便在 Tecplot 360 中直接使用 ColorManager 生成的色卡。

改动说明

  • app/storage.py:新增 save_tecot_map() 函数,将调色板导出为 Tecplot 标准 colormap 格式($!CreateColorMap
  • app/ui/main_window.py
    • 导出对话框中新增 "Tecplot (.map)" 选项(含中英文标签)
    • 接入文件导出、剪贴板复制、"全部格式"批量导出

效果

用户选择色卡后,在导出色卡弹窗中选择目标格式 "Tecplot (.map)",即可导出为 Tecplot 可识别的 .map 文件,直接在 Tecplot
360 的 Color Map 中加载使用。

Add save_tecot_map() function for exporting palettes as Tecplot color
map files (.map) compatible with Tecplot 360. Add "Tecplot (.map)"
option to the export dialog UI with both Chinese and English labels,
and include it in the "All Formats" bulk export.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant