no1
) In most cases, it is not necessary to mesh 0D entites (points). Such a mesh point is automatically generated when a line which includes it on one extremity is meshed. If the point must be meshed on its own, for example when the point is the reference point of a string, it is done with the command:
point.mesh()
To create a 0D mesh element on a mesh point:
mesh.define(no, CELL_POINT, grp, no1)
where
CellPointMesher
is a mesher which generates objects of type CELL_POINT
in the topology, based on meshed geometric entities (which contains some MeshedPoints
).
Le père de la maille est mis sur l'entité passée au CellPointMesher
(pour le FieldApplicator
).
Example:
Generation of a CELL_POINT
on a ''Group' of mesh points, which come from a Bacon import for example.
mesher = CellPointMesher(groupset(no)) mesher.execute()
no1
)