Model.createfmvss201u_createpoints#

Model.createfmvss201u_createpoints(pointtype, apillarpartsids=hwIntList(), bpillarpartsids=hwIntList(), opillarpartsids=hwIntList(), rpillarpartsids=hwIntList(), interiorroofpartsids=hwIntList(), ippointid=Entity(), bp2pointid=Entity(), bphighestpointid=Entity(), bplowestpointid=Entity(), bpn1pointid=Entity(), bpn2pointid=Entity(), op1pointid=Entity(), ophighestpointid=Entity(), oplowestpointid=Entity(), opn1pointid=Entity(), opn2pointid=Entity(), rp2pointid=Entity(), sr3pointid=Entity(), fhsunroofids=hwIntList(), apbool=0, urbool=0, bpbool=0, opbool=0, rpbool=0, rhbool=0, fhbool=0, srbool=0, ap1=0, ap2=0, ap3=0, bp1=0, bp2=0, bp3=0, bp4=0, op1=0, op2=0, opanchorage=0, rp1=0, rp2=0, fh1=0, fh2=0, rh1=0, sr1=0, sr2h=0, sr2v=0, sr3=0)#

Creates a selected type of marking lines and impact points on the upper interior parts of a vehicle. Must be used after the Model.createfmvss201u_start() function or otherwise will return an error. After all the required points are created, Model.createfmvss201u_end() must be called for cleanup.

Parameters:
  • pointtype (int) –

    The type of design points to be marked. Valid values are:

    0 - AP - A Pillar

    1 - UR - Upper Roof Zone

    2 - BP - B Pillar

    3 - OP - O Pillar

    4 - RP - Rear Pillar

    5 - FH - Front Header

    6 - RH - Rear Header

    7 - SR - Side Rail

  • apillarpartsids (hwIntList) – The list of component IDs which make up the A Pillar of the vehicle on the selected side.

  • bpillarpartsids (hwIntList) – The list of component IDs of the B Pillar of the vehicle on the selected side.

  • opillarpartsids (hwIntList) – The list of component IDs of the O Pillar of the vehicle on the selected side.

  • rpillarpartsids (hwIntList) – The list of component IDs of the Rear Pillar of the vehicle on the selected side.

  • interiorroofpartsids (hwIntList) – The list of component IDs which make up the Interior roof of the vehicle. This is used for the marking of the Upper Roof Zone.

  • ippointid (Entity) – The object describing the node entity of the highest point on Instrument panel. Used in marking AP3 point.

  • bp2pointid (Entity) – The object describing the node entity where user wants to mark BP2 point.

  • bphighestpointid (Entity) – The object describing the node entity of the highest point on the door opening forward to the B Pillar. Used in marking B Pillar points.

  • bplowestpointid (Entity) – The object describing the node entity of the lowest point on the door opening forward to the B Pillar. Used in marking B Pillar points.

  • bpn1pointid (Entity) – The object describing the top node entity on the center line of the B Pillar. Used in marking B Pillar points.

  • bpn2pointid (Entity) – The object describing the bottom node entityon the center line of the B Pillar. Used in marking B Pillar points.

  • op1pointid (Entity) – The object describing the node entity where user wants to mark OP1 point.

  • ophighestpointid (Entity) – The object describing the node entity of the highest point on the door opening forward to the O Pillar. Used in marking O Pillar points.

  • oplowestpointid (Entity) – The object describing the node entity of the lowest point on the door opening forward to the O Pillar. Used in marking O Pillar points.

  • opn1pointid (Entity) – The object describing the top node entity on the center line of the O Pillar. Used in marking O Pillar points.

  • opn2pointid (Entity) – The object describing the bottom node entity on the center line of the O Pillar. Used in marking O Pillar points.

  • rp2pointid (Entity) – The object describing the node entity where user wants to mark RP1 point.

  • sr3pointid (Entity) – The object describing the node entity where user wants to mark SR3 point.

  • fhsunroofids (hwIntList) – The list of component IDs of the sunroof if sunroof parts are present. Used in marking FH2 point.

  • apbool (int) – Needs to be set to 1 if design points are to be created on A Pillar, 0 otherwise.

  • urbool (int) – Needs to be set to 1 if design points are to be created on Upper roof Zone, 0 otherwise.

  • bpbool (int) – Needs to be set to 1 if design points are to be created on B Pillar, 0 otherwise.

  • opbool (int) – Needs to be set to 1 if design points are to be created on O Pillar, 0 otherwise.

  • rpbool (int) – Needs to be set to 1 if design points are to be created on Rear Pillar, 0 otherwise.

  • rhbool (int) – Needs to be set to 1 if design points are to be created on Rear Header, 0 otherwise.

  • fhbool (int) – Needs to be set to 1 if design points are to be created on Front Header, 0 otherwise.

  • srbool (int) – Needs to be set to 1 if design points are to be created on Side Rail, 0 otherwise.

  • ap1 (int) – Needs to be set to 1 if the design point with the respective name is to be created, 0 otherwise.

  • ap2 (int) – Needs to be set to 1 if the design point with the respective name is to be created, 0 otherwise.

  • ap3 (int) – Needs to be set to 1 if the design point with the respective name is to be created, 0 otherwise.

  • bp1 (int) – Needs to be set to 1 if the design point with the respective name is to be created, 0 otherwise.

  • bp2 (int) – Needs to be set to 1 if the design point with the respective name is to be created, 0 otherwise.

  • bp3 (int) – Needs to be set to 1 if the design point with the respective name is to be created, 0 otherwise.

  • bp4 (int) – Needs to be set to 1 if the design point with the respective name is to be created, 0 otherwise.

  • op1 (int) – Needs to be set to 1 if the design point with the respective name is to be created, 0 otherwise.

  • op2 (int) – Needs to be set to 1 if the design point with the respective name is to be created, 0 otherwise.

  • opanchorage (int) –

    0 - OP1 point is marked automatically.

    1 - User needs to select OP1 point.

  • rp1 (int) – Needs to be set to 1 if the design point with the respective name is to be created, 0 otherwise.

  • rp2 (int) – Needs to be set to 1 if the design point with the respective name is to be created, 0 otherwise.

  • fh1 (int) – Needs to be set to 1 if the design point with the respective name is to be created, 0 otherwise.

  • fh2 (int) – Needs to be set to 1 if the design point with the respective name is to be created, 0 otherwise.

  • rh1 (int) – Needs to be set to 1 if the design point with the respective name is to be created, 0 otherwise.

  • sr1 (int) – Needs to be set to 1 if the design point with the respective name is to be created, 0 otherwise.

  • sr2h (int) – Needs to be set to 1 if the design point with the respective name is to be created, 0 otherwise.

  • sr2v (int) – Needs to be set to 1 if the design point with the respective name is to be created, 0 otherwise.

  • sr3 (int) – Needs to be set to 1 if the design point with the respective name is to be created, 0 otherwise.

