從數(shù)據(jù)文件里添加雙折射材料 ixoMccU0 該文檔描述一個
FRED腳本
程序,它通過一個數(shù)據(jù)文件往FRED程序文件里添加雙折射材料。不像抽樣材料,目前在GUI環(huán)境下沒有通過文件添加雙折射材料的選項。該腳本程序本身是用基本的對話框功能使用戶快速瀏覽材料名、文件位置和光軸。
hA$c.jJr.Z 腳本代碼為:
HQjxJd5P 1. Prompt user to select file path
+^o3}` 2. Prompt user to enter material name
[0(
E>vm 3. Open the file, read data, and add sampled birefringent material
UeIqAG