Class: Qgs3DMapExportSettings

class qgis.3d.Qgs3DMapExportSettings

Bases: sip.wrapper

Manages the various settings the user can choose from when exporting a 3D scene

New in version 3.16.

Qgs3DMapExportSettings() Constructor

Qgs3DMapExportSettings(Qgs3DMapExportSettings)

Methods

exportNormals

Returns whether normals will be exported

exportTextures

Returns whether textures will be exported

scale

Returns the scale of the exported model

sceneFolderPath

Returns the scene folder path

sceneName

Returns the scene name

setExportNormals

Sets whether normals should be exported

setExportTextures

Sets whether textures will be exported

setScale

Sets the scale of exported model

setSceneFolderPath

Sets the scene's .obj file folder path

setSceneName

Sets the scene name

setSmoothEdges

Sets whether triangles edges will look smooth

setTerrainResolution

Sets the terrain resolution

setTerrainTextureResolution

Sets the terrain texture resolution

smoothEdges

Returns whether triangles edges will look smooth

terrainTextureResolution

Returns the terrain texture resolution

terrrainResolution

Returns the terrain resolution

exportNormals(self) bool

Returns whether normals will be exported

Return type

bool

exportTextures(self) bool

Returns whether textures will be exported

Return type

bool

scale(self) float

Returns the scale of the exported model

Return type

float

sceneFolderPath(self) str

Returns the scene folder path

Return type

str

sceneName(self) str

Returns the scene name

Return type

str

setExportNormals(self, exportNormals: bool)

Sets whether normals should be exported

Parameters

exportNormals (bool) –

setExportTextures(self, exportTextures: bool)

Sets whether textures will be exported

Parameters

exportTextures (bool) –

setScale(self, scale: float)

Sets the scale of exported model

Parameters

scale (float) –

setSceneFolderPath(self, sceneFolderPath: str)

Sets the scene’s .obj file folder path

Parameters

sceneFolderPath (str) –

setSceneName(self, sceneName: str)

Sets the scene name

Parameters

sceneName (str) –

setSmoothEdges(self, smoothEdges: bool)

Sets whether triangles edges will look smooth

Parameters

smoothEdges (bool) –

setTerrainResolution(self, resolution: int)

Sets the terrain resolution

Parameters

resolution (int) –

setTerrainTextureResolution(self, resolution: int)

Sets the terrain texture resolution

Parameters

resolution (int) –

smoothEdges(self) bool

Returns whether triangles edges will look smooth

Return type

bool

terrainTextureResolution(self) int

Returns the terrain texture resolution

Return type

int

terrrainResolution(self) int

Returns the terrain resolution

Return type

int