Model.hm_estimategeomthicknesslimits#

Model.hm_estimategeomthicknesslimits(entityCollection, elemSize=0)#

Returns the minimum and maximum thickness limits for thin solid geometry.

Parameters:
  • entityCollection (Collection) – The collection containing the entities to query. Valid entities are surfaces and elements.

  • elemSize (double) – The element size to be used for internal meshing.

Returns:

  • hwReturnStatus - Status object

  • HmQueryResult - Result object containing the output values:

    • minimumThickness (double)

    • maximumThickness (double)

Example#

find the thickness limits for solid ID 100#
import hm
import hm.entities as ent

model = hm.Model()

_, result = model.hm_estimategeomthicknesslimits(entityCollection=hm.Collection(model, ent.Solid))

print("minimumThickness", result.minimumThickness)
print("maximumThickness", result.maximumThickness)