Blender
V4.5
source
blender
io
stl
importer
stl_import.hh
Go to the documentation of this file.
1
/* SPDX-FileCopyrightText: 2023 Blender Authors
2
*
3
* SPDX-License-Identifier: GPL-2.0-or-later */
4
9
#pragma once
10
11
#include <cstdio>
12
13
#include "
IO_stl.hh
"
14
15
struct
bContext
;
16
struct
Main
;
17
struct
Mesh
;
18
struct
Scene
;
19
struct
ViewLayer
;
20
21
namespace
blender::io::stl
{
22
23
void
stl_import_report_error
(FILE *
file
);
24
25
/* Used from Geo nodes import for Mesh* access */
26
Mesh
*
read_stl_file
(
const
STLImportParams
&import_params);
27
28
/* Main import function used from within Blender. */
29
void
importer_main
(
const
bContext
*C,
const
STLImportParams
&import_params);
30
31
/* Used from tests, where full bContext does not exist. */
32
void
importer_main
(
Main
*bmain,
33
Scene
*
scene
,
34
ViewLayer
*view_layer,
35
const
STLImportParams
&import_params);
36
}
// namespace blender::io::stl
IO_stl.hh
file
FILE * file
Definition
deg_debug_stats_gnuplot.cc:30
scene
Scene scene
Definition
deg_eval_copy_on_write.cc:98
blender::io::stl
Definition
stl_export.cc:40
blender::io::stl::importer_main
void importer_main(const bContext *C, const STLImportParams &import_params)
Definition
stl_import.cc:107
blender::io::stl::stl_import_report_error
void stl_import_report_error(FILE *file)
Definition
stl_import.cc:42
blender::io::stl::read_stl_file
Mesh * read_stl_file(const STLImportParams &import_params)
Definition
stl_import.cc:53
Main
Definition
BKE_main.hh:141
Mesh
Definition
DNA_mesh_types.h:59
STLImportParams
Definition
IO_stl.hh:21
Scene
Definition
DNA_scene_types.h:2106
ViewLayer
Definition
DNA_layer_types.h:149
bContext
Definition
blenkernel/intern/context.cc:58
Generated on Fri Apr 3 2026 06:33:18 for Blender by
doxygen
1.11.0