Model.hm_wadlinessetwindscreen#

Model.hm_wadlinessetwindscreen(entities)#

Sets the rear entities (windshield) to be used to create the bonnet rear reference line.

BRRL spheres are rolled on the windscreen to collide with the front entities of the vehicle. Points of contact of these spheres with the front entities are used to construct the BRRL.

This API must be used after initializing the wadlines analysis using Model.hm_wadlinesinit().

Parameters:

entities (Collection) – The collection containing the entities being set for the windscreen. Valid values are comps.

Returns:

Example#

Set the windscreen entities to components with IDs 102 and 103#
import hm
import hm.entities as ent

model = hm.Model()

model.hm_wadlinesinit()

comps = hm.Collection(model, ent.Component, [102, 103])

model.hm_wadlinessetwindscreen(entities=comps)

model.hm_wadlinesend()