Model.solidmap_set_source_size#

Model.solidmap_set_source_size(size)#

Sets the source 2D mesh size for the next call to Model.solidmap_end(). This allows setting the along size (density) and the source size independently. The function applies only the next call to Model.solidmap_end(). If this function is not called before the Model.solidmap_end(), the value of the source size to set to the same as the along size.

Parameters:

size (double) – The solid map source size.

Example#

Set the solid map source size to 1.5#
import hm
import hm.entities as ent

model = hm.Model()

model.solidmap_set_source_size(size=1.5)