# Path: rhino_unwrapper/transformations.py
# def get_mapped_point(point,from_frame,to_frame):
# def get_frame_on_mesh(mesh_location,myMesh):
#     def getOther(vertIdx, edgeTVerts):
# def get_xy_net_frame(pointPair):
# def make_xy_frame(point,xVec):
# def make_origin_frame():
#     def __init__(self,plane):
#     def create_frame_from_vectors(cls,origin,x,y):
#     def create_frame_from_normal_and_x(cls,origin,normal,x):
#     def create_frame_from_tuples(cls,origin,x,y):
#     def instantiate_plane(origin,x,y):
#     def show(self):
#     def is_equal(self,test_frame):
#     def _check_vector3d(self):
#     def _unitize(self):
#     def _check_orthogonal(self):
#     def _check_unitized(self):
# class Frame(object):


import unittest
import mesh
import meshLoad
import Rhino.Geometry as geom
import rhinoscriptsyntax as rs
from rhino_unwrapper import transformations as trans
reload(trans)
reload(meshLoad)


def setUpModule():
    print("---- mesh ----")

def tearDownModule():
    print("---- module torn down ----")
    remove_objects()

def remove_objects():
    rs.DeleteObjects(rs.AllObjects())

class MakeMeshTestCase(unittest.TestCase):

    def test_make_test_mesh(self):
        tMesh = mesh.make_test_mesh()
        self.assertIsInstance(tMesh,mesh.Mesh)

    def test_make_upright_mesh(self):
        uMesh = mesh.make_upright_mesh()
        self.assertIsInstance(uMesh,mesh.Mesh)

    def test_make_cube_mesh(self):
        cMesh = mesh.make_cube_mesh()
        self.assertIsInstance(cMesh,mesh.Mesh)

class MeshCutInfoTestCase(unittest.TestCase):


# Path: rhino_unwrapper/transformations.py
# def get_mapped_point(point,from_frame,to_frame):
# def get_frame_on_mesh(mesh_location,myMesh):
#     def getOther(vertIdx, edgeTVerts):
# def get_xy_net_frame(pointPair):
# def make_xy_frame(point,xVec):
# def make_origin_frame():
#     def __init__(self,plane):
#     def create_frame_from_vectors(cls,origin,x,y):
#     def create_frame_from_normal_and_x(cls,origin,normal,x):
#     def create_frame_from_tuples(cls,origin,x,y):
#     def instantiate_plane(origin,x,y):
#     def show(self):
#     def is_equal(self,test_frame):
#     def _check_vector3d(self):
#     def _unitize(self):
#     def _check_orthogonal(self):
#     def _check_unitized(self):
# class Frame(object):


# Path: rhino_unwrapper/meshUtils/test_mesh.py
import unittest
import mesh
import meshLoad
import Rhino.Geometry as geom
import rhinoscriptsyntax as rs
from rhino_unwrapper import transformations as trans

reload(trans)
reload(meshLoad)


def setUpModule():
    print("---- mesh ----")

def tearDownModule():
    print("---- module torn down ----")
    remove_objects()

def remove_objects():
    rs.DeleteObjects(rs.AllObjects())

class MakeMeshTestCase(unittest.TestCase):

    def test_make_test_mesh(self):
        tMesh = mesh.make_test_mesh()
        self.assertIsInstance(tMesh,mesh.Mesh)

    def test_make_upright_mesh(self):
        uMesh = mesh.make_upright_mesh()
        self.assertIsInstance(uMesh,mesh.Mesh)

    def test_make_cube_mesh(self):
        cMesh = mesh.make_cube_mesh()
        self.assertIsInstance(cMesh,mesh.Mesh)

class MeshCutInfoTestCase(unittest.TestCase):


    def setUp(self):