MATLAB SIMULINK 3D ANIMATION - S Betriebsanweisung Seite 343

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 490
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 342
stl2vrml
10-3
destination
(Optional) Folder in which to create converted files. If the destination folder does not
exist, stl2vrml attempts to create the destination folder.
Default: ''
Examples
These examples use STL files that SimMechanics product includes. If you do not have the
SimMechanics product installed, then substitute another STL file .
Convert the STL file fourbar-Bar1-1.STL (which is in matlab/toolbox/physmod/
mech/mechdemos) to a VRML file and place the resulting file in the current folder. The
resulting VRML file (fourbar-Bar1-1.wrl) has the same name as the source file,
except that it has a wrl extension instead of an stl extension.
stl2vrml('fourbar-Bar1-1.STL')
ls
. .. fourbar-Bar1-1.wrl
% Other files and folders in the current folder appear, as well
Convert the STL file fourbar-Bar2-1.STL to a VRML file and place the resulting file
in a folder called virtualworlds. The resulting VRML file is in the destination folder
that you specify.
mkdir('virtualworlds')
stl2vrml('fourbar-Bar2-1.STL','virtualworlds')
cd virtualworlds
ls
. .. fourbar-Bar2-1.wrl
More About
Tips
You can use the created assembly VRML files as templates for creating virtual scenes
in which you can work with objects of the converted assemblies. To work with the
scene effectively, edit the scene as necessary. For example, consider whether you
Seitenansicht 342
1 2 ... 338 339 340 341 342 343 344 345 346 347 348 ... 489 490

Kommentare zu diesen Handbüchern

Keine Kommentare