libmove3d  3.13.0
File Descriptions
Todo:
Finish the description

There are three types of file in Move3D:

The files .p3d and .macro have always two commands very similar. One begins with p3d_ the other with M3D_.

Some definitions could be done in all the files like:

Common command for macro and p3d files.

p3d_beg_desc <type> <name>

Begin the descrition for <type> of object with the name <name> that ends with a p3d_end_desc.

M3D_beg_desc <type> <name> : has the same function.

p3d_end_desc

Finish the description began by p3d_beg_desc <type> <name>.

M3D_end_desc : has the same function.

p3d_add_desc_poly <name> [<type>]

Begin the description of a polyhedra that ends with p3d_end_desc_poly.

M3D_add_desc_poly <name> [<type>] : has the same function.

p3d_end_desc_poly

Finish the description began by p3d_add_desc_poly <name> [<type>].

M3D_end_desc_poly : has the same function.

p3d_add_desc_vert <x> <y> <z>

M3D_add_desc_vert : has the same function.

p3d_add_desc_face

M3D_add_desc_face : has the same function.

p3d_add_desc_cube

M3D_add_desc_cube : has the same function.

p3d_add_desc_srect

M3D_add_desc_srect : has the same function.

p3d_add_desc_box

M3D_add_desc_box : has the same function.

p3d_add_desc_pyramid

M3D_add_desc_pyramid : has the same function.

p3d_add_desc_cylindre

M3D_add_desc_cylindre : has the same function.

p3d_add_desc_cylindre_oval

M3D_add_desc_cylindre_oval : has the same function.

p3d_add_desc_prisme

M3D_add_desc_prisme : has the same function.

p3d_add_desc_cone

M3D_add_desc_cone : has the same function.

p3d_add_desc_snout

M3D_add_desc_snout : has the same function.

p3d_add_desc_skew_snout

M3D_add_desc_skew_snout : has the same function.

p3d_add_desc_rtorusslice

M3D_add_desc_rtorusslice : has the same function.

p3d_add_desc_ctorusslice

M3D_add_desc_ctorusslice : has the same function.

p3d_add_desc_sweptrectslice

M3D_add_desc_sweptrectslice : has the same function.

p3d_add_desc_sphere

M3D_add_desc_sphere : has the same function.

p3d_add_desc_half_sphere

M3D_add_desc_half_sphere : has the same function.

p3d_add_desc_sphere_shell

M3D_add_desc_sphere_shell : has the same function.

p3d_add_desc_oval

M3D_add_desc_oval : has the same function.

p3d_add_desc_half_oval

M3D_add_desc_half_oval : has the same function.

p3d_add_desc_tore

M3D_add_desc_tore : has the same function.

p3d_set_prim_pos

M3D_set_prim_pos : has the same function.

p3d_set_prim_pos_by_mat

M3D_set_prim_pos_by_mat : has the same function.

p3d_polyhedre_set_pos

M3D_polyhedre_set_pos : has the same function.

p3d_set_body_pos_by_mat

M3D_set_body_pos_by_mat : has the same function.

p3d_set_obst_color

M3D_set_obst_color : has the same function.

p3d_set_obst_poly_color

M3D_set_obst_poly_color : has the same function.

p3d_set_body_color

M3D_set_body_color : has the same function.

p3d_set_body_poly_color

M3D_set_body_poly_color : has the same function.

p3d_add_desc_jnt <type> <x> <y> <z> <axe x> <axe y> <axe z> {(<value dof> <value min dof> <value max dof>) ... } <parameters> <indice prev joint> [{(<value rand min dof> <value rand max dof>) ... }]

Add a joint to the kinematic structure of a robot. This function is based on p3d_add_desc_jnt_deg() for Move3D and on kmJointCreate() for Kineo.

M3D_add_desc_jnt <type> <x> <y> <z> <axe x> <axe y> <axe z> {(<value dof> <value min dof> <value max dof>) ... } <parameters> <name prev joint> [{(<value rand min dof> <value rand max dof>) ... }] This is the same function than before, but it gives the name and not the indice of the previous joint. In Fact this is the name of the object attached on the previous joint.

p3d_add_desc_xyz_jnt <type> <x> <y> <z> <Rx> <Ry> <Rz> {(<value dof> <value min dof> <value max dof>) ... } <parameters> <indice prev joint> [{(<value rand min dof> <value rand max dof>) ... }]