Example#

Mark A Pillar design points, Upper Roof Zone and B Pillar design points#
import hm
import hm.entities as ent

model = hm.Model

model.createfmvss201u_start(
    side=0,
    vehicledir=-1,
    method=0,
    seattraveldist=127.0,
    weatherstrippingoffset=0.0,
    wsoffset=0.0,
    sgrp=[2000.0, -400.0, 500.0],
    sgrprear=[2800.0, -400.0, 500.0],
    exteriorpartsids=[10003, 10006],
    interiorpartsids=[10000, 10004, 10007, 10008, 10010, 10011, 10016, 10017],
    windshieldpartsids=[10001],
)

model.createfmvss201u_createpoints(
    pointtype=0, apillarpartsids=10010, ap1=1, ap2=2, ap3=1, apbool=1, ippointid=ent.Node(model,57354)
)

model.createfmvss201u_createpoints(
    pointtype=1, interiorroofpartsids=[10000, 10016, 10017], urbool=1
)

model.createfmvss201u_createpoints(
    pointtype=2,
    bpillarpartsids=[10007],
    bp1=1,
    bp2=1,
    bp2pointid=ent.Node(model,52327),
    bp3=1,
    bp4=1,
    bpbool=1,
    bphighestpointid=ent.Node(model,73386),
    bpn1pointid=ent.Node(model,52774),
    bpn2pointid=ent.Node(model,51988),
)
model.createfmvss201u_end()