截面拟合提示语法错误

xiao_shi_t... 发表于 2010-3-3 14:26:39 | 显示全部楼层 | 阅读模式
本帖最后由 xiao_shi_tou 于 2010-3-3 14:43 编辑

正学习桥梁博士中的截面拟合,在生成截面数据时提示语法错误,请问脚本编辑中支持什么样的表达式,例如以下语句:
"Section0.Region[1].Point[1].x=0;
Section0.Region[1].Point[1].y=0;
Section0.Region[1].Point[2].x=0;
Section0.Region[1].Point[2].y=-Hi;
Section0.Region[1].Point[3].x=cl;
Section0.Region[1].Point[3].y=-Hi-sl;
Section0.Region[1].Point[4].x=cl;
Section0.Region[1].Point[4].y=-Hl;
Section0.Region[1].Point[5].x=cl+Bx;
Section0.Region[1].Point[5].y=-Hr;
Section0.Region[1].Point[6].x=cl+Bx;
Section0.Region[1].Point[6].y=-Hi-sr;
Section0.Region[1].Point[7].x=Bs;
Section0.Region[1].Point[7].y=-Hi;
Section0.Region[1].Point[8].x=Bs;
Section0.Region[1].Point[8].y=0;
Section0.top=0;
Section0.Bottom=0;
Section0.Region[1].fsolid=true;

Section0.Region[2].Point[1].x=cl+Bl+x;
Section0.Region[2].Point[1].y=-ds;
Section0.Region[2].Point[2].x=cl+Bl;
Section0.Region[2].Point[2].y=-ds-y;
Section0.Region[2].Point[3].x=cl+Bl;
Section0.Region[2].Point[3].y=-Hl+dx+v;
Section0.Region[2].Point[4].x=cl+Bl+u;
Section0.Region[2].Point[4].y=-Hl+dx;
Section0.Region[2].Point[5].x=cl+Bx/2-Bm/2-u;
Section0.Region[2].Point[5].y=-Hl+dx;
Section0.Region[2].Point[6].x=cl+Bx/2-Bm/2;
Section0.Region[2].Point[6].y=-Hl+dx+v;
Section0.Region[2].Point[7].x=cl+Bx/2-Bm/2;
Section0.Region[2].Point[7].y=-ds-y;
Section0.Region[2].Point[8].x=cl+Bx/2-Bm/2-x;
Section0.Region[2].Point[8].y=-ds;
Section0.top=0;
Section0.Bottom=0;
Section0.Region[2].fsolid=false;

Section0.Region[3].Point[1].x=cl+Bx/2+Bm/2+x;
Section0.Region[3].Point[1].y=-ds;
Section0.Region[3].Point[2].x=cl+Bx/2+Bm/2;
Section0.Region[3].Point[2].y=-ds-y;
Section0.Region[3].Point[3].x=cl+Bx/2+Bm/2;
Section0.Region[3].Point[3].y=-Hl+dx+v;
Section0.Region[3].Point[4].x=cl+Bx/2+Bm/2+u;
Section0.Region[3].Point[4].y=-Hl+dx;
Section0.Region[3].Point[5].x=cl+Bx-Bl-u;
Section0.Region[3].Point[5].y=-Hl+dx;
Section0.Region[3].Point[6].x=cl+Bx-Bl;
Section0.Region[3].Point[6].y=-Hl+dx+v;
Section0.Region[3].Point[7].x=cl+Bx-Bl;
Section0.Region[3].Point[7].y=-ds-y;
Section0.Region[3].Point[8].x=cl+Bx-Bl-x;
Section0.Region[3].Point[8].y=-ds;
Section0.top=0;
Section0.Bottom=0;
Section0.Region[3].fsolid=false;"
是否正确?
精彩评论倒序浏览

2638查看1评论

xiao_shi_t... 发表于 2010-3-3 15:23:32
{:3_62:}问题已查出,原来是参数和脚本中的没有一一对应。
举报 回复
您需要登录后才可以回帖 登录 | 注册

本版积分规则

 
 
  • QQ:56984982
  • 点击这里给我发消息
    电话:13527553862
    站务咨询群桥头堡站务咨询桥梁专业交流群:
    中国桥梁专业领袖群
    工作时间
    8:00-18:00