syuntoku14 / fusion2urdf

A Fusion 360 Script to export URDF
MIT License
474 stars 160 forks source link

KeyError: Component2_1 #48

Open VibhanshuV opened 3 years ago

VibhanshuV commented 3 years ago

I am trying to export my bipedal robot to URDF but I am getting the following error. I have attached the Joint2Graphviz result which seems fine to me and my fusion assembly. Please help.

error_fusion2urdf Joint2Graphviz_Biped.txt Biped Assembly.zip

carpit680 commented 3 years ago

It does get into issues when you have copies of components with same names like "Component 2:1" and "Component 2:2" so when you create copies of components, paste them as new. I usually unlink the components too and rename them properly. I know it's difficult to make changes then but it makes the exporting process smoother.

hoshianaaa commented 7 months ago

I also faced this problem.

Once exported as a step file Once I exported the step file as a step file and uploaded it to fusion360, the index value was unified to 1 and the fusion2urdf error was gone.