Creating a proper f3d file

4 vues (au cours des 30 derniers jours)
Pavel-Jakub Novotný
Pavel-Jakub Novotný le 7 Sep 2022
Hi,
I need to upload my model to Matlab in 3D Foundation environment. I need to upload it in f3d format. I created this file format
in Fusion, but Matlab won't open it for me. I get this error: "Not a binary MAT-file. Try load -ASCII to read as text."
When I try to open my model as text, I get this error: "Unable to read file 'robot_sestaven.f3d'. Input must be a MAT-file or
an ASCII file containing numeric data with same number of columns in each row."
Does anyone know how to create the correct f3d format for my model?
Thanks for the advice

Réponses (1)

Jan Houska
Jan Houska le 7 Sep 2022
Hi Pavel-Jakub,
the F3D format used by 3D Foundation is not the same format as used in Fusion. This is just a name coincidence. You can import into 3D Foundation from another 3D format (like e.g. FBX, X3D, STL, ...), then save it to the F3D format from 3D Foundation.
Good Luck, Jan
  7 commentaires
Jan Houska
Jan Houska le 16 Sep 2022
Modifié(e) : Jan Houska le 16 Sep 2022
Hi PJ,
the last line of the save script should read
save(MW, 'robot_sestaven_2.f3d');
instead of
save('robot_sestaven_2.f3d')
Good Luck, Jan
Pavel-Jakub Novotný
Pavel-Jakub Novotný le 16 Sep 2022
Thanks, it's working now.
PJ

Connectez-vous pour commenter.

Catégories

En savoir plus sur Model Import dans Help Center et File Exchange

Produits


Version

R2022a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by