From c932e4af1bdfc7030b39d9e0b68e0285b75378a5 Mon Sep 17 00:00:00 2001 From: Oliver Date: Tue, 7 Nov 2017 19:20:22 +1100 Subject: [PATCH] Added IGES replacement option - If no STEP substitute is found, look for IGES --- utils/kicad2step/pcb/oce_utils.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/utils/kicad2step/pcb/oce_utils.cpp b/utils/kicad2step/pcb/oce_utils.cpp index 86d02d43f8..dcf9825ed6 100644 --- a/utils/kicad2step/pcb/oce_utils.cpp +++ b/utils/kicad2step/pcb/oce_utils.cpp @@ -923,6 +923,12 @@ bool PCBMODEL::getModelLabel( const std::string aFileName, TDF_Label& aLabel ) alts.Add( "Stp" ); alts.Add( "Step" ); + // IGES files + alts.Add( "iges" ); + alts.Add( "IGES" ); + alts.Add( "igs" ); + alts.Add( "IGS" ); + //TODO - Other alternative formats? for( auto alt : alts )