diff --git a/__init__.py b/__init__.py index 896bff7..5e28a27 100644 --- a/__init__.py +++ b/__init__.py @@ -17,10 +17,13 @@ else: from . import spaceship_generator +#importing blender-python library import bpy from bpy.props import StringProperty, BoolProperty, IntProperty from bpy.types import Operator + +#class for generating spaceship objects class GenerateSpaceship(Operator): """Procedurally generate 3D spaceships from a random seed.""" bl_idname = "mesh.generate_spaceship" diff --git a/build.py b/build.py index e3de812..95608ec 100755 --- a/build.py +++ b/build.py @@ -1,5 +1,5 @@ #!/usr/bin/env python - +#imporing absolute path, directory name and join as pjoin variable from os.path import abspath, dirname, join as pjoin import zipfile diff --git a/spaceship_generator.py b/spaceship_generator.py index e64a595..525e59a 100644 --- a/spaceship_generator.py +++ b/spaceship_generator.py @@ -6,8 +6,8 @@ # # michael@spaceduststudios.com # https://github.com/a1studmuffin/SpaceshipGenerator -# +#importing necessary libraries import sys import os import os.path