##040003144535519600000
*
* Compile mechanism for irb8700_mh6_475kg_420_r00
*
begin COMPONENT irb8700_mh6_475kg_420_r00
	no_of_joints		15
	no_of_loops		3
	TCP_link_name		link6
	user_TCP :
0	0	1	3099.994629	
0	1	0	0.002606	
-1	0	0	2890.001465	
0	0	0	1	
	inverse_family	-1
	base_name		link0

	begin LINK link1
		joint_from	link0
		transformation_to_father :
1	0	0	0	
0	1	0	0	
0	0	1	0	
0	0	0	1	
		joint_name	J1
		axis_points	0 0 0 , 0 0 5000
		param_index	0
		joint_type	rot
		user_value	0
		range		-170 170
		max_speed	90
		max_acceleration	90
	end;

	begin LINK link2
		joint_from	link1
		transformation_to_father :
1	0	0	-0.000639	
0	1	0	0	
0	0	1	0.000485	
0	0	0	1	
		joint_name	J2
		axis_points	420 -1000 1000 , 420 197 1000
		param_index	1
		joint_type	rot
		user_value	0
		dependent range on joint	J3
		extreme		-30	-65 ;
		extreme		-30	35 ;
		extreme		25	90 ;
		extreme		30	90 ;
		extreme		132	90 ;
		extreme		132	65 ;
		extreme		2	-65 ;
		extreme		0	-65 ;
		extreme		-30	-65
		max_speed	90
		max_acceleration	90
	end;

	begin LINK link3
		joint_from	link2
		transformation_to_father :
1	0	0	0.003661	
0	1	0	0	
0	0	1	-0.000476	
0	0	0	1	
		joint_name	J3
		axis_points	420 -1000 2580 , 420 153.5 2580
		param_index	2
		follows J2 by -1
		joint_type	rot
		user_value	0
		dependent range on joint	J2
		extreme		-65	2 ;
		extreme		0	67 ;
		extreme		65	132 ;
		extreme		90	132 ;
		extreme		90	25 ;
		extreme		35	-30 ;
		extreme		0	-30 ;
		extreme		-65	-30
		max_speed	90
		max_acceleration	90
	end;

	begin LINK link4
		joint_from	link3
		transformation_to_father :
1	0	0	-0.000153	
0	1	0	-0.002799	
0	0	1	0	
0	0	0	1	
		joint_name	J4
		axis_points	-1000 0 2890 , 118 0 2890
		param_index	3
		joint_type	rot
		user_value	0
		range		-300 300
		max_speed	90
		max_acceleration	90
	end;

	begin LINK link5
		joint_from	link4
		transformation_to_father :
1	0	0	0.003854	
0	1	0	0	
0	0	1	-0.003077	
0	0	0	1	
		joint_name	J5
		axis_points	2594.994141 0.002799 2890.002197 , 2594.994141 1000.002799 2890.002197
		param_index	4
		joint_type	rot
		user_value	0
		range		-120 120
		max_speed	90
		max_acceleration	90
	end;

	begin LINK link6
		joint_from	link5
		transformation_to_father :
1	0	0	-0.000488	
0	1	0	0.000193	
0	0	1	0.000244	
0	0	0	1	
		joint_name	J6
		axis_points	2155.500244 -0.000436 2890 , 3000 -0.000436 2890
		param_index	5
		joint_type	rot
		user_value	0
		dependent range on joint	J5
		extreme		-130	-220 ;
		extreme		-130	87 ;
		extreme		-100	158 ;
		extreme		-60	206 ;
		extreme		-30	220 ;
		extreme		20	220 ;
		extreme		60	211 ;
		extreme		90	206 ;
		extreme		130	203 ;
		extreme		130	-130 ;
		extreme		90	-188 ;
		extreme		60	-209 ;
		extreme		20	-220
		max_speed	90
		max_acceleration	90
	end;

	begin LINK link3a
		joint_from	link3
		transformation_to_father :
