{
"revuelto_innerfender_RR":
{
    "information":{
        "authors":"BeamNG",
        "name":"Rear Right Inner Fender",
        "value":150,
    },
    "slotType" : "revuelto_innerfender_RR",
    "flexbodies":[
        ["mesh", "[group]:","nonFlexMaterials"],
        ["revuelto_rear_wheelhouse_R", ["revuelto_innerfender_RR", "revuelto_quarterpanel_R"]],
    ],

    "nodes":[
         ["id", "posX", "posY", "posZ"],
         {"frictionCoef":0.5},
         {"nodeMaterial":"|NM_PLASTIC"},

         //--INNER FENDER--
         {"selfCollision":false},
         {"collision":true},
         {"nodeWeight":0.2},
         {"group":"revuelto_innerfender_RR"}
         ["rif1r",-0.803,0.469,0.143],
         ["rif2r",-0.416,1.089,0.143],
         ["rif3r",-0.503,1.189,0.584],
         ["rif4r",-0.503,1.519,0.584],
         ["rif5r",-0.503,1.66,0.205],
         ["rif6r",-0.885,1.743,0.25],
         {"group":"none"},
        ],
    "beams":[
          ["id1:", "id2:"],
          //--INNER FENDER--

          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1, "beamShortBound":1},

          //inner fender main shape
          {"deformLimitExpansion":1.2},
          {"beamSpring":100100,"beamDamp":50},
          {"beamDeform":14000,"beamStrength":"FLT_MAX"},
          ["rif2r", "rif3r"],
          ["rif3r", "rif4r"],
          ["rif4r", "rif5r"],
          ["rif5r", "rif6r"],
          ["rif6r", "q6r"],
          ["rif4r", "q6r"],
          ["rif3r", "q4r"],
          ["rif2r", "q2r"],
          ["q2r", "rif1r"],
          ["rif1r", "rif2r"],

          //surficial crossing
          {"deformLimitExpansion":""},
          {"beamDeform":6000,"beamStrength":"FLT_MAX"},
          ["q4r", "rif2r"],
          ["q2r", "rif3r"],
          ["rif3r", "rif5r"],
          ["rif4r", "rif2r"],
          ["rif4r", "rif6r"],
          ["rif5r", "q6r"],
          ["rif4r", "q5r"],
          ["q5r", "rif3r"],
          ["q4r", "rif4r"],
          ["q6r", "rif3r"],

          //rigids
          {"beamDeform":4000,"beamStrength":"FLT_MAX"},
          ["rif5r", "q4r"],
          ["rif6r", "rif3r"],
          ["q2r", "rif4r"],
          ["rif2r", "q6r"],
          ["rif1r", "q4r"],
          ["rif1r", "rif3r"],
          ["rif1r", "q3r"],

          //attach to subframe
          {"deformLimitExpansion":""},
          {"beamSpring":245000,"beamDamp":50},
          {"beamDeform":8500,"beamStrength":20000},
          {"breakGroup":"innerfender_RR_a"},
          ["rif1r", "rx10rr"],
          ["rif1r", "rx1rr"],
          ["rif1r", "rx2r"],
          ["rif1r", "rx5rr"],
          {"breakGroup":"innerfender_RR_b"},
          ["rif3r", "rx6r"],
          ["rif3r", "rx3r"],
          ["rif3r", "rx7r"],
          ["rif2r", "rx3r"],
          ["rif2r", "rx2r"],
          ["rif2r", "rx6r"],
          {"breakGroup":"innerfender_RR_c"},
          ["rif5r", "rx4r"],
          ["rif4r", "rx7r"],
          ["rif4r", "rx6r"],
          ["rif4r", "rx4r"],
          ["rif5r", "rx7r"],
          ["rif5r", "rx3r"],
          //to rear bumper
          {"breakGroup":"innerfender_RR_d"},
          {"optional":true}
          ["rif6r", "rb3rrr"],
          ["rif6r", "rb4r"],
          ["rif5r", "rb4r"],
          ["rif5r", "rb3rrr"],
          ["rif6r", "rb3rr"],
          ["rif5r", "rb3r"],
          ["rif6r", "rb2rrr"],
          {"optional":false}
          {"breakGroup":""},

          //fender support beams
          {"beamType":"|SUPPORT","beamLongBound":10},
          {"beamSpring":101000,"beamDamp":10},
          {"beamDeform":8080,"beamStrength":178000},
          ["rif1r", "rx2r"],
          ["rif1r", "rx1rr"],
          ["rif1r", "rx1r"],
          ["rif1r", "rx5rr"],
          ["q10r", "rx4"],
          ["rif4r", "rx7"],
          ["q9r", "rx6l"],
          ["rif2r", "rx3l"],

          //to rear bumper
          {"optional":true}
          ["rif5r", "rb3r"],
          ["rif6r", "rb3rr"],
          {"optional":false},

          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
          {"deformLimitExpansion":1.2},

    ],
    "triangles": [
         ["id1:","id2:","id3:"],
         //inner fender
         {"groundModel":"metal"},
         {"group":"revuelto_innerfender_RR"},
         {"dragCoef":2},
         {"triangleType":"NONCOLLIDABLE"},
         ["rif3r", "q4r",   "q5r"],
         ["rif3r", "q5r",   "rif4r"],
         ["q6r",   "rif4r", "q5r"],
         ["rif4r", "q6r",   "rif5r"],
         ["rif6r", "rif5r", "q6r"],
         ["q2r",   "q4r",   "rif2r"],
         ["rif3r", "rif2r", "q4r"],
         ["rif1r", "q2r",   "rif2r"],
         {"triangleType":"NORMALTYPE"},
         {"group":""},
    ],
},
"revuelto_innerfender_RL":
{
    "information":{
        "authors":"BeamNG",
        "name":"Rear Left Inner Fender",
        "value":150,
    },
    "slotType" : "revuelto_innerfender_RL",
    "flexbodies":[
        ["mesh", "[group]:","nonFlexMaterials"],
        ["revuelto_rear_wheelhouse_L", ["revuelto_innerfender_RL", "revuelto_quarterpanel_L"]],
    ],

    "nodes":[
         ["id", "posX", "posY", "posZ"],
         {"frictionCoef":0.5},
         {"nodeMaterial":"|NM_PLASTIC"},

         //--INNER FENDER--
         {"selfCollision":false},
         {"collision":true},
         {"nodeWeight":0.4},
         {"group":"revuelto_innerfender_RL"}
         ["rif1l",0.803,0.469,0.143],
         ["rif2l",0.416,1.089,0.143],
         ["rif3l",0.503,1.189,0.584],
         ["rif4l",0.503,1.519,0.584],
         ["rif5l",0.503,1.66,0.205],
         ["rif6l",0.885,1.743,0.25],
         {"group":"none"},
        ],
    "beams":[
          ["id1:", "id2:"],
          //--INNER FENDER--

          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1, "beamShortBound":1},

          //inner fender main shape
          {"deformLimitExpansion":1.2},
          {"beamSpring":100100,"beamDamp":50},
          {"beamDeform":14000,"beamStrength":"FLT_MAX"},
          ["rif2l", "rif3l"],
          ["rif3l", "rif4l"],
          ["rif4l", "rif5l"],
          ["rif5l", "rif6l"],
          ["rif6l", "q6l"],
          ["rif4l", "q6l"],
          ["rif3l", "q4l"],
          ["rif2l", "q2l"],
          ["q2l", "rif1l"],
          ["rif1l", "rif2l"],

          //surficial crossing
          {"deformLimitExpansion":""},
          {"beamDeform":6000,"beamStrength":"FLT_MAX"},
          ["q4l", "rif2l"],
          ["q2l", "rif3l"],
          ["rif3l", "rif5l"],
          ["rif4l", "rif2l"],
          ["rif4l", "rif6l"],
          ["rif5l", "q6l"],
          ["rif4l", "q5l"],
          ["q5l", "rif3l"],
          ["q4l", "rif4l"],
          ["q6l", "rif3l"],

          //rigids
          {"beamDeform":4000,"beamStrength":"FLT_MAX"},
          ["rif5l", "q4l"],
          ["rif6l", "rif3l"],
          ["q2l", "rif4l"],
          ["rif2l", "q6l"],
          ["rif1l", "q4l"],
          ["rif1l", "rif3l"],
          ["rif1l", "q3l"],

          //attach to subframe
          {"deformLimitExpansion":""},
          {"beamSpring":245000,"beamDamp":50},
          {"beamDeform":8500,"beamStrength":20000},
          {"breakGroup":"innerfender_RL_a"},
          ["rif1l", "rx10ll"],
          ["rif1l", "rx1ll"],
          ["rif1l", "rx2l"],
          ["rif1l", "rx5ll"],
          {"breakGroup":"innerfender_RL_b"},
          ["rif3l", "rx6l"],
          ["rif3l", "rx3l"],
          ["rif3l", "rx7l"],
          ["rif2l", "rx3l"],
          ["rif2l", "rx2l"],
          ["rif2l", "rx6l"],
          {"breakGroup":"innerfender_RL_c"},
          ["rif5l", "rx4l"],
          ["rif4l", "rx7l"],
          ["rif4l", "rx6l"],
          ["rif4l", "rx4l"],
          ["rif5l", "rx7l"],
          ["rif5l", "rx3l"],
          //to rear bumper
          {"breakGroup":"innerfender_RL_d"},
          {"optional":true}
          ["rif6l", "rb3lll"],
          ["rif6l", "rb4l"],
          ["rif5l", "rb4l"],
          ["rif5l", "rb3lll"],
          ["rif6l", "rb3ll"],
          ["rif5l", "rb3l"],
          ["rif6l", "rb2lll"],
          {"optional":false}
          {"breakGroup":""},

          //fender support beams
          {"beamType":"|SUPPORT","beamLongBound":10},
          {"beamSpring":101000,"beamDamp":10},
          {"beamDeform":8080,"beamStrength":178000},
          ["rif1l", "rx2l"],
          ["rif1l", "rx1ll"],
          ["rif1l", "rx1l"],
          ["rif1l", "rx5ll"],
          ["q10l", "rx4"],
          ["rif4l", "rx7"],
          ["q9l", "rx6r"],
          ["rif2l", "rx3r"],

          //to rear bumper
          {"optional":true}
          ["rif5l", "rb3l"],
          ["rif6l", "rb3ll"],
          {"optional":false},

          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
          {"deformLimitExpansion":1.2},

    ],
    "triangles": [
         ["id1:","id2:","id3:"],
         //inner fender
         {"groundModel":"metal"},
         {"group":"revuelto_innerfender_RL"},
         {"dragCoef":2},
         {"triangleType":"NONCOLLIDABLE"},
         ["q4l",   "rif3l", "q5l"],
         ["q5l",   "rif3l", "rif4l"],
         ["rif4l", "q6l",   "q5l"],
         ["q6l",   "rif4l", "rif5l"],
         ["rif5l", "rif6l", "q6l"],
         ["q4l",   "q2l",   "rif2l"],
         ["rif2l", "rif3l", "q4l"],
         ["q2l",   "rif1l", "rif2l"],
         {"triangleType":"NORMALTYPE"},
         {"group":""},
    ],
},
"revuelto_innerfender_RR_perf":
{
    "information":{
        "authors":"BeamNG",
        "name":"Performance Rear Right Inner Fender",
        "value":170,
    },
    "slotType" : "revuelto_innerfender_RR",
    "flexbodies":[
        ["mesh", "[group]:","nonFlexMaterials"],
        ["revuelto_rear_wheelhouse_perf_R", ["revuelto_innerfender_RR"]],
    ],

    "nodes":[
         ["id", "posX", "posY", "posZ"],
         {"frictionCoef":0.5},
         {"nodeMaterial":"|NM_PLASTIC"},

         //--INNER FENDER--
         {"selfCollision":false},
         {"collision":true},
         {"nodeWeight":0.4},
         {"group":"revuelto_innerfender_RR"}
         ["rif1r",-0.803,0.469,0.143],
         ["rif2r",-0.416,1.089,0.143],
         ["rif3r",-0.503,1.189,0.584],
         ["rif4r",-0.503,1.519,0.584],
         ["rif5r",-0.503,1.66,0.205],
         ["rif6r",-0.78,1.743,0.25],
         {"group":"none"},
        ],
    "beams":[
          ["id1:", "id2:"],
          //--INNER FENDER--

          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1, "beamShortBound":1},

          //inner fender main shape
          {"deformLimitExpansion":1.2},
          {"beamSpring":100100,"beamDamp":50},
          {"beamDeform":14000,"beamStrength":"FLT_MAX"},
          ["rif2r", "rif3r"],
          ["rif3r", "rif4r"],
          ["rif4r", "rif5r"],
          ["rif5r", "rif6r"],
          ["rif6r", "q6r"],
          ["rif4r", "q6r"],
          ["rif3r", "q4r"],
          ["rif2r", "q2r"],
          ["q2r", "rif1r"],
          ["rif1r", "rif2r"],

          //surficial crossing
          {"deformLimitExpansion":""},
          {"beamDeform":6000,"beamStrength":"FLT_MAX"},
          ["q4r", "rif2r"],
          ["q2r", "rif3r"],
          ["rif3r", "rif5r"],
          ["rif4r", "rif2r"],
          ["rif4r", "rif6r"],
          ["rif5r", "q6r"],
          ["rif4r", "q5r"],
          ["q5r", "rif3r"],
          ["q4r", "rif4r"],
          ["q6r", "rif3r"],

          //rigids
          {"beamDeform":4000,"beamStrength":"FLT_MAX"},
          ["rif5r", "q4r"],
          ["rif6r", "rif3r"],
          ["q2r", "rif4r"],
          ["rif2r", "q6r"],
          ["rif1r", "q4r"],
          ["rif1r", "rif3r"],
          ["rif1r", "q3r"],

          //attach to subframe
          {"deformLimitExpansion":""},
          {"beamSpring":245000,"beamDamp":50},
          {"beamDeform":8500,"beamStrength":20000},
          {"breakGroup":"innerfender_RR_a"},
          ["rif1r", "rx10rr"],
          ["rif1r", "rx1rr"],
          ["rif1r", "rx2r"],
          ["rif1r", "rx5rr"],
          {"breakGroup":"innerfender_RR_b"},
          ["rif3r", "rx6r"],
          ["rif3r", "rx3r"],
          ["rif3r", "rx7r"],
          ["rif2r", "rx3r"],
          ["rif2r", "rx2r"],
          ["rif2r", "rx6r"],
          {"breakGroup":"innerfender_RR_c"},
          ["rif5r", "rx4r"],
          ["rif4r", "rx7r"],
          ["rif4r", "rx6r"],
          ["rif4r", "rx4r"],
          ["rif5r", "rx7r"],
          ["rif5r", "rx3r"],
          //to rear bumper
          {"breakGroup":"innerfender_RR_d"},
          {"optional":true}
          ["rif6r", "rb3rrr"],
          ["rif6r", "rb4r"],
          ["rif5r", "rb4r"],
          ["rif5r", "rb3rrr"],
          ["rif6r", "rb3rr"],
          ["rif5r", "rb3r"],
          ["rif6r", "rb2rrr"],
          {"optional":false}
          {"breakGroup":""},

          //fender support beams
          {"beamType":"|SUPPORT","beamLongBound":10},
          {"beamDeform":8080,"beamStrength":178000},
          ["rif1r", "rx2r"],
          ["rif1r", "rx1rr"],
          ["rif1r", "rx1r"],
          ["rif1r", "rx5rr"],
          ["q10r", "rx4"],
          ["rif4r", "rx7"],
          ["q9r", "rx6l"],
          ["rif2r", "rx3l"],

          //to rear bumper
          {"optional":true}
          ["rif5r", "rb3r"],
          ["rif6r", "rb3rr"],
          {"optional":false},

          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
          {"deformLimitExpansion":1.2},

    ],
    "triangles": [
         ["id1:","id2:","id3:"],
         //inner fender
         {"groundModel":"metal"},
         {"group":"revuelto_innerfender_RR"},
         {"dragCoef":2},
         {"triangleType":"NONCOLLIDABLE"},
         ["rif3r", "q4r",   "q5r"],
         ["rif3r", "q5r",   "rif4r"],
         ["q6r",   "rif4r", "q5r"],
         ["rif4r", "q6r",   "rif5r"],
         ["rif6r", "rif5r", "q6r"],
         ["q2r",   "q4r",   "rif2r"],
         ["rif3r", "rif2r", "q4r"],
         ["rif1r", "q2r",   "rif2r"],
         {"triangleType":"NORMALTYPE"},
         {"group":""},
    ],
},
"revuelto_innerfender_RL_perf":
{
    "information":{
        "authors":"BeamNG",
        "name":"Performance Rear Left Inner Fender",
        "value":170,
    },
    "slotType" : "revuelto_innerfender_RL",
    "flexbodies":[
        ["mesh", "[group]:","nonFlexMaterials"],
        ["revuelto_rear_wheelhouse_perf_L", ["revuelto_innerfender_RL"]],
    ],

    "nodes":[
         ["id", "posX", "posY", "posZ"],
         {"frictionCoef":0.5},
         {"nodeMaterial":"|NM_PLASTIC"},

         //--INNER FENDER--
         {"selfCollision":false},
         {"collision":true},
         {"nodeWeight":0.4},
         {"group":"revuelto_innerfender_RL"}
         ["rif1l",0.803,0.469,0.143],
         ["rif2l",0.416,1.089,0.143],
         ["rif3l",0.503,1.189,0.584],
         ["rif4l",0.503,1.519,0.584],
         ["rif5l",0.503,1.66,0.205],
         ["rif6l",0.78,1.743,0.25],
         {"group":"none"},
        ],
    "beams":[
          ["id1:", "id2:"],
          //--INNER FENDER--

          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1, "beamShortBound":1},

          //inner fender main shape
          {"deformLimitExpansion":1.2},
          {"beamSpring":100100,"beamDamp":50},
          {"beamDeform":14000,"beamStrength":"FLT_MAX"},
          ["rif2l", "rif3l"],
          ["rif3l", "rif4l"],
          ["rif4l", "rif5l"],
          ["rif5l", "rif6l"],
          ["rif6l", "q6l"],
          ["rif4l", "q6l"],
          ["rif3l", "q4l"],
          ["rif2l", "q2l"],
          ["q2l", "rif1l"],
          ["rif1l", "rif2l"],

          //surficial crossing
          {"deformLimitExpansion":""},
          {"beamDeform":6000,"beamStrength":"FLT_MAX"},
          ["q4l", "rif2l"],
          ["q2l", "rif3l"],
          ["rif3l", "rif5l"],
          ["rif4l", "rif2l"],
          ["rif4l", "rif6l"],
          ["rif5l", "q6l"],
          ["rif4l", "q5l"],
          ["q5l", "rif3l"],
          ["q4l", "rif4l"],
          ["q6l", "rif3l"],

          //rigids
          {"beamDeform":4000,"beamStrength":"FLT_MAX"},
          ["rif5l", "q4l"],
          ["rif6l", "rif3l"],
          ["q2l", "rif4l"],
          ["rif2l", "q6l"],
          ["rif1l", "q4l"],
          ["rif1l", "rif3l"],
          ["rif1l", "q3l"],

          //attach to subframe
          {"deformLimitExpansion":""},
          {"beamSpring":245000,"beamDamp":50},
          {"beamDeform":8500,"beamStrength":20000},
          {"breakGroup":"innerfender_RL_a"},
          ["rif1l", "rx10ll"],
          ["rif1l", "rx1ll"],
          ["rif1l", "rx2l"],
          ["rif1l", "rx5ll"],
          {"breakGroup":"innerfender_RL_b"},
          ["rif3l", "rx6l"],
          ["rif3l", "rx3l"],
          ["rif3l", "rx7l"],
          ["rif2l", "rx3l"],
          ["rif2l", "rx2l"],
          ["rif2l", "rx6l"],
          {"breakGroup":"innerfender_RL_c"},
          ["rif5l", "rx4l"],
          ["rif4l", "rx7l"],
          ["rif4l", "rx6l"],
          ["rif4l", "rx4l"],
          ["rif5l", "rx7l"],
          ["rif5l", "rx3l"],
          //to rear bumper
          {"breakGroup":"innerfender_RL_d"},
          {"optional":true}
          ["rif6l", "rb3lll"],
          ["rif6l", "rb4l"],
          ["rif5l", "rb4l"],
          ["rif5l", "rb3lll"],
          ["rif6l", "rb3ll"],
          ["rif5l", "rb3l"],
          ["rif6l", "rb2lll"],
          {"optional":false}
          {"breakGroup":""},

          //fender support beams
          {"beamType":"|SUPPORT","beamLongBound":10},
          {"beamDeform":8080,"beamStrength":178000},
          ["rif1l", "rx2l"],
          ["rif1l", "rx1ll"],
          ["rif1l", "rx1l"],
          ["rif1l", "rx5ll"],
          ["q10l", "rx4"],
          ["rif4l", "rx7"],
          ["q9l", "rx6r"],
          ["rif2l", "rx3r"],

          //to rear bumper
          {"optional":true}
          ["rif5l", "rb3l"],
          ["rif6l", "rb3ll"],
          {"optional":false},

          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
          {"deformLimitExpansion":1.2},

    ],
    "triangles": [
         ["id1:","id2:","id3:"],
         //inner fender
         {"groundModel":"metal"},
         {"group":"revuelto_innerfender_RL"},
         {"dragCoef":2},
         {"triangleType":"NONCOLLIDABLE"},
         ["q4l",   "rif3l", "q5l"],
         ["q5l",   "rif3l", "rif4l"],
         ["rif4l", "q6l",   "q5l"],
         ["q6l",   "rif4l", "rif5l"],
         ["rif5l", "rif6l", "q6l"],
         ["q4l",   "q2l",   "rif2l"],
         ["rif2l", "rif3l", "q4l"],
         ["q2l",   "rif1l", "rif2l"],
         {"triangleType":"NORMALTYPE"},
         {"group":""},
    ],
},
}