Model.stiffenedpanelmesh#

Model.stiffenedpanelmesh(entity_type1, entity_type2, DeleteGeom, DestinationComp, BeamEntTypeU=0, BeamEntTypeV=0, BeamSecPropIDU=0, BeamSecPropIDV=0, BoundCurveU=0, BoundCurveV=0, CompName='', ElementID=0, ElementU=0, ElementV=0, LateralName='', LineCollection=Collection(), LongitudinalName='', NodeID=0, NoIntersectLineCollection=Collection(), ManifoldSurf=0, OriginPointID=0, PanelName='', ShellPropID=0, SurfaceCollection=Collection(), Tolerance=0.0, XDirPointID=0)#

Creates a stiffened panel mesh between lines or on surfaces.

Parameters:
  • entity_type1 (EntityFullType) – Entity type which must be set to lines.

  • entity_type2 (EntityFullType) – Entity type which must be set to surfaces.

  • DeleteGeom (int) –

    The option to keep or delete new geometries. Valid values are:

    0 - Keep new geometries

    1 - Delete new geometries

  • DestinationComp (int) –

    The component organization. Valid values are:

    0 - New component

    1 - Current component

  • BeamEntTypeU (int) – The type of beam section or property assigned to the longitudinal beams created.

  • BeamEntTypeV (int) – The type of beam section or property assigned to the lateral beams created.

  • BeamSecPropIDU (int) – The ID of the type of beam section or property assigned to the longitudinal beams created.

  • BeamSecPropIDV (int) – The ID of the type of beam section or property assigned to the lateral beams created.

  • BoundCurveU (int) – The ID of the curve to specify the U direction. Renumbering will begin where it intersects the BoundCurveV.

  • BoundCurveV (int) – The ID of the curve to specify the V direction. Renumbering will begin where it intersects the BoundCurveU.

  • CompName (hwString) – The prefix name of the components to create for beams and shells.

  • ElementID (int) – The start ID for element numbering.

  • ElementU (int) – The number of shell elements in each panel in the U direction.

  • ElementV (int) – The number of shell elements in each panel in the V direction.

  • LateralName (hwString) – The name prefix of the components created for lateral beam elements.

  • LineCollection (Collection) – The collection containing the entities.

  • LongitudinalName (hwString) – The name prefix of the components created for longitudinal beam elements.

  • NodeID (int) – The start ID for node numbering.

  • NoIntersectLineCollection (Collection) – The collection containing the input line entities.

  • ManifoldSurf (int) –

    The option to create mesh in the surfaces:

    0 - Do not mesh surfaces

    1 - Mesh surfaces

  • OriginPointID (int) – The ID of the origin point. The renumbering should begin from the origin point.

  • PanelName (hwString) – The prefix name of the components created for shell elements.

  • ShellPropID (int) – The ID of the shell property selected to assign on the shell elements created.

  • SurfaceCollection (Collection) – The collection containing the input surface entities.

  • Tolerance (double) – The tolerance for considering line intersections.

  • XDirPointID (int) – The ID of the direction point towards which the renumbering should propagate from the origin point.

Example#

Create stiffened panel mesh between selected lines#
import hm
import hm.entities as ent

model = hm.Model()

line_collection_1 = hm.Collection(model, ent.Line, [37, 39, 41, 43, 52])
line_collection_2 = hm.Collection(model, ent.Line, list(range(21, 26)))
model.stiffenedpanelmesh(
    entity_type1=ent.Line,
    entity_type2=ent.Surface,
    LineCollection=line_collection_1,
    NoIntersectLineCollection=line_collection_2,
    SurfaceCollection=hm.Collection(model, ent.Surface, populate=False),
    DeleteGeom=1,
    DestinationComp=0,
    ElementID=2004,
    NodeID=1138,
    Tolerance=2.9149397464082,
    BoundCurveV=25,
    BoundCurveU=49,
)