mph2stl

Converts COMSOL geometry object from geometry files or workspace to stl-file
2K descargas
Actualizado 5 abr 2007

Ver licencia

Just finished this after a couple of frustrating days working with COMSOL, where eventually I realized I couldn't get my model working and, to make it worse, I couldn't even find a way to export the geometry data to try another program.
Figuring out how to grab the geometry from a solid3-object was also tedious, tnx to COMSOLish function documentation!
Hasn't been tested but on 3 3D-objects exported from COMSOL, reimporting did work.
Hope this helps anyone.
%%%%%
MPH2STL(infile,outfile) loads the mphbin/mphtxt-file, plots it and calls Raw2stl to save the stl file. Plotting is essential because the triangulated geometry is taken from the plot

MPH2STL(infile) does the same as above, but saves the data in (infile without extension)+'stl'

MPH2STL or MPH2STL([],outfile) searches the workspace for a geometry object (exported from COMSOL in linked mode) and converts it

Citar como

Henning Francke (2024). mph2stl (https://www.mathworks.com/matlabcentral/fileexchange/14526-mph2stl), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2006b
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre STL (STereoLithography) en Help Center y MATLAB Answers.

Community Treasure Hunt

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

Start Hunting!
Versión Publicado Notas de la versión
1.0.0.0