https://github.com/minorua/Qgis2threejs
Raw File
Tip revision: f5a129ad6273152d1b57cb876c9827bf546fa458 authored by Minoru Akagi on 14 July 2016, 01:45:40 UTC
version 1.4.2
Tip revision: f5a129a
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.2"
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