Print-3D: code cleanup, specify link to wiki

This commit is contained in:
Mikhail Rachinskiy 2019-10-16 14:15:43 +04:00
parent 0d3795b4d4
commit 4bf5483561
5 changed files with 10 additions and 4 deletions

View File

@ -21,11 +21,10 @@
bl_info = {
"name": "3D-Print Toolbox",
"author": "Campbell Barton",
"blender": (2, 80, 0),
"blender": (2, 82, 0),
"location": "3D View > Sidebar",
"description": "Utilities for 3D printing",
# TODO
# "wiki_url": "",
"wiki_url": "https://docs.blender.org/manual/en/dev/addons/mesh/3d_print_toolbox.html",
"support": 'OFFICIAL',
"category": "Mesh",
}
@ -36,6 +35,8 @@ if "bpy" in locals():
importlib.reload(ui)
importlib.reload(operators)
importlib.reload(mesh_helpers)
if "export" in locals():
importlib.reload(export)
else:
import math

View File

@ -20,13 +20,13 @@
# Export wrappers and integration with external tools.
import os
import bpy
def image_copy_guess(filepath, objects):
# 'filepath' is the path we are writing to.
import os
import shutil
from bpy_extras import object_utils
@ -53,6 +53,8 @@ def image_copy_guess(filepath, objects):
def write_mesh(context, report_cb):
import os
scene = context.scene
layer = context.view_layer
unit = scene.unit_settings

View File

@ -20,6 +20,7 @@
# Generic helper functions, to be used by any modules.
import bmesh

View File

@ -20,6 +20,7 @@
# All Operator
import math
import bpy

View File

@ -20,6 +20,7 @@
# Interface for this addon.
from bpy.types import Panel
import bmesh