Model.CE_DetailSetDouble#

Model.CE_DetailSetDouble(connector_id, detail_name, double_value, reserved, force_storage)#

Sets a double connector detail for a single connector.

Parameters:
  • connector_id (unsigned int) – The ID of connector to update.

  • detail_name (hwString) –

    The name of the standard double detail, or user-defined double detail, to update. Standard double details include:

    • ce_appliedmass

    The mass value to be applied.

    Value ≥ 0

    • ce_areaconstthickness

    The constant thickness (for area connectors).

    Value ≥ 0

    • ce_aspect

    Fail hexas with aspect ratio greater than this value.

    Value ≥ 0

    • ce_bl_connection_ang

    The maximum angle allowed between two shells for B connection.

    Value ≥ 0

    • ce_bodylen

    The bolt body length.

    Value ≥ 0

    • ce_boltmaxdiameter

    The maximum diameter to be considered a bolt hole.

    Value ≥ 0

    • ce_boltmaxfeatureangle

    The maximum feature angle to identify a solid bolt hole.

    Value ≥ 0

    • ce_boltmindiameter

    The minimum diameter to be considered a bolt hole.

    Value ≥ 0

    • ce_boltminfeatureangle

    The minimum feature angle to identify a solid bolt hole.

    Value ≥ 0

    • ce_boltthread

    The bolt thread length.

    Value ≥ 0

    • ce_centered_quad_pos_tol

    The quad position tolerance.

    Value ≥ 0

    • ce_centered_quad_scale_tol

    The quad scale tolerance.

    Value ≥ 0

    • ce_centered_quad_size_tol

    The quad size tolerance

    Value ≥ 0

    • ce_centered_quad_translate_tol

    The quad translate tolerance.

    Value ≥ 0

    • ce_cylinder_diameter

    Define cylinder using this value as diameter.

    Value ≥ 0

    • ce_cylinder_diameter_factor

    Define the cylinder using this value as a factor.

    Value ≥ 0

    • ce_dia_factor

    The cylinder bolt diameter factor.

    Value ≥ 0

    • ce_diameter

    The diameter required by the realization.

    Value ≥ 0

    • ce_fe_capangle

    The angle between an ending cap element face and shell edge.

    Value ≥ 0

    • ce_fe_const_height

    The hexa constant thickness.

    Value ≥ 0

    • ce_fe_depth

    The penta width.

    Value ≥ 0

    • ce_fe_factor_a

    The hexa thickness, by multiplying this value using the smallest shell thickness.

    Value ≥ 0

    • ce_fe_factor_b

    The hexa position, by adding this value using the half of the thickness.

    Value ≥ 0

    • ce_fe_featureangle

    The feature break angle for locating RBE3 nodes.

    Value ≥ 0

    • ce_fe_hexa_to_washer_offset

    The offset from the hexa boundary to the washer inner diameter.

    Value ≥ 0

    • ce_fe_height

    The quad position in the vertical direction.

    Value ≥ 0

    • ce_fe_maint_gaps

    The gap value between a hexa face and a shell.

    Value ≥ 0

    • ce_fe_offsetangle

    The angle between quad and vertical direction.

    Value ≥ 0

    • ce_fe_rbe3radius

    The radius defining the circular area for locating RBE3 nodes.

    Value ≥ 0

    • ce_fe_runoffangle

    The deviating angle of the quad next to an ending cap element.

    Value ≥ 0

    • ce_fe_tapered_t_angle

    The angle of the tapered T weld.

    Value ≥ 0

    • ce_fe_tapered_t_d

    The thickness of the tapered T weld.

    Value ≥ 0

    • ce_fe_tapered_t_h

    The height of the tapered T weld.

    Value ≥ 0

    • ce_fe_tapered_t_h1

    The height of the tapered T weld.

    Value ≥ 0

    • ce_fe_tapered_t_h2

    The width of the tapered T weld.

    Value ≥ 0

    • ce_fe_width

    The penta depth.

    Value ≥ 0

    • ce_hexa_position_distance

    Move hexa by this distance from default position.

    Value ≥ 0

    • ce_jacobian

    Fails hexas with Jacobian less than provided value.

    Value ≥ 0

    • ce_l1

    The cylinder bolt length for L1 direction.

    Value ≥ 0

    • ce_l1d1

    The cylinder bolt diameter for L1 direction.

    Value ≥ 0

    • ce_l2

    The cylinder bolt length for L2 direction.

    Value ≥ 0

    • ce_l2d2

    The cylinder bolt diameter for L2 direction.

    Value ≥ 0

    • ce_lt_connection_ang

    The minimum angle allowed between two shells for T connection.

    Value ≥ 0

    • ce_new_diameter

    The diameter value used for punching a new bolt hole during realization.

    Value ≥ 0

    • ce_no_hole_diameter

    The diameter value when there is no hole during realization.

    Value ≥ 0

    • ce_normal_angle

    The deviation angle allowed for normal projection.

    Value ≥ 0

    • ce_offset

    Line connector end offset value.

    Value ≥ 0

    • ce_quad_size

    The quad size for the quad transition.

    Value ≥ 0

    • ce_seam_break_len

    The break length before the next weld.

    Value ≥ 0

    • ce_seam_elem_len

    The hexa element length.

    Value ≥ 0

    • ce_seam_discontinuity_lower_tol

    The lower bound tolerance allowed by the weld length.

    Value ≥ 0

    • ce_seam_discontinuity_upper_tol

    The upper bound tolerance allowed by the weld length.

    Value ≥ 0

    • ce_seam_weld_len

    The weld length before the next break.

    Value ≥ 0

    • ce_spacing

    The spacing value for a line or seam connector.

    Value ≥ 0

    • ce_tolerance

    The tolerance value specified during connector FE realization.

    Value ≥ 0

    • ce_washer_elem_size

    The element size around a bolt hole.

    Value ≥ 0

    • ce_washer_scale_1

    The 1st washer’s width using a scale of bolt radius.

    Value ≥ 0

    • ce_washer_scale_2

    The 2nd washer’s width using a scale of bolt radius.

    Value ≥ 0

    • ce_washer_width_1

    The 1st washer’s width using this value.

    Value ≥ 0

    • ce_washer_width_2

    The 2nd washer’s width using this value.

    Value ≥ 0

  • double_value (double) – The double value to update for the detail.

  • reserved (unsigned int) – Reserved for future development. Must be set to 0.

  • force_storage (unsigned int) –

    0 - Do not store user-defined detail.

    1 - Store user-defined detail.

Examples#

Set the tolerance to 10.0 for connector with ID 1#
import hm
import hm.entities as ent

model = hm.Model()

model.CE_DetailSetDouble(
    connector_id=1,
    detail_name="ce_tolerance",
    float_value=10.0,
    reserved=0,
    force_storage=0,
)
Set a user-defined double detail “test” to a value of 5.0 for connector with ID 2#
import hm
import hm.entities as ent

model = hm.Model()

model.CE_DetailSetDouble(
    connector_id=2,
    detail_name="test",
    float_value=5.0,
    reserved=0,
    force_storage=1,
)