1 引言
HYRCAN Version 1.75.2 (Released at 11/14/2021) 出来了,有需要的同学可以去下载。这个版本主要改正了以前版本的一个bug, 即不能导入从SLIDE输出的dxf文件。以前的解决方案是用AutoCAD读入SLIDE导出的dxf文件,然后不做任何改动重新保存一下就解决问题了,这个解决方案在AutoCAD 2022下保存为AutoCAD 2018 dxf格式测试通过。新的版本已经改正了这个bug, 可以直接导入SLIDE的dxf。导入的对象包括外部边界,材料边界,水位和支护。
当输入后能够自动产生出JS文件:
newmodel()
set("unit","metric","waterUW",9.81)extboundary(-2.661,5.214,15.836,5.214,15.836,8.2202,15.836,10.2151,15.836,14.3169,15.836,15.653,8.066,15.653,5.31334,13.4797,4.089,12.513,-2.609,12.513,-2.62042,10.9107,-2.64597,7.32346,-2.661,5.214)
matboundary(5.31334,13.4797,15.836,14.3169)
matboundary(-2.62042,10.9107,15.836,10.2151)
matboundary(-2.64597,7.32346,15.836,8.2202) addsupport("single","id",1,"matid",1,"orientation","anglefromhoriz","angle",326.878,"length",5.02695,"atpoint",6.38889,14.3289) addsupport("single","id",1,"matid",1,"orientation","anglefromhoriz","angle",325.748,"length",5.85361,"atpoint",4.95361,13.1956) addsupport("single","id",1,"matid",1,"orientation","anglefromhoriz","angle",327.396,"length",5.72753,"atpoint",7.50003,15.2061)
addwatertable(-2.63431,8.96041,1.656,9.251,6.475,9.632,10.599,11.582,13.1769,15.653)