Model.createsinglewallbulkhead#
- Model.createsinglewallbulkhead(elementsCollection, domElementsCollection, normal, plane_point, flange_width, mesh_elem_size, thickness, offset, realizeconnectors=True, material=Entity(), connectorControl=Entity())#
Creates single wall bulkhead at the C section formed by selected elements with given width of flanges and sets the thickness property card with given thickness.
- Parameters:
elementsCollection (Collection) – The collection containing the element entities of the C section.
domElementsCollection (Collection) – The collection containing the element entities from the dominant face of C section
normal (hwTriple) – The normal direction defining the main bulkhead plane.
plane_point (hwTriple) – The coordinates of the base point defining the position of the bulkhead.
flange_width (double) – The width of the bulkhead flanges.
mesh_elem_size (double) – The element size used for the bulkhead mesh.
thickness (double) – The thickness value assigned to the property card of the bulkhead.
offset (double) – The extra offset value for the bulkhead flanges. The default offset value is calculated from the C section thickness and the specified bulkhead thickness.
realizeconnectors (bool) –
The flag enabling connector realizations.
False - Connectors are not realized.
True - Connectors are realized.
material (Entity) – The object describing the material entity which will be set as the material property for the created bulkhead. This is an optional argument.
connectorControl (Entity) – The object describing the connectorcontrol entity used to realize the connectors.
Example#
Create a single wall bulkhead in a C section defined by elements with IDs 1 - 9889 , with elements with IDs 8396 and 8418 from the dominant face , with the base point at x= 42.6 , y = -21.9 , z = 223.9 , the normal vector ( 0 , 0 , -1 ) , the width of flanges 32.0 , element size of 3.0 , thickness of 2.0 and with no extra offset#import hm import hm.entities as ent model = hm.Model() model.createsinglewallbulkhead( elementsCollection=hm.Collection(model, ent.Element, list(range(1, 9890))), domElementsCollection=hm.Collection(model, ent.Element, list(8396, 8418)), normal=[0, 0, -1], plane_point=[42.6, -21.9, 223.9], flange_width=32.0, mesh_elem_size=3.0, thickness=2.0, offset=0.0, )