Importante

Translation is a community effort you can join. This page is currently translated at 27.38%.

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.

Parâmetros

Label

Nome

Type

Descrição

Input B3DM

INPUT

[3D Tile]

Input file to convert.

Output file

OUTPUT

[3D Tile]

Default: [Save to temporary file]

Specify the output 3D tile file. One of:

  • Save to a Temporary File

  • Save to File…

Resultados

Label

Nome

Type

Descrição

Output file

OUTPUT

[3D Tile]

Output layer in .GLTF format.

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 Usando os algoritmos do processamento a partir da consola 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.

Parâmetros

Label

Nome

Type

Descrição

Input GLTF

INPUT

[3D Tile]

Input file to convert.

Output polygons

Opcional

OUTPUT_POLYGONS

[vector: polygon]

Default: [Create temporary layer]

Specify the output vector layer to store polygon features. One of:

  • Skip Output

  • Create Temporary Layer (TEMPORARY_OUTPUT)

  • Save to File…

  • Save to Geopackage…

  • Save to Database Table…

The file encoding can also be changed here.

Output lines

Opcional

OUTPUT_LINES

[vector: line]

Default: [Create temporary layer]

Specify the output vector layer to store line features. One of:

  • Skip Output

  • Create Temporary Layer (TEMPORARY_OUTPUT)

  • Save to File…

  • Save to Geopackage…

  • Save to Database Table…

The file encoding can also be changed here.

Resultados

Label

Nome

Type

Descrição

Output polygons

OUTPUT_POLYGONS

[vector: polygon]

A vector layer storing the polygon features in input layer.

Output lines

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 Usando os algoritmos do processamento a partir da consola for details on how to run processing algorithms from the Python console.