Skip to content

Commit

Permalink
Expands list of mesh formats for import/export
Browse files Browse the repository at this point in the history
  • Loading branch information
ianrrees authored and wwmayer committed Apr 9, 2015
1 parent 6a6a3d3 commit 4024f46
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions src/Mod/Mesh/Init.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,14 @@
# (c) 2004 Werner Mayer LGPL

# Append the open handler
FreeCAD.addImportType("Mesh formats (*.stl *.ast *.bms *.obj *.off *.ply)","Mesh")
FreeCAD.addExportType("Mesh formats (*.stl *.ast *.bms *.obj *.off *.ply)","Mesh")
FreeCAD.addImportType("STL Mesh (*.stl *ast)", "Mesh")
FreeCAD.addImportType("Binary Mesh (*.bms)","Mesh")
FreeCAD.addImportType("Alias Mesh (*.obj)","Mesh")
FreeCAD.addImportType("Object File Format Mesh (*.off)","Mesh")
FreeCAD.addImportType("Stanford Triangle Mesh (*.ply)","Mesh")

FreeCAD.addExportType("STL Mesh (*.stl *ast)", "Mesh")
FreeCAD.addExportType("Binary Mesh (*.bms)","Mesh")
FreeCAD.addExportType("Alias Mesh (*.obj)","Mesh")
FreeCAD.addExportType("Object File Format Mesh (*.off)","Mesh")
FreeCAD.addExportType("Stanford Triangle Mesh (*.ply)","Mesh")

0 comments on commit 4024f46

Please sign in to comment.