Cannot update visualization,File Solid

23 次查看(过去 30 天)
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 个评论
Bogdan Chiritoiu
Bogdan Chiritoiu 2022-11-17
Hello,
I have ran into the same problem. Did you manage to fix this issue?
Daniel Pacek
Daniel Pacek 2022-11-18
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.

请先登录,再进行评论。

回答(2 个)

J Chen
J Chen 2020-4-30
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 2024-4-8
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"

类别

Help CenterFile Exchange 中查找有关 Bodies 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by