Class: Qgs3DMapExportSettings¶
Manages the various settings the user can choose from when exporting a 3D scene.
Added in version 3.16.
Constructor
Methods
Returns the full file uri where the 3D scene will be exported. |
|
Returns the export format for the 3D scene. |
|
Returns whether normals will be exported |
|
Returns whether textures will be exported |
|
Returns the scale of the exported model |
|
Returns the scene folder path |
|
Returns the scene name |
|
Sets the export format for the 3D scene. |
|
Sets whether normals should be exported |
|
Sets whether textures will be exported |
|
Sets the scale of exported model |
|
Sets the folder path where exported 3D scene files will be saved. |
|
Sets the scene name |
|
Sets whether triangles edges will look smooth |
|
Sets whether terrain export is enabled. |
|
Sets the terrain resolution |
|
Sets the terrain texture resolution |
|
Returns whether triangles edges will look smooth |
|
Returns whether terrain export is enabled. |
|
Returns the terrain texture resolution |
|
Returns the terrain resolution |
- class qgis._3d.Qgs3DMapExportSettings[source]¶
Bases:
object- __init__()¶
Constructor
- __init__(a0: Qgs3DMapExportSettings)
- Parameters:
- exportFileUri(self) str[source]¶
Returns the full file uri where the 3D scene will be exported.
Added in version 4.2.
- Return type:
str
- exportFormat(self) Qgis.Export3DSceneFormat[source]¶
Returns the export format for the 3D scene.
Added in version 4.2.
- Return type:
- setExportFormat(self, exportFormat: Qgis.Export3DSceneFormat)[source]¶
Sets the export format for the 3D scene.
Added in version 4.2.
- Parameters:
exportFormat (Qgis.Export3DSceneFormat)
- setExportNormals(self, exportNormals: bool)[source]¶
Sets whether normals should be exported
- Parameters:
exportNormals (bool)
- setExportTextures(self, exportTextures: bool)[source]¶
Sets whether textures will be exported
- Parameters:
exportTextures (bool)
- setSceneFolderPath(self, sceneFolderPath: str | None)[source]¶
Sets the folder path where exported 3D scene files will be saved.
- Parameters:
sceneFolderPath (Optional[str])
- setSceneName(self, sceneName: str | None)[source]¶
Sets the scene name
- Parameters:
sceneName (Optional[str])
- setSmoothEdges(self, smoothEdges: bool)[source]¶
Sets whether triangles edges will look smooth
- Parameters:
smoothEdges (bool)
- setTerrainExportEnabled(self, enabled: bool)[source]¶
Sets whether terrain export is enabled.
See also
Added in version 4.0.
- Parameters:
enabled (bool)
- setTerrainResolution(self, resolution: int)[source]¶
Sets the terrain resolution
- Parameters:
resolution (int)
- setTerrainTextureResolution(self, resolution: int)[source]¶
Sets the terrain texture resolution
- Parameters:
resolution (int)