From 65467fbb0a2d64e7df3167ee75a92c5c3a4b0df2 Mon Sep 17 00:00:00 2001 From: Thomas FORGIONE Date: Mon, 21 Nov 2016 17:05:52 +0100 Subject: [PATCH] Added package --- model.py => conv3d/model.py | 0 obj.py => conv3d/obj.py | 2 +- ply.py => conv3d/ply.py | 2 +- obj2ply.py | 4 ++-- ply2obj.py | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) rename model.py => conv3d/model.py (100%) rename obj.py => conv3d/obj.py (96%) rename ply.py => conv3d/ply.py (97%) diff --git a/model.py b/conv3d/model.py similarity index 100% rename from model.py rename to conv3d/model.py diff --git a/obj.py b/conv3d/obj.py similarity index 96% rename from obj.py rename to conv3d/obj.py index a398bad..c1c941c 100644 --- a/obj.py +++ b/conv3d/obj.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 -from model import ModelParser, Exporter, Vertex, TexCoord, Normal, FaceVertex, Face +from .model import ModelParser, Exporter, Vertex, TexCoord, Normal, FaceVertex, Face from functools import reduce class OBJParser(ModelParser): diff --git a/ply.py b/conv3d/ply.py similarity index 97% rename from ply.py rename to conv3d/ply.py index c4c93a6..7f09924 100644 --- a/ply.py +++ b/conv3d/ply.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 -from model import ModelParser, Exporter, Vertex, Face, FaceVertex +from .model import ModelParser, Exporter, Vertex, Face, FaceVertex class PLYParser(ModelParser): diff --git a/obj2ply.py b/obj2ply.py index 3c782c7..99342ed 100755 --- a/obj2ply.py +++ b/obj2ply.py @@ -3,8 +3,8 @@ import argparse import os -from obj import OBJParser -from ply import PLYExporter +from conv3d.obj import OBJParser +from conv3d.ply import PLYExporter from functools import partial def check_path(path, should_exist): diff --git a/ply2obj.py b/ply2obj.py index 1a64e0c..03e4b56 100755 --- a/ply2obj.py +++ b/ply2obj.py @@ -3,8 +3,8 @@ import argparse import os -from obj import OBJExporter -from ply import PLYParser +from conv3d.obj import OBJExporter +from conv3d.ply import PLYParser from functools import partial def check_path(path, should_exist):