Skip to main content

L_GearBaseConstructionTab

Written by Julien

Column Name

Description

Data Type

Length

Allow Nulls

Default

GBC_RID

ID-No. of the gear base construction

(ID-No.=RID number of the base construction)
consecutive number

Integer

4

0
​

GBC_MF_RID

ID-No. of the manufacturer
​
ID-No.=RID number of the manufacturer (MF_RID)

Integer

4

✓

0
​

GBC_PG_GRP

No. of the profile-group construction for the corresponding gear base construction.

Additional parameters:

[4] = shaft width

[5] = shaft depth

[6] = shaft high

[45] = cabin width

[46] = cabin depth

void

CGrGearBaseConstructionComp::SetProfilGruppenParameter(double *pData)

{

CGrShaftComp *pShaft = GetShaft();

pData[0] = m_DX;

pData[1] = m_DY;

pData[2] = m_DZ;

pData[3] = m_Z0;

pData[4] = pShaft->m_DX;

pData[5] = pShaft->m_DY;

pData[6] = pShaft->m_DZ;

// Abstand von der Vorderkante der Kabinentür bis zur Mittellinie

CGrMittelpunktComp *pMPunkt = (CGrMittelpunktComp *)pShaft->m_pMPunkt;

pData[7] = pMPunkt->m_X0_Edit;

pData[8] = pMPunkt->m_X1_Edit;

pData[9] = pMPunkt->m_Y0_Edit;

pData[10] = pMPunkt->m_Y1_Edit;

pData[11] = 0;

pData[12] = 0;

pData[13] = 0;

pData[14] = 0;

pData[15] = 0;

pData[16] = 0;

CGrCWKonsolenComp *pCW = pShaft->FindCWKonsolenComp();

if(pCW)

{

pData[11] = pCW->m_CL_DELTA_DIST;

pData[12] = pCW->m_CL_Y_CL_Edit;

}

GPoint Delta;

Delta.Sub(pShaft->m_pWorldRoot->m_R0, pShaft->m_pGear->m_pTreibscheibe->m_pWorldRoot->m_R0);

pShaft->m_pWorldRoot->ReRotate(&Delta);

pData[13] = Delta.m_x;

pData[14] = Delta.m_y;

pData[15] = m_MB_V_X1;

pData[16] = m_MB_V_X2;

pData[17] = m_MB_V_WF_X0;

pData[18] = m_MB_V_WF_LEN;

pData[19] = m_MB_V_OVL1;

pData[20] = m_MB_V_OVL2;

pData[21] = m_MB_V_WIDTH;

pData[22] = m_AB_V_X0;

pData[23] = m_AB_V_WF_X0;

pData[24] = m_AB_V_WF_LEN;

pData[25] = m_AB_V_OVL1;

pData[26] = m_AB_V_OVL2;

pData[27] = m_AB_V_WIDTH;

pData[28] = m_AB_V_HEIGHT;

pData[29] = m_AB_V_Z0;

pData[30] = m_MB_H_Y1;

pData[31] = m_MB_H_Y2;

pData[32] = m_MB_H_WF_Y0;

pData[33] = m_MB_H_WF_LEN;

pData[34] = m_MB_H_OVL3;

pData[35] = m_MB_H_OVL4;

pData[36] = m_MB_H_WIDTH;

pData[37] = m_AB_H_Y0;

pData[38] = m_AB_H_WF_Y0;

pData[39] = m_AB_H_WF_LEN;

pData[40] = m_AB_H_OVL3;

pData[41] = m_AB_H_OVL4;

pData[42] = m_AB_H_WIDTH;

pData[43] = m_AB_H_HEIGHT;

pData[44] = m_AB_H_Z0;

pData[45] = pShaft->m_pCar->m_KB_Edit;

pData[46] = pShaft->m_pCar->m_KT_Edit;

pData[47] = pShaft->m_pCar->m_pFrame->GET_DBG();

pData[48] = m_RELATIVE_DZ_Edit;

pData[50] = m_pGearBaseConstructionSet->m_GBC_USER_PG_50;

pData[51] = m_pGearBaseConstructionSet->m_GBC_USER_PG_51;

pData[52] = m_pGearBaseConstructionSet->m_GBC_USER_PG_52;

pData[53] = m_pGearBaseConstructionSet->m_GBC_USER_PG_53;

pData[54] = m_pGearBaseConstructionSet->m_GBC_USER_PG_54;

pData[55] = m_pGearBaseConstructionSet->m_GBC_USER_PG_55;

pData[56] = m_pGearBaseConstructionSet->m_GBC_USER_PG_56;

pData[57] = m_pGearBaseConstructionSet->m_GBC_USER_PG_57;

pData[58] = m_pGearBaseConstructionSet->m_GBC_USER_PG_58;

pData[59] = m_pGearBaseConstructionSet->m_GBC_USER_PG_59;

pData[60] = m_pGearBaseConstructionSet->m_GBC_USER_PG_60;

pData[61] = m_pGearBaseConstructionSet->m_GBC_USER_PG_61;

pData[62] = m_pGearBaseConstructionSet->m_GBC_USER_PG_62;

pData[63] = m_pGearBaseConstructionSet->m_GBC_USER_PG_63;

pData[64] = m_pGearBaseConstructionSet->m_GBC_USER_PG_64;

pData[65] = m_pGearBaseConstructionSet->m_GBC_USER_PG_65;

pData[66] = m_pGearBaseConstructionSet->m_GBC_USER_PG_66;

pData[67] = m_pGearBaseConstructionSet->m_GBC_USER_PG_67;

pData[68] = m_pGearBaseConstructionSet->m_GBC_USER_PG_68;

pData[69] = m_pGearBaseConstructionSet->m_GBC_USER_PG_69;

if(pCW)

{

pData[70] = pCW->m_pCWSingle->m_CompDist;

pData[71] = pCW->m_pCWSingle->m_CW_Y_TIEFE_Edit;

}

pData[72] = pShaft->m_pCar->m_OuterCompDist[3];

pData[73] = pShaft->m_pCar->m_OuterCompDist[4];

pData[81] = pShaft->m_pCar->m_K_Y0_Edit;

pData[82] = pShaft->m_DY - pShaft->m_pCar->m_K_Y0_Edit - pShaft->m_pCar->m_KT_Edit;

pData[83] = pShaft->m_pCar->m_K_X0_Edit;

pData[84] = pShaft->m_DX - pShaft->m_pCar->m_K_X0_Edit - pShaft->m_pCar->m_KB_Edit;

}

