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

请指教一下,谢谢~~

[复制链接]
发表于 2008-11-4 17:58:11 | 显示全部楼层 |阅读模式 来自 北京交通大学
PFC3D的用户手册中例3.5


; bdry1.dat
restore expand.sav
def bound
bp = ball_head
loop while bp # null
  section
   cp = b_clist(bp)
   loop while cp # null
    if c_nforce(cp) # 0.0 then
     b2 = c_gobj2(cp)
     if pointer_type( b2 ) = 101 then

     b_xfix(bp)  = 1
     b_yfix(bp)  = 1
     b_zfix(bp)  = 1
     b_color(bp) = 1
     exit section
   end_if
  end_if
if c_gobj1(cp) = bp
    cp = c_go1clist(cp)
  else
    cp = c_go2clist(cp)
  end_if
end_loop
end_section
bp = b_next(bp)
end_loop
end
bound
ini xvel = 0.0 grad=(-0.1,0,0)
ini yvel = 0.0 zvel = 0.0
prop xdisp=0.0 ydisp=0.0 zdisp=0.0
del wall 1
del wall 2
del wall 3
del wall 4
del wall 5
del wall 6
plot create assembly
plot add ball red green
plot add axes black
plot add vel black
plot show
pause
plot add cf white
cycle 200
plot disp black



红色部分什么意思??

[ 本帖最后由 夭夭 于 2008-11-5 10:45 编辑 ]
发表于 2008-11-4 22:57:30 | 显示全部楼层 来自 台湾
Simdroid开发平台
ECHO on 就是指你跑的過程中 command windows 會顯示你跑的過程(哪一行指令)

ECHO off 就是把你跑的過程(顯示)關掉囉!

多去try try看就知道了!!
回复 不支持

使用道具 举报

 楼主| 发表于 2008-11-5 10:34:47 | 显示全部楼层 来自 北京交通大学
原帖由 lkw0821 于 2008-11-4 22:57 发表
ECHO on 就是指你跑的過程中 command windows 會顯示你跑的過程(哪一行指令)

ECHO off 就是把你跑的過程(顯示)關掉囉!

多去try try看就知道了!!
嗯,谢谢!!
我刚开始学,很多地方不懂,o(∩_∩)o...
回复 不支持

使用道具 举报

发表于 2008-11-6 15:44:17 | 显示全部楼层 来自 北京
哥们:在线阿!看你那里有PFC3d的手册电子版吗?能给我发一份吗?我的电子信箱:zhang123xp@yahoo.com.cn
回复 不支持

使用道具 举报

发表于 2009-5-30 19:08:23 | 显示全部楼层 来自 江苏南京
看看fish 这一章,好多是内置函数
回复 不支持

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Simapps系列直播

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

GMT+8, 2024-9-29 23:28 , Processed in 0.043399 second(s), 13 queries , Gzip On, MemCache On.

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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