找回密码
 注册
Simdroid-非首页
查看: 117|回复: 0

[结构单元] 锚杆fish语言解读

[复制链接]
发表于 2022-10-23 01:52:46 | 显示全部楼层 |阅读模式 来自 陕西西安
请教这个锚杆fish语言里每行分别是什么意思?非常感谢。
fish define dinggan1
    local y_d = -2.4
    local y_d2 = 0.684
    loop local n (1,3)
        y_d = y_d + 2.4
        y_d2 = y_d2 + 2.4
        command
            structure cable create by-line -1.95 @y_d 2.93302 -1.95 @y_d2 3.25716 segments 10
            structure link delete range position-x -1.95 position-y @y_d position-z 2.93302
            structure link create target zone range position-x -1.95 position-y @y_d position-z 2.93302
            structure link attach x rigid y rigid z rigid rotation-x rigid rotation-y rigid rotation-z rigid range ...
            position-x -1.95 position-y @y_d position-z 2.93302
        endcommand
    endloop
end
@dinggan1
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|小黑屋|联系我们|仿真互动网 ( 京ICP备15048925号-7 )

GMT+8, 2024-4-27 20:53 , Processed in 0.025463 second(s), 11 queries , Gzip On, MemCache On.

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表