Step1:Import your file to V-rep ( File -> Import -> Mesh ,and choose you file to impot )
Step2:Choose your file ( Click right mouse button -> Edit -> Divide selected shapes,and the selceted shapes will be divided )
Step3:Name each parts ( The picture is an example )
Step4:Add the joints in the shapes ( Click right mouse button -> Add -> Joint -> Revolute ) , and copy the joint to align the corresponding position
Step5:Step by step to put each joint and part to the base ( One part connects to one joint , and there are two joints in the part C that there are two links to drive )
Step6:Add Dummy in the shapes ( Add -> Dummy ,and set properties (Two Dummies are a group ) )
Step7:Step by step to put Dummy to the shapes ( One part connects one joint , and the Dummy one side connects the part , the other side connects the joint )
Step8:All parts have to be dynamic
Step9:This setting to the Drive shaft ( In my file is C )
Step10:Simulate the shapes