ADAMS建模命令(可以通過命令建模,同時通過修改命令種參數(shù)可以對模型進(jìn)行修改)

Adams/View MD Adams R3 (built Mar  6 2008)

Graphics:  OpenGL

Using software OpenGL overlay plane emulation

Enter a command, '?', or 'help'.

//*設(shè)置單位及其重力加速度方向*//

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

  !  New Session - Set units, Create a model, and set gravity

default units len=mm mass=kg force=newton

model create model="model_1" fit_to_view=no

part attrib part_name=ground name_vis=off

part modify rigid_body mass_properties part_name=ground material=.materials.steel

force create body gravitational gravity=gravity &

          x_comp=0 y_comp=-9806.65 z_comp=0

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

//*設(shè)置坐標(biāo)系統(tǒng)*//

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!  SELECT OBJECT

undo begin

default coordinate_system default_coordinate_system=.model_1

undo end

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

interface cmd_window display=toggle

//*創(chuàng)建點—加到ground上*//

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

! CREATE POINT

undo begin

point create point = .model_1.ground.POINT_1 location=-500.0, 150.0, 0.0 

group modify group=SELECT_LIST object=.model_1.ground.POINT_1

undo end

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

//*創(chuàng)建點—加到part上*//

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

! CREATE POINT

undo begin

point create point = .model_1.PART_2.POINT_3 location=-250.0, 300.0, 0.0 

group modify group=SELECT_LIST object=.model_1.PART_2.POINT_3

undo end

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

以下內(nèi)容為付費內(nèi)容,請購買后觀看

   1人購買

adams常用命令

App下載
技術(shù)鄰APP
工程師必備
  • 項目客服
  • 培訓(xùn)客服
  • 平臺客服

TOP

3
1