Ignore:
Timestamp:
04/20/20 23:33:31 (3 years ago)
Author:
Maciej Komosinski
Message:

Added fields to characterize hinges in "solid shape"-type Models

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/model/f0-SDK-classes.h

    r754 r915  
    7171ParamEntry f0_joint_paramtab[]=
    7272{
    73  {"Connections",4,17,"j" },
     73 {"Connections",4,27,"j" },
    7474 {"Geometry",},
    7575 {"Other properties",},
     
    8484 {"dz",1,1024,"delta.z","f -2 2 0",FIELD(d.z),},
    8585 {"sh",1,0,"shape","d 0 1 0",FIELD(shape),},
     86 {"hx",1,0,"hinge position.x","f",FIELD(hinge_pos.x),},
     87 {"hy",1,1024,"hinge position.y","f",FIELD(hinge_pos.y),},
     88 {"hz",1,1024,"hinge position.z","f",FIELD(hinge_pos.z),},
     89 {"hrx",1,0,"hinge rotation.x","f",FIELD(hinge_rot.x),},
     90 {"hry",1,1024,"hinge rotation.y","f",FIELD(hinge_rot.y),},
     91 {"hrz",1,1024,"hinge rotation.z","f",FIELD(hinge_rot.z),},
     92 {"hxn",1,0,"hinge x negative limit","f -6.2832 0 -1.5708",FIELD(hinge_limit_x[0]),},
     93 {"hxp",1,1024,"hinge x positive limit","f 0 6.2832 1.5708",FIELD(hinge_limit_x[1]),},
     94 {"hyn",1,0,"hinge y negative limit","f -6.2832 0 -1.5708",FIELD(hinge_limit_y[0]),},
     95 {"hyp",1,1024,"hinge y positive limit","f 0 6.2832 1.5708",FIELD(hinge_limit_y[1]),},
    8696 {"stif",2,0,"stiffness","f 0.0 1.0 1.0",FIELD(stif),},
    8797 {"rotstif",2,0,"rotation stiffness","f 0.0 1.0 1.0",FIELD(rotstif),},
     
    110120ParamEntry f0_nodeltajoint_paramtab[]=
    111121{
    112  {"Connections",4,11,"j" },
     122 {"Connections",4,21,"j" },
    113123 {"Geometry",},
    114124 {"Other properties",},
     
    117127 {"p2",0,1024,"part2 ref#","d -1 999999 -1",FIELD(p2_refno),},
    118128 {"sh",1,0,"shape","d 0 1 0",FIELD(shape),},
     129 {"hx",1,0,"hinge position.x","f",FIELD(hinge_pos.x),},
     130 {"hy",1,1024,"hinge position.y","f",FIELD(hinge_pos.y),},
     131 {"hz",1,1024,"hinge position.z","f",FIELD(hinge_pos.z),},
     132 {"hrx",1,0,"hinge rotation.x","f",FIELD(hinge_rot.x),},
     133 {"hry",1,1024,"hinge rotation.y","f",FIELD(hinge_rot.y),},
     134 {"hrz",1,1024,"hinge rotation.z","f",FIELD(hinge_rot.z),},
     135 {"hxn",1,0,"hinge x negative limit","f -6.2832 0 -1.5708",FIELD(hinge_limit_x[0]),},
     136 {"hxp",1,1024,"hinge x positive limit","f 0 6.2832 1.5708",FIELD(hinge_limit_x[1]),},
     137 {"hyn",1,0,"hinge y negative limit","f -6.2832 0 -1.5708",FIELD(hinge_limit_y[0]),},
     138 {"hyp",1,1024,"hinge y positive limit","f 0 6.2832 1.5708",FIELD(hinge_limit_y[1]),},
    119139 {"stif",2,0,"stiffness","f 0.0 1.0 1.0",FIELD(stif),},
    120140 {"rotstif",2,0,"rotation stiffness","f 0.0 1.0 1.0",FIELD(rotstif),},
Note: See TracChangeset for help on using the changeset viewer.