载入中...
搜索中...
未找到
StructuredModelImporter.h
浏览该文件的文档.
1#pragma once
2
4
5namespace eve::asset_import {
6
13 std::string sourceName;
14 std::map<std::string, std::vector<std::uint8_t>> files;
16 std::uint32_t maximumDepth = 64;
17 std::uint64_t maximumExpandedLines = 2'000'000;
18};
19
28 std::string sourceName;
29 std::vector<std::uint8_t> sourceBytes;
30 std::vector<std::uint8_t> binaryStl;
31 std::map<std::string, std::vector<std::uint8_t>> partStls;
32 std::vector<std::uint8_t> rigBytes;
34};
35
45
57
66 std::string sourcePath;
67 std::string executable = "openscad";
68 std::uint32_t timeoutSeconds = 120;
70};
71
82
83} // namespace eve::asset_import
Tool-side image and glTF importers producing canonical .eva candidates.
#define EVENGINE_API_PLATFORM
Definition Export.h:107
const GltfImportRequest & request
Move-only operation result carrying either a value or Status.
Definition Result.h:176
Result< PreparedAssetImport > prepareScadImport(const ScadImportRequest &request)
Validate compiler-produced binary STL part(s) and prepare a canonical static prefab.
Result< PreparedAssetImport > prepareScadFileImport(const ScadFileImportRequest &request)
Compile via argument-vector process launch, then prepare without publishing.
Result< PreparedAssetImport > prepareLDrawImport(const LDrawImportRequest &request)
Prepare LDR/DAT/MPD triangles, referenced parts and colour-separated static prefab.
Parser and allocation budgets applied to untrusted importer inputs.
Common stable package metadata supplied by an import transaction.
Owning LDraw source set. Names are relative, case-insensitive LDraw paths. Supply the document and re...
std::map< std::string, std::vector< std::uint8_t > > files
Desktop tool request for compiling a SCAD file with an installed OpenSCAD executable....
Owning OpenSCAD source and its compiler-produced binary STL. STL is geometry only: colour and animati...
std::map< std::string, std::vector< std::uint8_t > > partStls