從數(shù)據(jù)文件里添加雙折射材料 ^!v} 該文檔描述一個(gè)
FRED腳本
程序,它通過一個(gè)數(shù)據(jù)文件往FRED程序文件里添加雙折射材料。不像抽樣材料,目前在GUI環(huán)境下沒有通過文件添加雙折射材料的選項(xiàng)。該腳本程序本身是用基本的對(duì)話框功能使用戶快速瀏覽材料名、文件位置和光軸。
NP<F==, 腳本代碼為:
zvK5Zxl 1. Prompt user to select file path
t}c}@i_c 2. Prompt user to enter material name
Ql6ai
3. Open the file, read data, and add sampled birefringent material
KWn1