Welcome to mirror list, hosted at ThFree Co, Russian Federation.

stl_import.hh « importer « stl « io « blender « source - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a5d252248a80b2744855bc48ae0b4420c59c4384 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* SPDX-License-Identifier: GPL-2.0-or-later */

/** \file
 * \ingroup stl
 */

#pragma once

#include "IO_stl.h"

namespace blender::io::stl {

void stl_import_report_error(FILE *file);

/* Main import function used from within Blender. */
void importer_main(bContext *C, const STLImportParams &import_params);

/* Used from tests, where full bContext does not exist. */
void importer_main(Main *bmain,
                   Scene *scene,
                   ViewLayer *view_layer,
                   const STLImportParams &import_params);

}  // namespace blender::io::stl