Skip to content
Snippets Groups Projects
CADExtensions.h 320 B
Newer Older
#pragma once
#include <string>
#include <unordered_map>
enum FileExt
{
	Invalid = 0,
	STEP, IGES, STL,
};

typedef std::unordered_map<std::string, FileExt> ExtensionFinder;
static const ExtensionFinder fileExtensions = {
	{ ".stp", STEP },
	{ ".step", STEP },
samuel.hayden's avatar
samuel.hayden committed
	{ ".iges", IGES },
	{ ".igs", IGES },
	{ ".ige", IGES },