1. 引言
model title [title]
block create brick [-size] [size]
block zone property density [density] bulk [bulk] shear [shear]
local model_type = string.build("block zone cmodel assign %1", 'elastic')
[ ]
2. string函数回顾
(1) string.build【FISH: 使用MAP数组实现loop foreach;Itasca软件(FLAC3D, 3DEC, PFC)推出Linux版本---一个更好的体验?】
(2) string.compare
(3) string.csv.from
local mystrings = string.csv.from(::file.all(‘filename.txt’,‘text’))
(4) string.csv.to
(5) string.file.ext
(6) string.file.name
(7) string.file.path
(8) string.find【3DEC模型转换到FLAC3D模型;替代界面元---FLAC3D单元节理模拟多个相交的节理】
(9) string.find.regex
(10) string.join
(11) string.len
(12) string.lower
(13) string.match.regex
(14) string.replace
(15) string.replace.regex
(16) string.simplify
(17) string.split
(18) string.split.regex
(19) string.sub
(20) string.token
(21) string.token.type
(22) string.type
(23) string.upper
3. 结束语