Error when importing STL file into Matlab
    9 Ansichten (letzte 30 Tage)
  
       Ältere Kommentare anzeigen
    
    Konvictus177
 am 21 Feb. 2022
  
    
    
    
    
    Beantwortet: Sulaymon Eshkabilov
      
 am 21 Feb. 2022
            Hi, 
When I try to import my STL file into MATLAB I get en error message. What am I doing wrong?
figure
gm = importGeometry('Torus.stl');
pdegplot(gm)
Error: Check for missing argument or incorrect argument data type in call to function 'importGeometry'.
0 Kommentare
Akzeptierte Antwort
  Sulaymon Eshkabilov
      
 am 21 Feb. 2022
        If you want to create a geometry using some edge coordinates, then hit this help:
doc geometryFromEdges % Explains via a good simple example: Geometry from Decomposed Solid Geometry
0 Kommentare
Weitere Antworten (1)
  Sulaymon Eshkabilov
      
 am 21 Feb. 2022
        You are missing one important part in your command, see e.g.:
pdem = createpde();                      % Missing
GM = importGeometry(pdem,'BEAM.stl');    % See how to add the missing piece
pdegplot(gm, 'FaceLabels','on', 'FaceAlpha',0.75)
1 Kommentar
Siehe auch
Kategorien
				Mehr zu Geometry and Mesh finden Sie in Help Center und File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

