make a module: one can now "import Lattice2"

This commit is contained in:
DeepSOIC 2015-12-17 01:31:06 +03:00
parent af8de06b01
commit ef18bd6f91
6 changed files with 65 additions and 0 deletions

38
Lattice2.py Normal file
View File

@ -0,0 +1,38 @@
#***************************************************************************
#* *
#* Copyright (c) 2015 - Victor Titov (DeepSOIC) *
#* <vv.titov@gmail.com> *
#* *
#* This program is free software; you can redistribute it and/or modify *
#* it under the terms of the GNU Lesser General Public License (LGPL) *
#* as published by the Free Software Foundation; either version 2 of *
#* the License, or (at your option) any later version. *
#* for detail see the LICENCE text file. *
#* *
#* This program is distributed in the hope that it will be useful, *
#* but WITHOUT ANY WARRANTY; without even the implied warranty of *
#* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
#* GNU Library General Public License for more details. *
#* *
#* You should have received a copy of the GNU Library General Public *
#* License along with this program; if not, write to the Free Software *
#* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 *
#* USA *
#* *
#***************************************************************************
__title__="Lattice module for FreeCAD. The file that imports all Lattice components"
__author__ = "DeepSOIC"
__url__ = "https://github.com/DeepSOIC/Lattice2"
import Lattice2CodeModules as Code
import Lattice2CompoundFeatures as CompoundFeatures
import Lattice2GPFeatures as GPFeatures
import Lattice2ArrayFeatures as ArrayFeatures
import Lattice2GuiTools as GuiTools
import lattice2_rc as resource_module

12
Lattice2ArrayFeatures.py Normal file
View File

@ -0,0 +1,12 @@
import lattice2ArrayFilter as ArrayFilter
import lattice2ArrayFromShape as ArrayFromShape
import lattice2BaseFeature as BaseFeature
import lattice2Invert as Invert
import lattice2JoinArrays as JoinArrays
import lattice2LinearArray as LinearArray
import lattice2Placement as Placement
import lattice2PolarArray as PolarArray
import lattice2PopulateChildren as PopulateChildren
import lattice2PopulateCopies as PopulateCopies
import lattice2ProjectArray as ProjectArray
import lattice2Resample as Resample

7
Lattice2CodeModules.py Normal file
View File

@ -0,0 +1,7 @@
import lattice2Common as _common_code
import lattice2CompoundExplorer as CompoundExplorer
import lattice2Dummy as Dummy
import lattice2Executer as Executer
import lattice2GeomUtils as GeomUtils
import lattice2InterpolatorUtil as InterpolatorUtil
import lattice2Markers as Markers

View File

@ -0,0 +1,3 @@
import CompoundFilter2 as CompoundFilter
import FuseCompound2 as FuseCompound
import lattice2Downgrade as Downgrade

2
Lattice2GPFeatures.py Normal file
View File

@ -0,0 +1,2 @@
import lattice2BoundBox as BoundBox
import lattice2ShapeString as ShapeString

3
Lattice2GuiTools.py Normal file
View File

@ -0,0 +1,3 @@
import lattice2Inspect as Inspect
import lattice2RecomputeLocker as RecomputeLocker
import lattice2SubstituteObject as SubstituteObject