Cannot update visualization,File Solid

47 vues (au cours des 30 derniers jours)
Daniel Pacek
Daniel Pacek le 25 Avr 2020
Commenté : Hariharan le 8 Avr 2024 à 8:23
I am trying to import .prt geometry from Siemens NX into File Solid. i already tried to remane file and coverted file to .STEP and .jt , but it did not help.When i am updating vizualization it gives error:
The parameter File Name is an invalid file. Error reading file
  2 commentaires
Bogdan Chiritoiu
Bogdan Chiritoiu le 17 Nov 2022
Hello,
I have ran into the same problem. Did you manage to fix this issue?
Daniel Pacek
Daniel Pacek le 18 Nov 2022
Hello,
i just converted file to all file types supportted by SIMULINK and try each one of them. One of them was working. It was quite a long time ago , so i dont remember which one it was. Unfortunatelly i do not have better solution.

Connectez-vous pour commenter.

Réponses (2)

J Chen
J Chen le 30 Avr 2020
Seems like SS MB should be able to import Unigraphics NX and STEP files https://www.mathworks.com/help/physmod/sm/ref/filesolid.html
"Among the supported formats are those native to CATIA (V4, V5, and V6), Creo, Inventor, Unigraphics NX, Solid Edge, SolidWorks, and Parasolid (all CAD applications common in industry and academia). These include CATPART, PRT, IPT, SLDPRT, and X_T (and its binary version, X_B). Other valid formats, not associated with a specific application but common in 3-D modeling, include SAT (often referred to as ACIS), JT, STL, and STEP."

Hariharan
Hariharan le 8 Avr 2024 à 8:22
Hi Daniel, You tried to open an NX prt file in the File Solid block and encountered the error that "The parameter File Name is an invalid file. Error reading file".
Though your original question is old, here's an answer:
The file solid block can read NX files as mentioned in the answer above. Here's a screenshot of a prt file imported in R2020a.
A part failing to be imported could be due to a few reasons, including:
  1. The NX file version is of a more recent version than supported by File Solid.
  2. An error occurred in the file import process.
  3. The CAD file itself has issues, or is corrupt.
If the issue is due to the NX file being of a later version, then you can try to export to another format such as STEP or stl, and then try importing. If the file import succeeds now then the NX import needs further investigation, so you could
  1. share the file if possible here.
  2. If not shareable here, raise an issue with technical support at https://in.mathworks.com/support/contact_us.html
If import fails after conversion as well, it may indicate an issue with the file or the import process. In this case too, the file is needed to investigate further.
As of R2023b, the following NX versions are supported - refer Solid with properties derived from CAD file - MATLAB - MathWorks India
"V11.0 to NX 18.0, NX to NX12, NX 1847 Series to NX 1980 Series"
  1 commentaire
Hariharan
Hariharan le 8 Avr 2024 à 8:23
@Bogdan Chiritoiu, the above answer is applicable to your question as well.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Simscape Multibody dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by