Add a joint to the kinematic structure of a robot. This function looks like p3d_add_desc_jnt <type> <x> <y> <z> <axe x>=""> <axe y>=""> <axe z>=""> {() ... } <parameters> <indice prev="" joint>=""> [{() ... }]. But the parametrage of the joint orientation change. This function is based on p3d_add_desc_jnt_deg() for Move3D and on kmJointCreate() for Kineo.

M3D_add_desc_xyz_jnt <type> <x> <y> <z> <Rx> <Ry> <Rz> {(<value dof> <value min dof> <value max dof>) ... } <parameters> <name prev joint> [{(<value rand min dof> <value rand max dof>) ... }] This is the same function than before, but it gives the name and not the indice of the previous joint. In Fact this is the name of the object attached on the previous joint.

p3d_create_trailer_local_method

p3d_set_robot_radius

M3D_set_robot_radius : has the same function.

p3d_create_reeds_shepp_local_method

p3d_add_desc_rob_col_init <name>

Initialize the description of the autocollision for the robot <name>

M3D_add_desc_rob_col_init : has the same function.

p3d_desactivate_col_check <name1> [<name2>]

Deactive the collision between the object <name1> and <name2>, or use the automatic deactivation if <name1> is "automatic"

M3D_desactivate_col_check : has the same function.

Commands specific to p3d files.

les arguments de p3d_constraint dans le ficher .p3d sont:

p3d_constraint <name> <nb_dof_passif> [<jnt_passif_1> ... <jnt_passif_nb_dof_passif>] <nb_dof_actif> [<jnt_actif_1> ... <jnt_actif_nb_dof_actif>] <nb_param> [<param_1> ... <param_nb_param>] <nb_int> [<int_1> ... <int_nb_int>]

Create a constraint. This function is based on p3d_constraint().

p3d_constraint_dof <name> [<jnt_passif_1> ... <jnt_passif_n>] [<dof_passif_1> ... <dof_passif_n>] [<jnt_actif_1> ... <jnt_actif_m>] [<dof_actif_1> ... <dof_actif_m>] [<param_1> ... <param_o>] [<int_1> ... <int_p>]

Create a constraint. This function is based on p3d_constraint_dof(). This function is nearly the same than p3d_constraint <name> <nb_dof_passif> [<jnt_passif_1> ... <jnt_passif_nb_dof_passif>] <nb_dof_actif> [<jnt_actif_1> ... <jnt_actif_nb_dof_actif>] <nb_param> [<param_1> ... <param_nb_param>] <nb_int> [<int_1> ... <int_nb_int>], but it is possible to choose the degree of freedom in each joint.

p3d_sel_desc_name

M3D_sel_desc_name : has the same function.

p3d_set_env_box

M3D_set_env_box : has the same function.

p3d_set_robot_box

M3D_set_robot_box : has the same function.

p3d_set_robot_pos <x> <y> <z> [<Rx> <Ry>] <Rz>

Change the origine of the robot.

M3D_set_robot_pos : has the same function.

p3d_set_obst_pos

M3D_set_obst_pos : has the same function.

p3d_set_obst_pos_by_mat

M3D_set_obst_pos_by_mat : has the same function.

M3D_set_body_pos

p3d_set_robot_goto

M3D_set_robot_goto : has the same function.

p3d_set_robot_current

M3D_set_robot_current : has the same function.

p3d_set_robot_steering_method

M3D_set_robot_steering_method : has the same function.

- p3d_read_macro <name file macro> <name object> [<scale factor>]:

Read a macro description file:

- p3d_read_macro <name file macro> <name object> [<scale factor>]:

The same function than p3d_read_macro

p3d_set_min_bounds <min1> [<min2> [<min3> [...]]]

Change the minimum value of the degree of freedom controled by user. This function is based on p3d_set_user_config_min_bounds_deg().

Note:

M3D_set_min_bounds <min1> [<min2> [<min3> [...]]] : has the same function.

p3d_set_max_bounds <max1> [<max2> [<max3> [...]]]

Change the maximum value of the degree of freedom controled by user. This function is based on p3d_set_user_config_max_bounds_deg().

Note:

M3D_set_max_bounds <max> [<max2> [<max3> [...]]] : has the same function.

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines