sfepy.scripts.combine_meshes module

Create a mesh by combining one or more meshes centered at specified coordinates.

Usage Examples

  • Create a cylinder mesh:

    sfepy-mesh cylinder -a z -d 0.3,0.3,0.34,0.34,0.45 -s 2,8,8 -o cyl1.vtk
    sfepy-mesh info cyl1.vtk
    
  • Place the mesh at two sites:

    sfepy-mesh combine 'cyl1.vtk=[0.0,0.0,-0.275]' 'cyl1.vtk=[0.0,0.0,+0.275]' -o cut-cyl1.vtk
    sfepy-mesh info cut-cyl1.vtk
    
sfepy.scripts.combine_meshes.add_args(parser)[source]
sfepy.scripts.combine_meshes.combine_meshes(options)[source]
sfepy.scripts.combine_meshes.main()[source]