File formats: Uppercase file types when importing a file. (#10977)

* Added uppercase extensions for supported formats

In the file App\Application.cpp

* Added file types in upper case

* Adds uppercase file types to the file import filter.

Fixes #10879

* Added filter for *.fcmacro *.fcscript
This commit is contained in:
Victor Predko
2023-10-16 20:40:46 +03:00
committed by GitHub
parent 0ee48bfea5
commit e1206a3fac
18 changed files with 46 additions and 46 deletions

View File

@@ -25,11 +25,11 @@
#FreeCAD.addImportType("CAD formats (*.igs *.iges *.step *.stp *.brep *.brp)","Part")
#FreeCAD.addExportType("CAD formats (*.igs *.iges *.step *.stp *.brep *.brp)","Part")
FreeCAD.addImportType("BREP format (*.brep *.brp)","Part")
FreeCAD.addImportType("BREP format (*.brep *.BREP *.brp *.BRP)","Part")
FreeCAD.addExportType("BREP format (*.brep *.brp)","Part")
FreeCAD.addImportType("IGES format (*.iges *.igs)","Part")
FreeCAD.addImportType("IGES format (*.iges *.IGES *.igs *.IGS)","Part")
FreeCAD.addExportType("IGES format (*.iges *.igs)","Part")
FreeCAD.addImportType("STEP with colors (*.step *.stp)","Import")
FreeCAD.addImportType("STEP with colors (*.step *.STEP *.stp *.STP)","Import")
FreeCAD.addExportType("STEP with colors (*.step *.stp)","Import")
FreeCAD.__unit_test__ += [ "TestPartApp" ]