To update *gen_sample.py* script. You can replace the script name by a directory to try to update all python scripts in it.
To update *gen_sample.py* script. You can replace the script name by a directory to try to update all python scripts in it.
There are cases where the script may fail, here is the list of changes so that you can correct you scripts yourself:
There are cases where the script may fail, here is the list of changes so that you can correct you scripts yourself:
* change of submodule of `pylmgc90` changed from`pre_lmgc`to `pre`
* change of `pre_lmgc` submodule name to `pre` (submodule of `pylmgc90`)
* in `tact_behav` constructor:`type` is replaced by `law`
* in `tact_behav` constructor, argument name`type` is replaced by `law`
* in `model` constructor:`type` is replaced by `physics`
* in `model` constructor, argument name`type` is replaced by `physics`
* in `material` constructor: `type` is replaced by `materialType`
* in `material` constructor, argument name`type` is replaced by `materialType`
* in `avatar.addContactors` method :`type` is replaced by `shape`
* in `avatar.addContactors` method, argument name`type` is replaced by `shape`
* in `avatar.rotate` method:`type` is replaced by `description`
* in `avatar.rotate` method, argument name`type` is replaced by `description`
* in `avatar.imposeDrivenDof` method:`type` is replaced by `description`
* in `avatar.imposeDrivenDof` method, argument name`type` is replaced by `description`
* in `postpro_command' constructor: `type` is replaced by `name`
* in `postpro_command' constructor, argument name `type` is replaced by `name`
* in `buildMesh2D` function: `type_mesh` is replaced by `mesh_type`
* in `buildMesh2D` function, argument name `type_mesh` is replaced by `mesh_type`
* in `avatar` constructor: `type` argument has been removed
* in `avatar` constructor, argument named `type` has been removed
* in `node` constructor: `type` argument has been removed
* in `node` constructor, argument named `type` has been removed
* in `element` constructor: `type` argument is replaced by `elem_dim` and the corresponding value must be the geometrical dimension of the element
* in `element` constructor, argument named `type` is replaced by `elem_dim` and the corresponding value must be the geometrical dimension of the element