{
"etk800ute_armchair": {
    "information":{
        "authors":"BeamNG",
        "name":"Armchair",
        "value":300,
    },
    "slotType" : "etk800_tubextra_ute",
    "flexbodies": [
        ["mesh", "[group]:", "nonFlexMaterials"],
        ["chair_body", ["1armchair"],[],{"pos":{"x":0.0, "y":1.359, "z":0.583}, "rot":{"x":0.00, "y":0.0, "z":90.0}}],
        ["couch_cushion_M", ["cushion_M"],[],{"pos":{"x":0.0, "y":1.359, "z":0.583} "rot":{"x":0.00, "y":0.0, "z":90.0}}],
    ],
    "slots": [
        ["type", "default", "description"],
        ["etk800ute_armchair_strap","etk800ute_armchair_strap","Straps"],
        ["skin_couch","couch_skin_stripes","Fabric type", {"coreSlot":true}],
    ],
    "nodes": [
        ["id", "posX", "posY", "posZ"],
        {"frictionCoef":1.0},
        {"nodeMaterial":"|NM_WOOD"},
        {"collision":true},
        {"selfCollision":true},
        {"group":"1armchair"},
        {"nodeWeight":2},
        ["1armchair1l", 0.36000, 1.79020, 0.58458],
        ["1armchair1r", 0.36000, 0.93020, 0.58458],
        ["1armchair2l", -0.34000, 1.79020, 0.58458],
        ["1armchair2r", -0.34000, 0.93020, 0.58458],
        {"nodeMaterial":"|NM_CLOTH"},
        {"nodeWeight":1.25},
        ["1armchair3ll", 0.41000, 1.96020, 1.27958],
        ["1armchair3rr", 0.41000, 0.76020, 1.27958],
        ["1armchair4ll", -0.34000, 1.96020, 1.27958],
        ["1armchair4rr", -0.34000, 0.76020, 1.27958],

        ["1armchair8", -0.41000, 1.36020, 1.46958],

        ["1armchair5l", 0.41000, 1.66020, 1.27958],
        ["1armchair5r", 0.41000, 1.06020, 1.27958],



        ["1armchair4l", -0.19000, 1.66020, 0.88958],
        ["1armchair4r", -0.19000, 1.06020, 0.88958],
        ["1armchair6l", -0.23000, 1.66020, 1.29958],
        ["1armchair6", -0.23000, 1.36020, 1.29958{"group":""}],
        ["1armchair6r", -0.23000, 1.06020, 1.29958],
        ["1armchair3l", 0.41000, 1.66020, 0.88958],
        ["1armchair3r", 0.41000, 1.06020, 0.88958],
        //cushion
        {"group":"cushion_M"},
        ["1armchaircsh1l", 0.38000, 1.63520, 0.89958],
        ["1armchaircsh1r", 0.38000, 1.08520, 0.89958],
        ["1armchaircsh2l", -0.19000, 1.63520, 0.89958],
        ["1armchaircsh2r", -0.19000, 1.08520, 0.89958],

        ["1armchaircsh3l", 0.38000, 1.63520, 1.03958],
        ["1armchaircsh3r", 0.38000, 1.08520, 1.03958],
        ["1armchaircsh4l", -0.19000, 1.63520, 1.03958],
        ["1armchaircsh4r", -0.19000, 1.08520, 1.03958],

        //cushion guide nodes
        {"group":""},
        {"nodeMaterial":"|NM_WOOD"},
        ["1armchaircshg1l", 0.41000, 1.51020, 0.88958],
        ["1armchaircshg1r", 0.41000, 1.21020, 0.88958],
        ["1armchaircshg2l", 0.41000, 1.66020, 0.94958],
        ["1armchaircshg2r", 0.41000, 1.06020, 0.94958],
        {"nodeWeight":2},

        {"collision":true},
        {"selfCollision":true},

        ],
    "beams": [
        ["id1:", "id2:"],
        {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1, "beamShortBound":1},
        {"beamSpring":450000,"beamDamp":150},
        {"beamDeform":2000,"beamStrength":72000},
        {"deformLimitExpansion":1.2},
        {"deformLimit":1.5},



        //middle section
		//vertical
        ["1armchair2l", "1armchair4l"],
        ["1armchair1l", "1armchair3l"],
        ["1armchair2r", "1armchair4r"],
        ["1armchair1r", "1armchair3r"],
        ["1armchair3l", "1armchair5l"],
        ["1armchair3r", "1armchair5r"],
        ["1armchair4l", "1armchair6l"],
        ["1armchair4r", "1armchair6r"],
        //backrest node
        ["1armchair8", "1armchair2l"],
        ["1armchair2r", "1armchair8"],





        //widthwise
        ["1armchair1l", "1armchair1r"],
        ["1armchair2r", "1armchair2l"],
        ["1armchair4l", "1armchair4r"{"deformLimitExpansion":1.0}],
        ["1armchair6r", "1armchair6"{"deformLimitExpansion":1.0}],
        ["1armchair6", "1armchair6l"{"deformLimitExpansion":1.0}],

        ["1armchair3r", "1armchair3l"{"deformLimitExpansion":1.0}],

        //widthwise diagonals
        ["1armchair3r", "1armchair1l"{"beamDeform":3500}],
        ["1armchair3l", "1armchair1r"{"beamDeform":3500}],

        ["1armchair6", "1armchair4r"],
        ["1armchair6", "1armchair4l"],
        ["1armchair6l", "1armchair4r"],
        ["1armchair6r", "1armchair4l"],
        ["1armchair4r", "1armchair2l"],
        ["1armchair4l", "1armchair2r"],
        //lenghtwise
        ["1armchair2l", "1armchair1l"],
        ["1armchair2r", "1armchair1r"],
        ["1armchair4l", "1armchair3l"],
        ["1armchair4r", "1armchair3r"],
        ["1armchair5r", "1armchair6r"],
        ["1armchair5l", "1armchair6l"],
        //lenghtwise diagonals
        ["1armchair5l", "1armchair4l"],
        ["1armchair6l", "1armchair3l"],
        ["1armchair3l", "1armchair2l"],
        ["1armchair4l", "1armchair1l"],
        ["1armchair5r", "1armchair4r"],
        ["1armchair6r", "1armchair3r"],
        ["1armchair3r", "1armchair2r"],
        ["1armchair4r", "1armchair1r"],

        ["1armchair6", "1armchair2r"],
        ["1armchair6", "1armchair2l"],
        //backrest top node to the inner backrest nodes
        ["1armchair6r", "1armchair8"],
        ["1armchair6", "1armchair8"],
        ["1armchair6l", "1armchair8"],
        //inner seat bottom crosses
        ["1armchair3r", "1armchair2l"],
        ["1armchair4l", "1armchair1r"],
        ["1armchair3l", "1armchair2r"],
        ["1armchair4r", "1armchair1l"],
        //back seat bottom nodes to top backrest
        ["1armchair4l", "1armchair8"],
        ["1armchair4r", "1armchair8"],


        //right armrest
        //vertical
        ["1armchair1r", "1armchair3rr"],
        ["1armchair2r", "1armchair4rr"],
        //width
        ["1armchair3rr", "1armchair5r"],
        ["1armchair4rr", "1armchair6r"],
        ["1armchair4rr", "1armchair6"],//may need to make this beam softer or remove it later
        ["1armchair4rr", "1armchair8"],
        //crosses
        ["1armchair3rr", "1armchair3r"],
        ["1armchair5r", "1armchair1r"],
        ["1armchair4rr", "1armchair4r"],
        ["1armchair6r", "1armchair2r"],


        //lenghtwise
        ["1armchair4rr", "1armchair3rr"],
        //crosses
        ["1armchair2r", "1armchair3rr"],
        ["1armchair1r", "1armchair4rr"],
        //cross on top of the armrest
        ["1armchair4rr", "1armchair5r"],
        ["1armchair6r", "1armchair3rr"],

        //left armrest
        //vertical
        ["1armchair1l", "1armchair3ll"],
        ["1armchair2l", "1armchair4ll"],
        //width
        ["1armchair3ll", "1armchair5l"],
        ["1armchair4ll", "1armchair6l"],
        ["1armchair4ll", "1armchair6"],//may need to make this beam softer or remove it later
        ["1armchair4ll", "1armchair8"],
        //crosses
        ["1armchair3ll", "1armchair3l"],
        ["1armchair5l", "1armchair1l"],
        ["1armchair4ll", "1armchair4l"],
        ["1armchair6l", "1armchair2l"],


        //lenghtwise
        ["1armchair4ll", "1armchair3ll"],
        //crosses
        ["1armchair2l", "1armchair3ll"],
        ["1armchair1l", "1armchair4ll"],
        //cross on top of the armrest
        ["1armchair4ll", "1armchair5l"],
        ["1armchair6l", "1armchair3ll"],

        //backrest width
        ["1armchair4ll", "1armchair4rr"],

        //cross
        ["1armchair4ll", "1armchair2r"],
        ["1armchair4rr", "1armchair2l"],


        {"beamSpring":500000,"beamDamp":250},
        {"beamDeform":3500,"beamStrength":72000},
        //sides to seat bottom
        {"deformLimit":1.1},


        //rigifiers
        {"beamSpring":500000,"beamDamp":250},
        {"beamDeform":4500,"beamStrength":72000},
        //outer armrest nodes anti-invert beams
        ["1armchair3ll", "1armchair3r"],
        ["1armchair3rr", "1armchair3l"],
        {"beamSpring":450000,"beamDamp":200},
        {"beamDeform":3000},
        ["1armchair4ll", "1armchair6r"],
        ["1armchair4rr", "1armchair6l"],
        ["1armchair4ll", "1armchair4r"],
        ["1armchair4rr", "1armchair4l"],
        {"beamSpring":150000},
        {"beamDeform":1000},
        //backrest top to front armrest nodes
        ["1armchair8", "1armchair5l"],
        ["1armchair8", "1armchair5r"],
        //cushion
	    {"beamType":"|BOUNDED","beamLongBound":1,"beamShortBound":0.3,"boundZone":0.01},
        {"beamLimitSpring":450000,"beamLimitDamp":500},
        {"beamSpring":15500,"beamDamp":55},
        {"beamDeform":26500,"beamStrength":150000},
        //--EXPANSION DEFORM LIMIT DEFAULT--
        {"deformLimitExpansion":1.2},
        //vertical
        ["1armchaircsh1l", "1armchaircsh3l"],
        ["1armchaircsh2l", "1armchaircsh4l"],
        ["1armchaircsh1r", "1armchaircsh3r"],
        ["1armchaircsh2r", "1armchaircsh4r"],
        //horizontal
        {"beamSpring":15000,"beamDamp":150},
        ["1armchaircsh1l", "1armchaircsh1r"],
        ["1armchaircsh2l", "1armchaircsh2r"],
        ["1armchaircsh3l", "1armchaircsh3r"],
        ["1armchaircsh4l", "1armchaircsh4r"],

        ["1armchaircsh1l", "1armchaircsh2l"],
        ["1armchaircsh1r", "1armchaircsh2r"],
        ["1armchaircsh3l", "1armchaircsh4l"],
        ["1armchaircsh3r", "1armchaircsh4r"],
        //crossing
        {"beamType":"|BOUNDED","beamLongBound":1,"beamShortBound":0.05,"boundZone":0.01},
        {"beamLimitSpring":450000,"beamLimitDamp":800},
        {"beamSpring":14000,"beamDamp":50},
        ["1armchaircsh1l", "1armchaircsh4l"],
        ["1armchaircsh3l", "1armchaircsh2l"],
        ["1armchaircsh1r", "1armchaircsh4r"],
        ["1armchaircsh3r", "1armchaircsh2r"],

        ["1armchaircsh1l", "1armchaircsh3r"],
        ["1armchaircsh3l", "1armchaircsh1r"],
        ["1armchaircsh2l", "1armchaircsh4r"],
        ["1armchaircsh4l", "1armchaircsh2r"],

        ["1armchaircsh1l", "1armchaircsh4r"],
        ["1armchaircsh4l", "1armchaircsh1r"],

        ["1armchaircsh3l", "1armchaircsh2r"],
        ["1armchaircsh2l", "1armchaircsh3r"],
        {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0}
        {"beamSpring":100000,"beamDamp":50},
        {"beamDeform":1500,"beamStrength":15000},
        //cushion guides
        ["1armchaircshg1r", "1armchaircshg1l"],
        ["1armchaircshg1l", "1armchaircshg2l"],
        ["1armchaircshg1r", "1armchaircshg2r"],
        ["1armchaircshg2r", "1armchair1r"],
        ["1armchair1r", "1armchaircshg1r"],
        ["1armchaircshg1l", "1armchair1l"],
        ["1armchaircshg1l", "1armchair4l"],
        ["1armchaircshg2l", "1armchair1l"],
        ["1armchaircshg1l", "1armchair1r"],
        ["1armchaircshg1r", "1armchair1l"],
        ["1armchaircshg2l", "1armchair3ll"],
        ["1armchaircshg2r", "1armchair3rr"],

        ["1armchair2l", "1armchaircshg1l"],
        ["1armchaircshg2l", "1armchair2l"],
        ["1armchaircshg1r", "1armchair2r"],
        ["1armchaircshg1r", "1armchair4r"],
        ["1armchaircshg2r", "1armchair2r"],
        ["1armchaircshg2r", "1armchair5r"],
        ["1armchaircshg1r", "1armchair5r"],
        ["1armchaircshg1l", "1armchair5l"],
        ["1armchaircshg2l", "1armchair5l"],
        //cushion support beams - prevent the back cushion nodes from falling through the join between seat bottom and seat back
        {"beamType":"|SUPPORT","beamLongBound":1.05},
        {"beamPrecompression":1,"beamSpring":1200,"beamDamp":50},
        {"breakGroup":"cushion_detach"},
        ["1armchaircsh3r", "1armchair4r"],
        ["1armchaircsh3l", "1armchair4l"],
        ["1armchaircsh3r", "1armchair4l"],
        ["1armchaircsh3l", "1armchair4r"],

        ["1armchaircsh3r", "1armchair3r"],
        ["1armchaircsh3l", "1armchair3l"],
        ["1armchaircsh3r", "1armchair3l"],
        ["1armchaircsh3l", "1armchair3r"],

        ["1armchaircsh4r", "1armchair3r"],
        ["1armchaircsh4l", "1armchair3l"],
        ["1armchaircsh4r", "1armchair3l"],
        ["1armchaircsh4l", "1armchair3r"],
        //middle cushion fly trajectory helper beams
        {"beamType":"|SUPPORT","beamLongBound":4.1},
        {"beamPrecompression":0.2,"beamSpring":2200,"beamDamp":50},
        {"breakGroup":""},
        ["1armchaircsh3l", "1armchair8"],
        ["1armchaircsh3r", "1armchair8"],
        {"beamPrecompression":0.5,"beamSpring":2200,"beamDamp":50},


        ["1armchaircsh3l", "1armchair6l"],
        ["1armchaircsh3r", "1armchair6r"],
        ["1armchaircsh3r", "1armchair6l"],
        ["1armchaircsh3l", "1armchair6r"],
        {"beamPrecompression":1.01,"beamLongBound":4.1},
        ["1armchaircsh4l", "1armchair2l"],
        ["1armchaircsh4r", "1armchair2r"],
        ["1armchaircsh4r", "1armchair2l"],
        ["1armchaircsh4l", "1armchair2r"],
        ["1armchaircsh3l", "1armchair2l"],
        ["1armchaircsh3r", "1armchair2r"],
        ["1armchaircsh3r", "1armchair2l"],
        ["1armchaircsh3l", "1armchair2r"],

        {"breakGroup":""},


    ],
    "torsionbars": [
        ["id1:", "id2:", "id3:", "id4:"],
        {"spring":20, "damp":0.5, "deform":250000, "strength":100000},
        //Invert prevention for the cushions
        ["1armchaircsh1r", "1armchaircsh3r", "1armchaircsh3l", "1armchaircsh4l"],
        ["1armchaircsh1l", "1armchaircsh3l", "1armchaircsh3r", "1armchaircsh4r"],
        ["1armchaircsh2r", "1armchaircsh4r", "1armchaircsh4l", "1armchaircsh3l"],
        ["1armchaircsh2l", "1armchaircsh4l", "1armchaircsh4r", "1armchaircsh3r"],
        ["1armchaircsh3r", "1armchaircsh1r", "1armchaircsh1l", "1armchaircsh2l"],
        ["1armchaircsh3l", "1armchaircsh1l", "1armchaircsh1r", "1armchaircsh2r"],
        ["1armchaircsh4r", "1armchaircsh2r", "1armchaircsh2l", "1armchaircsh3l"],
        ["1armchaircsh4l", "1armchaircsh2l", "1armchaircsh2r", "1armchaircsh3r"],
        ["1armchaircsh1r", "1armchaircsh3r", "1armchaircsh4r", "1armchaircsh4l"],
        ["1armchaircsh1l", "1armchaircsh3l", "1armchaircsh4l", "1armchaircsh4r"],
        ["1armchaircsh2r", "1armchaircsh4r", "1armchaircsh3r", "1armchaircsh3l"],
        ["1armchaircsh2l", "1armchaircsh4l", "1armchaircsh3l", "1armchaircsh3r"],    
        ["1armchaircsh3r", "1armchaircsh1r", "1armchaircsh2r", "1armchaircsh2l"],
        ["1armchaircsh3l", "1armchaircsh1l", "1armchaircsh2l", "1armchaircsh2r"],
        ["1armchaircsh4r", "1armchaircsh2r", "1armchaircsh1r", "1armchaircsh1l"],
        ["1armchaircsh4l", "1armchaircsh2l", "1armchaircsh1l", "1armchaircsh1r"],
        
    ],
        "triangles": [
        ["id1:","id2:","id3:"],
        {"dragCoef":5},
        //front face
        ["1armchair3rr", "1armchaircshg2r", "1armchair5r"],
        ["1armchair3rr", "1armchair3r", "1armchaircshg2r"],
        ["1armchair3r", "1armchair3rr", "1armchair1r"],
        ["1armchair1r", "1armchaircshg1r", "1armchair3r"],
        ["1armchair1l", "1armchair3l", "1armchaircshg1l"],
        ["1armchaircshg1l", "1armchaircshg1r", "1armchair1r"],
        ["1armchair1r", "1armchair1l", "1armchaircshg1l"],
        ["1armchair3l", "1armchair1l", "1armchair3ll"],
        ["1armchair3ll", "1armchaircshg2l", "1armchair3l"],
        ["1armchaircshg2l", "1armchair3ll", "1armchair5l"],
        ["1armchair4l", "1armchair6l", "1armchair6"],
        ["1armchair6", "1armchair6r", "1armchair4r"],
        ["1armchair4r", "1armchair4l", "1armchair6"],
        ["1armchair4rr", "1armchair6r", "1armchair8"],
        ["1armchair8", "1armchair6r", "1armchair6"],
        ["1armchair6", "1armchair6l", "1armchair8"],
        ["1armchair6l", "1armchair4ll", "1armchair8"],




        //back face
        ["1armchair4ll", "1armchair2l", "1armchair8"],
        ["1armchair8", "1armchair2r", "1armchair4rr"],
        ["1armchair8", "1armchair2l", "1armchair2r"],



        //right side
        ["1armchair4rr", "1armchair2r", "1armchair1r"],
        ["1armchair1r", "1armchair3rr", "1armchair4rr"],


        {"dragCoef":0},
        //inner
        ["1armchair5r", "1armchaircshg2r", "1armchair4r"],
        ["1armchair4r", "1armchair6r", "1armchair5r"],
        ["1armchaircshg2r", "1armchair3r", "1armchair4r"],


        //left side inner
        ["1armchair6l", "1armchair4l", "1armchair3l"],
        ["1armchair3l", "1armchaircshg2l", "1armchair6l"],
        ["1armchair6l", "1armchaircshg2l", "1armchair5l"],


        {"dragCoef":5},
        //outer
        ["1armchair3ll", "1armchair1l", "1armchair2l"],
        ["1armchair2l", "1armchair4ll", "1armchair3ll"],

        {"dragCoef":5},
        //top
        ["1armchair3rr", "1armchair5r", "1armchair4rr"],
        ["1armchair4rr", "1armchair5r", "1armchair6r"],
        ["1armchair6l", "1armchair5l", "1armchair3ll"],
        ["1armchair3ll", "1armchair4ll", "1armchair6l"],
        ["1armchair4r", "1armchair3r", "1armchaircshg1r"],
        ["1armchaircshg1l", "1armchair3l", "1armchair4l"],
        ["1armchair4l", "1armchair4r", "1armchaircshg1r"],
        ["1armchaircshg1r", "1armchaircshg1l", "1armchair4l"],



        //bottom
        ["1armchair1l", "1armchair1r", "1armchair2r"],
        ["1armchair2r", "1armchair2l", "1armchair1l"],


        //cushion
        {"dragCoef":5},
        ["1armchaircsh1l", "1armchaircsh2l", "1armchaircsh4l"],
        ["1armchaircsh3l", "1armchaircsh1l", "1armchaircsh4l"],

        ["1armchaircsh2r", "1armchaircsh1r", "1armchaircsh3r"],
        ["1armchaircsh3r", "1armchaircsh4r", "1armchaircsh2r"],
        {"dragCoef":5},
        ["1armchaircsh1r", "1armchaircsh1l", "1armchaircsh3l"],
        ["1armchaircsh3l", "1armchaircsh3r", "1armchaircsh1r"],

        ["1armchaircsh4l", "1armchaircsh2l", "1armchaircsh2r"],
        ["1armchaircsh2r", "1armchaircsh4r", "1armchaircsh4l"],
        {"dragCoef":5},
        ["1armchaircsh4r", "1armchaircsh3r", "1armchaircsh3l"],
        ["1armchaircsh3l", "1armchaircsh4l", "1armchaircsh4r"],

        {"dragCoef":5},
        ["1armchaircsh2r", "1armchaircsh2l", "1armchaircsh1r"],
        ["1armchaircsh1r", "1armchaircsh2l", "1armchaircsh1l"],
        ],
},
"etk800ute_armchair_strap": {
    "information":{
        "authors":"BeamNG",
        "name":"Strap",
        "value":300,
    },
    "slotType" : "etk800ute_armchair_strap",
    "flexbodies": [
        ["mesh", "[group]:", "nonFlexMaterials"],
        {"deformGroup":"1armchairStrap","deformMaterialBase":"woodplanks","deformMaterialDamaged":"invis"},
        ["armchair_strap_pickup", ["1armchair", "etk800_body"],[],{"pos":{"x":0.0, "y":1.359, "z":0.583}, "rot":{"x":0.00, "y":0.0, "z":90.0}, "scale":{"x":1.0,"y":1.0,"z":1.0}}],
        {"deformGroup":""},
    ],
    "beams": [
        ["id1:", "id2:"],
        {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1, "beamShortBound":1},
        //attach straps
        {"beamPrecompression":1, "beamType":"|ANISOTROPIC", "beamLongBound":0.05},
        {"beamSpring":2001000,"beamDamp":90},
        {"beamDeform":368000,"beamStrength":"FLT_MAX"},
        {"springExpansion":115000,"dampExpansion":500,"transitionZone":0.002},
        {"breakGroup":"1armchairStrap"},
        {"deformGroup":"1armchairStrap", "deformationTriggerRatio":0.5},


        ["1armchair5l", "r6"],
        ["1armchair6l", "r6"],




        ["1armchair5r", "rf7"],
        ["1armchair6r", "rf7"],





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