1	0	0	0.002258	
0	1	0	0	
0	0	1	0	
0	0	0	1	
		joint_name	J3a
		axis_points	-180 -40 2580 , -180 1000 2580
		param_index	6
		joint_type	rot
		user_value	0
		range		no limits
		max_speed	90
		max_acceleration	90
	end;

	begin LINK link3b
		joint_from	link3a
		transformation_to_father :
1	0	0	0	
0	1	0	0	
0	0	1	0	
0	0	0	1	
		joint_name	J3b
		axis_points	-180 -40 1000 , -180 1000 1000
		param_index	7
		joint_type	rot
		user_value	0
		range		no limits
		max_speed	90
		max_acceleration	90
	end;

	begin LINK link2Lb
		joint_from	link1
		transformation_to_father :
1	0	0	-0.008449	
0	1	0	0	
0	0	1	0.001198	
0	0	0	1	
		joint_name	J2Lb
		axis_points	477.352081 -349.5 1324.934204 , 477.303925 349.5 1324.986572
		param_index	8
		joint_type	rot
		user_value	0
		range		no limits
		max_speed	90
		max_acceleration	90
	end;

	begin LINK link2La
		joint_from	link2Lb
		transformation_to_father :
1	0	0	-0.000621	
0	1	0	0.00293	
0	0	1	0.000338	
0	0	0	1	
		joint_name	J2LbLa
		axis_points	426.549713 375.004578 2437.829834 , 473.563538 375.055511 1406.400635
		param_index	9
		joint_type	prism
		user_value	0
		range		no limits
		max_speed	1000
		max_acceleration	1000
	end;

	begin LINK link2Rb
		joint_from	link1
		transformation_to_father :
1	0	0	-0.008321	
0	1	0	0	
0	0	1	0.001088	
0	0	0	1	
		joint_name	J2Rb
		axis_points	477.352081 -349.5 1324.934204 , 477.303925 349.5 1324.986572
		param_index	10
		joint_type	rot
		user_value	0
		range		no limits
		max_speed	90
		max_acceleration	90
	end;

	begin LINK link2Ra
		joint_from	link2Rb
		transformation_to_father :
1	0	0	0	
0	1	0	0.00293	
0	0	1	0.002322	
0	0	0	1	
		joint_name	J2RbRa
		axis_points	426.491608 -375 2437.827148 , 473.593018 -375.083038 1406.401978
		param_index	11
		joint_type	prism
		user_value	0
		range		no limits
		max_speed	1000
		max_acceleration	1000
	end;

	begin CLOSE_LOOP link2
		joint_from	link2La
		transformation_to_father :
1	0	0	0.008431	
0	1	0	-0.002941	
0	0	1	-0.001051	
0	0	0	1	
		joint_name	J2La2
		axis_points	420 153.5 2580 , 420 -1000 2580
		param_index	12
		joint_type	rot
		user_value	0
		range		no limits
		max_speed	90
		max_acceleration	90
	end;

	begin CLOSE_LOOP link2
		joint_from	link2Ra
		transformation_to_father :
1	0	0	0.00766	
0	1	0	-0.002941	
0	0	1	-0.002925	
0	0	0	1	
		joint_name	J2Ra2
		axis_points	420 153.5 2580 , 420 -1000 2580
		param_index	13
		joint_type	rot
		user_value	0
		range		no limits
		max_speed	90
		max_acceleration	90
	end;

	begin CLOSE_LOOP link1
		joint_from	link3b
		transformation_to_father :
1	0	0	-0.00528	
0	1	0	0	
0	0	1	0	
0	0	0	1	
		joint_name	J3b1
		axis_points	420 197 1000 , 420 -1000 1000
		param_index	14
		joint_type	rot
		user_value	0
		range		no limits
		max_speed	90
		max_acceleration	90
	end

end
