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):