Important
翻译是一项社区工作:ref:你可以加入<translation_guidelines>。此页面目前翻译进度为 50.60%。
24.1.1. 3D Tiles
24.1.1.1. Convert B3DM to GLTF
Converts files from the legacy .B3DM format to .GLTF or .GLB.
参数
| 标注 | 名称 | 类型 | 描述 | 
|---|---|---|---|
| Input B3DM | 
 | [3D Tile] | Input file to convert. | 
| Output file | 
 | [3D Tile] 默认:  | Specify the output 3D tile file. One of: 
 | 
输出
| 标注 | 名称 | 类型 | 描述 | 
|---|---|---|---|
| Output file | 
 | [3D Tile] | Output layer in  | 
Python代码
Algorithm ID: native:b3dmtogltf
import processing
processing.run("algorithm_id", {parameter_dictionary})
当你在数据处理工具箱某个算法前悬停时,算法 id 将会展现。*参数字*将会提供参数的名称与数值。参考详见`数据处理_控制台`以获取如何从Python控制台中运行数据处理算法。
24.1.1.2. Convert GLTF to vector features
Converts .GLTF or .GLB file contents to standard vector layer formats.
参数
| 标注 | 名称 | 类型 | 描述 | 
|---|---|---|---|
| Input GLTF | 
 | [3D Tile] | Input file to convert. | 
| Output polygons 可选 | 
 | [vector: polygon] Default:  | Specify the output vector layer to store polygon features. One of: 
 文件编码也可以在此更改。 | 
| Output lines 可选 | 
 | [vector: line] Default:  | Specify the output vector layer to store line features. One of: 
 文件编码也可以在此更改。 | 
输出
| 标注 | 名称 | 类型 | 描述 | 
|---|---|---|---|
| Output polygons | 
 | [vector: polygon] | A vector layer storing the polygon features in input layer. | 
| Output lines | 
 | [vector: line] | A vector layer storing the line features in input layer. | 
Python代码
Algorithm ID: native:gltftovector
import processing
processing.run("algorithm_id", {parameter_dictionary})
当你在数据处理工具箱某个算法前悬停时,算法 id 将会展现。*参数字*将会提供参数的名称与数值。参考详见`数据处理_控制台`以获取如何从Python控制台中运行数据处理算法。