https://github.com/minorua/Qgis2threejs
Raw File
Tip revision: 7ac5c5590e67fb657ffbaaae918c0f14c7e9ee7b authored by Minoru Akagi on 01 July 2016, 02:08:05 UTC
version 1.4.1
Tip revision: 7ac5c55
settings.py
# -*- coding: utf-8 -*-
"""
/***************************************************************************
 DefaultSettings
                             -------------------
        begin                : 2015-03-02
        copyright            : (C) 2015 Minoru Akagi
        email                : akaginch@gmail.com
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 ***************************************************************************/
"""

plugin_version = "1.4.1"
debug_mode = 0


class DefaultSettings:

  def __init__(self):
    # template
    self.template = "3DViewer(dat-gui).html"

    # world
    self.baseSize = 100
    self.zExaggeration = 1.5
    self.zShift = 0

    # controls
    self.controls = "OrbitControls.js"    # last selected one has priority

  def __getattr__(self, name):
    raise AttributeError

def_vals = DefaultSettings()
back to top