フィルターのクリア

R2022b - PDE Tblx - importGeometry : issues with STEP file import :

2 ビュー (過去 30 日間)
Lionel Juillen AF
Lionel Juillen AF 2023 年 7 月 3 日
コメント済み: Lionel Juillen AF 2023 年 8 月 20 日
Hello
I tried to use R2022b PDE toolbox importGeometry to read a STEP file..
s_STEP_file = 'pump.step' ;
figure ;
gm1 = importGeometry( s_STEP_file);
pdeplot(gm1,"FaceLabels","on","FaceAlpha",0.3);
and I got the following message :
Report : 581 unknown entities.
Error using gm1
Expected input to be one of these types:
double, single, uint8, uint16, uint32, uint64, int8, int16, int32, int64
Instead its type was pde.DiscreteGeometry.
Error in pdeplot (line 106)
validateattributes(varargin{1},{'numeric'},{'real', 'finite', 'nonsparse', 'nonnan'}, inputname(1));
Error in load_pump_STEP (line 20)
pdeplot(gm1,"FaceLabels","on","FaceAlpha",0.3)
It looks that 581 entities have not been read.. which ones ? types ? How to know ?
Is there somebody who knows what are the limitations ? or a documentation ?
I tried an example in the documentation :
figure
gm2 = importGeometry("AngleBlockBlendR10.step");
pdegplot(gm2,"FaceLabels","on","FaceAlpha",0.3)
it worked, but in gm2 object, there are no information about entities and face informations ?
How to get it ?
Thanks for your help
Regards
Lionel

採用された回答

Shuba Nandini
Shuba Nandini 2023 年 8 月 17 日
編集済み: Shuba Nandini 2023 年 8 月 18 日
Hi Lionel,
I understand that you are unable to import a ‘s_STEP_filefile using PDE toolbox in MATLAB R2022b. The error message indicates that the gm1 object you are trying to use for plotting is of type pde.DiscreteGeometry, which is not the expected type for the pdeplot function. Instead, you can use "pdegplot" function because it can take DiscreteGeometry object as it's input arguments.
To learn more about “pdegplot” function, please refer to this link:
I hope this helps!
Regards,
Nandini

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeGeometry and Mesh についてさらに検索

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by