Model.solidmap_solids_begin3#
- Model.solidmap_solids_begin3(solidcollection, elemsize, dest_hint_collection=s_defaultCollection, elem_type=2, orthogonal_extrusion=0, src_hint_collection=s_defaultCollection)#
Initializes the line mesh parameters after resolving the density conflicts of the lines in the solid. Balances all the line densities (resolves all density conflicts), initializes the mesh parameters of these lines, and sets all possible source faces as mapped and the remainder as free.
Must be called before Model.solidmap_solids_begin or Model.solidmap_solids_begin2.
- Parameters:
solidcollection (Collection) – The collection containing the solids to mesh.
elemsize (double) – The default element size when the per edge/face meshing parameters are not available.
dest_hint_collection (Collection) – The collection containing the optional destination hint surfaces.
elem_type (unsigned int) –
The 2D element type when per face meshing parameters are not available:
0 - Tria
1 - Quad
2 - Mixed
orthogonal_extrusion (unsigned int) –
0 - Make the reparameterization of along faces more orthogonal
1 - Make the reparameterization of along faces more like parallelograms
src_hint_collection (Collection) – The collection containing the optional source hint surfaces.
Example#
Initialize the mesh parameters of lines of solid ID 1 without giving any source or destination surface hints#import hm import hm.entities as ent model = hm.Model() solid_col = hm.Collection(model,ent.Solid,[1]) model.solidmap_solids_begin3(solid_col, elemsize=2.0, elem_type=2)