'qmsh' RETURN 'f'|'v'|'n'|'l'|'c'|'s'|'m'|'d'|'q'
A very usefull command to optimize surface meshes as a basis for tet-meshes. Based on identified lines ``l'' or surfaces ``s'' meshes can be deleted ``d'' and generated ``m''. Surfaces can be combined ``c'' to get rid of very small ones (usually first identified by a common line with ``l''). Example:
A surface (without holes) can be splitted by a new line:
- Identify a line with key ``l''. The related surfaces are selected.
- Then press key ``d'' if the mesh retated to this surfaces should be deleted.
- The line divisions might be changed by pressing the key with the desired number. This function of qmsh works like the ``qdiv'' command.
- Press key ``m'' to re-mesh the surfaces
- To combine two selected surfaces press key ``c'' (after selecting surfaces individually or by selecting a line).
- First create the desired splitting line, for example with ``qlin''.
- Convert the line to a spline with ``qseq'' (optional)
- Project the line-points to the surface with ``qpnt'' or ``proj'' (optional)
- Type ``qmsh'' and identify the line with key ``l''.
- Identify the surface with key ``s''.
- Press key ``b'' to break (split) the surface in two.
This keyword is also used to manually define elements. The key ``n'' selects nodes and the key ``s'' or ``v'' generate a surface or volume element based on the node-selection. Mostly used to repair stl files manually.