R2022b - PDE Tblx - importGeometry : issues with STEP file import :
6 ビュー (過去 30 日間)
古いコメントを表示
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
0 件のコメント
採用された回答
Shuba Nandini
2023 年 8 月 17 日
編集済み: Shuba Nandini
2023 年 8 月 18 日
Hi Lionel,
I understand that you are unable to import a ‘s_STEP_file’ file 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 Exchange で Geometry and Mesh についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!