KiCad PCB EDA Suite
Loading...
Searching...
No Matches
model_import.h File Reference
#include <cstddef>
#include <cstdint>
#include <string>
#include <string_view>
#include <plugins/3dapi/c3dmodel.h>
#include <plugins/3dapi/ifsg_defs.h>

Go to the source code of this file.

Classes

struct  S3D::MODEL_IMPORT_OPTIONS
 
class  S3D::MODEL_IMPORT_RESULT
 

Namespaces

namespace  S3D
 

Macros

#define KICAD_3D_IMPORT_API   APIIMPORT
 

Enumerations

enum class  S3D::MODEL_IMPORT_FORMAT {
  S3D::AUTO , S3D::STEP , S3D::IGES , S3D::VRML ,
  S3D::X3D
}
 
enum class  S3D::MODEL_IMPORT_ERROR {
  S3D::NONE , S3D::UNSUPPORTED , S3D::UNREADABLE , S3D::INVALID ,
  S3D::TOO_LARGE , S3D::CANCELED , S3D::IMPORT_FAILED , S3D::OUT_OF_MEMORY ,
  S3D::INTERNAL
}
 

Functions

MODEL_IMPORT_OPTIONS S3D::PreviewImportOptions () noexcept
 Options for previewing a file the user has not opened.
 
KICAD_3D_IMPORT_API MODEL_IMPORT_RESULT S3D::ImportModel (const std::string &aFileName, const MODEL_IMPORT_OPTIONS &aOptions={})
 Import and flatten one model without invoking GUI facilities.
 

Macro Definition Documentation

◆ KICAD_3D_IMPORT_API

#define KICAD_3D_IMPORT_API   APIIMPORT

Definition at line 36 of file model_import.h.

Referenced by S3D::MODEL_IMPORT_RESULT::ImportModel.