Model.createfmvss201u#
- Model.createfmvss201u(side, vehicledir, exteriorpartsids, interiorpartsids, windshieldpartsids, sgrp, sgrprear, seattraveldist=127.0, wsoffset=0.0, weatherstrippingoffset=0.0, method=0, 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 marking lines and impact points on the upper interior parts of a vehicle. For correct export of the solver deck, the headform and the vehicle parts files should be imported as separate includes. The headform and the vehicle must be aligned to the global coordinate axes and vehicle front should be pointing in +X or -X direction.
- Parameters:
side (int) –
0 - Left side marking
1 - Right side marking
vehicledir (int) –
-1 - Vehicle forward direction is toward negative x-axis.
1 - Vehicle forward direction is toward positive x-axis.
exteriorpartsids (hwIntList) – The list of component IDs of the exterior roof and pillars of the vehicle. Door components should not be selected.
interiorpartsids (hwIntList) – The list of component IDs of the interior roof and pillars of the vehicle. Door components should not be selected.
windshieldpartsids (hwIntList) – The list of component IDs of the windshield (front) of the vehicle.
sgrp (hwTriple) – Location of the front seat seating reference point (SgRP Front) of the vehicle.
sgrprear (hwTriple) – Location of the rear seat seating reference point (SgRP Rear) of the vehicle.
seattraveldist (double) – The value of the seat travel distance to calculate cgf1 and cgf2 points from
sgrp.wsoffset (double) – The windshield offset double value if wind shield does not contact the interior roof in the work model.
weatherstrippingoffset (double) – The weather stripping offset double value if weather stripping part is not present in the work model.
method (int) – Reserved for future development.
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 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.
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.
opanchorage (int) –
0 - OP1 point is marked automatically.
1 - User needs to select OP1 point.
Example#
Mark all types of design points at once#import hm import hm.entities as ent model = hm.Model model.createfmvss201u( side=0, vehicledir=-1, seattraveldist=127.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], apillarpartsids=[10010], interiorroofpartsids=[10000, 10016, 10017], bpillarpartsids=[10007], rpillarpartsids=[10008], ap1=1, ap2=1, ap3=1, apbool=1, bp1=1, bp2=1, bp2pointid=ent.Node(model, 52327), bp3=1, bp4=1, bpbool=1, bphighestpointid=ent.Node(model, 73386), bplowestpointid=ent.Node(model, 53637), bpn1pointid=ent.Node(model, 52774), bpn2pointid=ent.Node(model, 51988), fh1=1, fh2=1, fhbool=1, ippointid=ent.Node(model, 57354), op1=0, op2=0, opanchorage=0, opbool=0, rh1=1, rhbool=1, rp1=1, rp2=1, rpbool=1, sr1=1, sr2h=1, sr2v=1, sr3=1, srbool=1, urbool=1, weatherstrippingoffset=0.0, wsoffset=0.0, )