-
-
Notifications
You must be signed in to change notification settings - Fork 90
/
conf.py
54 lines (40 loc) · 1.06 KB
/
conf.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# -*- coding: utf-8 -*-
# (C) 2015 Minoru Akagi
# SPDX-License-Identifier: GPL-2.0-or-later
# begin: 2015-03-02
# general
PLUGIN_NAME = "Qgis2threejs"
PLUGIN_VERSION = "2.8"
PLUGIN_VERSION_INT = 20800
# vector layer
FEATURES_PER_BLOCK = 50 # max number of features in a data block
# multi-threading
RUN_CNTLR_IN_BKGND = True # If True, controller runs in a worker thread
# processing export
P_OPEN_DIRECTORY = True
# debug
DEBUG_MODE = 1
# 0. no debug info
# 1. JS console, qDebug
# 2. JS console, qDebug, log file, "debug" element
class DEF_SETS:
# default export settings
TEMPLATE = "3DViewer.html"
# world
Z_EXAGGERATION = 1.0
Z_SHIFT = 0
CONTROLS = "OrbitControls.js" # last selected one has priority
# dem
SIDE_COLOR = "#ccbbaa"
EDGE_COLOR = "#000000"
WIREFRAME_COLOR = "#000000"
TEXTURE_SIZE = 1024
Z_BOTTOM = 0
# vector
LABEL_HEIGHT = 50
LABEL_COLOR = "#000000"
OTL_COLOR = "#ffffff"
BG_COLOR = "#b0ffffff"
CONN_COLOR = "#c0c0d0"
# animation
ANM_DURATION = 2000 # msec