Integer

4

0
​

GBC_DESC

Description of the gear base construction

VarWChar

50

✓

GBC_SUB_DESC

Sub-description of the gear base construction

VarWChar

50

✓

GBC_DX

[0],

Double

9

✓

0
​

GBC_DY

[1],

Double

9

✓

0
​

GBC_DZ

[2],

Double

9

✓

0
​

GBC_MB_V_X1

[15],

Double

9

✓

0
​

GBC_MB_V_X2

[16],

Double

9

✓

0
​

GBC_MB_V_WF_X0

[17],

Double

9

✓

0
​

GBC_MB_V_WF_LEN

[18],

Double

9

✓

0
​

GBC_MB_V_OVL1

[19],

Double

9

✓

0
​

GBC_MB_V_OVL2

[20],

Double

9

✓

0
​

GBC_MB_V_WIDTH

[21],

Double

9

✓

0
​

GBC_AB_V_X0

[22],

Double

9

✓

0
​

GBC_AB_V_WF_X0

[23],

Double

9

✓

0
​

GBC_AB_V_WF_LEN

[24],

Double

9

✓

0
​

GBC_AB_V_OVL1

[25],

Double

9

✓

0
​

GBC_AB_V_OVL2

[26],

Double

9

✓

0
​

GBC_AB_V_WIDTH

[27],

Double

9

✓

0
​

GBC_AB_V_HEIGHT

[28],

Double

9

✓

0
​

GBC_AB_V_Z0

[29],

Double

9

✓

0
​

GBC_MB_H_Y1

[30],

Double

9

✓

0
​

GBC_MB_H_Y2

[31],

Double

9

✓

0
​

GBC_MB_H_WF_Y0

[32],

Double

9

✓

0
​

GBC_MB_H_WF_LEN

[33],

Double

9

✓

0
​

GBC_MB_H_OVL3

[34],

Double

9

✓

0
​

GBC_MB_H_OVL4

[35],

Double

9

✓

0
​

GBC_MB_H_WIDTH

[36],

Double

9

✓

0
​

GBC_AB_H_Y0

[37],

Double

9

✓

0
​

GBC_AB_H_WF_Y0

[38],

Double

9

✓

0
​

GBC_AB_H_WF_LEN

[39],

Double

9

✓

0
​

GBC_AB_H_OVL3

[40],

Double

9

✓

0
​

GBC_AB_H_OVL4

[41],

Double

9

✓

0
​

GBC_AB_H_WIDTH

[42],

Double

9

✓

0
​

GBC_AB_H_HEIGHT

[43],

Double

9

✓

0
​

GBC_AB_H_Z0

[44],

Double

9

✓

0
​

GBC_MODE

Integer

4

✓

0
​

GBC_USER_PG_50

Double

9

✓

0
​

GBC_USER_PG_51

Double

9

✓

0
​

GBC_USER_PG_52

Double

9

✓

0
​

GBC_USER_PG_53

Double

9

✓

0
​

GBC_USER_PG_54

Double

9

✓

0
​

GBC_PART_NO

VarWChar

50

✓

GBC_USER_PG_55

Double

9

✓

0
​

GBC_USER_PG_56

Double

9

✓

0
​

GBC_USER_PG_57

Double

9

✓

0
​

GBC_USER_PG_58

Double

9

✓

0
​

GBC_USER_PG_59

Double

9

✓

0
​

GBC_USER_PG_60

Double

9

✓

0
​

GBC_USER_PG_61

Double

9

✓

0
​

GBC_USER_PG_62

Double

9

✓

0
​

GBC_USER_PG_63

Double

9

✓

0
​

GBC_USER_PG_64

Double

9

✓

0
​

GBC_USER_PG_65

Double

9

✓

0
​

GBC_USER_PG_66

Double

9

✓

0
​

GBC_USER_PG_67

Double

9

✓

0
​

GBC_USER_PG_68

Double

9

✓

0
​

GBC_USER_PG_69

Double

9

✓

0
​

Did this answer your question?