Svarbu
Vertimas yra bendruomenės pastangos, prie kurių jūs galite prisijungti. Šis puslapis šiuo metu išverstas 41.67%.
28.1.1. 3D Tiles
NEW in 3.34
28.1.1.1. Convert B3DM to GLTF
Converts files from the legacy .B3DM
format to .GLTF
or .GLB
.
Parametrai
Užrašas |
Pavadinimas |
Tipas |
Aprašymas |
---|---|---|---|
Input B3DM |
|
[3D Tile] |
Input file to convert. |
Output file |
|
[3D Tile] Numatytas: |
Specify the output 3D tile file. One of:
|
Išvestys
Užrašas |
Pavadinimas |
Tipas |
Aprašymas |
---|---|---|---|
Output file |
|
[3D Tile] |
Output layer in |
Python code
Algorithm ID: native:b3dmtogltf
import processing
processing.run("algorithm_id", {parameter_dictionary})
The algorithm id is displayed when you hover over the algorithm in the Processing Toolbox. The parameter dictionary provides the parameter NAMEs and values. See Using processing algorithms from the console for details on how to run processing algorithms from the Python console.
28.1.1.2. Convert GLTF to vector features
Converts .GLTF
or .GLB
file contents to standard vector layer formats.
Parametrai
Užrašas |
Pavadinimas |
Tipas |
Aprašymas |
---|---|---|---|
Input GLTF |
|
[3D Tile] |
Input file to convert. |
Output polygons Optional |
|
[vector: polygon] Default: |
Specify the output vector layer to store polygon features. One of:
The file encoding can also be changed here. |
Output lines Optional |
|
[vector: line] Default: |
Specify the output vector layer to store line features. One of:
The file encoding can also be changed here. |
Išvestys
Užrašas |
Pavadinimas |
Tipas |
Aprašymas |
---|---|---|---|
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 code
Algorithm ID: native:gltftovector
import processing
processing.run("algorithm_id", {parameter_dictionary})
The algorithm id is displayed when you hover over the algorithm in the Processing Toolbox. The parameter dictionary provides the parameter NAMEs and values. See Using processing algorithms from the console for details on how to run processing algorithms from the Python console.