[Bf-extensions-cvs] [57f376e] master: Cleanup: trailing space
Campbell Barton
noreply at git.blender.org
Sun Mar 19 02:47:01 CET 2017
Commit: 57f376e9465c6b79ebd4409bc30e0b5930dd4140
Author: Campbell Barton
Date: Sun Mar 19 12:49:03 2017 +1100
Branches: master
https://developer.blender.org/rBA57f376e9465c6b79ebd4409bc30e0b5930dd4140
Cleanup: trailing space
===================================================================
M add_curve_extra_objects/__init__.py
M add_curve_ivygen.py
M add_mesh_BoltFactory/Boltfactory.py
M add_mesh_BoltFactory/createMesh.py
M add_mesh_ant_landscape.py
M animation_animall.py
M curve_simplify.py
M development_api_navigator.py
M game_engine_save_as_runtime.py
M io_coat3D/coat.py
M io_coat3D/tex.py
M io_convert_image_to_mesh_img/import_img.py
M io_export_dxf/draw_blenders/__init__.py
M io_export_dxf/export_dxf.py
M io_export_dxf/model/dxfLibrary.py
M io_export_dxf/model/migiusModel.py
M io_export_dxf/model/model.py
M io_export_dxf/operator.py
M io_export_dxf/primitive_exporters/__init__.py
M io_export_dxf/primitive_exporters/base_exporter.py
M io_export_dxf/primitive_exporters/curve_exporter.py
M io_export_dxf/primitive_exporters/insert_exporter.py
M io_export_dxf/primitive_exporters/mesh_exporter.py
M io_export_dxf/primitive_exporters/text_exporter.py
M io_import_dxf/dxfgrabber/styles.py
M io_import_gimp_image_to_scene.py
M io_import_scene_unreal_psa_psk.py
M io_mesh_pdb/export_pdb.py
M io_mesh_pdb/import_pdb.py
M io_mesh_stl/stl_utils.py
M io_scene_fbx/export_fbx.py
M io_scene_fbx/import_fbx.py
M io_scene_obj/export_obj.py
M light_field_tools/light_field_tools.py
M mesh_f2.py
M mesh_looptools.py
M netrender/baking.py
M netrender/balancing.py
M netrender/client.py
M netrender/master.py
M netrender/master_html.py
M netrender/model.py
M netrender/operators.py
M netrender/repath.py
M netrender/slave.py
M netrender/thumbnail.py
M netrender/ui.py
M netrender/utils.py
M netrender/versioning.py
M node_wrangler.py
M object_animrenderbake.py
M object_boolean_tools.py
M object_cloud_gen.py
M object_fracture_cell/__init__.py
M oscurart_tools/oscurart_meshes.py
M oscurart_tools/oscurart_objects.py
M oscurart_tools/oscurart_render.py
M pie_menus_official/pie_clip_marker_of.py
M render_povray/__init__.py
M render_povray/nodes.py
M render_povray/primitives.py
M render_povray/render.py
M render_povray/shading.py
M render_povray/ui.py
M rigify/rigs/pitchipoy/limbs/arm.py
M rigify/rigs/pitchipoy/limbs/leg.py
M rigify/rigs/pitchipoy/limbs/limb_utils.py
M rigify/rigs/pitchipoy/limbs/paw.py
M rigify/rigs/pitchipoy/limbs/super_limb.py
M rigify/rigs/pitchipoy/limbs/ui.py
M rigify/rigs/pitchipoy/simple_tentacle.py
M rigify/rigs/pitchipoy/super_copy.py
M rigify/rigs/pitchipoy/super_face.py
M rigify/rigs/pitchipoy/super_finger.py
M rigify/rigs/pitchipoy/super_torso_turbo.py
M rigify/rigs/pitchipoy/super_widgets.py
M rigify/rigs/pitchipoy/tentacle.py
M rigify/ui.py
M rigify/utils.py
M system_blend_info.py
M ui_layer_manager.py
===================================================================
diff --git a/add_curve_extra_objects/__init__.py b/add_curve_extra_objects/__init__.py
index ffa0493..05a8e87 100644
--- a/add_curve_extra_objects/__init__.py
+++ b/add_curve_extra_objects/__init__.py
@@ -156,7 +156,7 @@ class INFO_MT_curve_knots_add1(bpy.types.Menu):
text="Celtic Links")
layout.operator("mesh.add_braid",
text="Braid Knot")
-
+
# Define "Extras" menus
diff --git a/add_curve_ivygen.py b/add_curve_ivygen.py
index 66ca8c4..9655a94 100644
--- a/add_curve_ivygen.py
+++ b/add_curve_ivygen.py
@@ -537,7 +537,7 @@ class IvyGen(bpy.types.Operator):
return ((ob is not None) and
(ob.type == 'MESH') and
(context.mode == 'OBJECT'))
-
+
def invoke(self, context, event):
self.updateIvy = True
return self.execute(context)
diff --git a/add_mesh_BoltFactory/Boltfactory.py b/add_mesh_BoltFactory/Boltfactory.py
index aac6d51..66b0c32 100644
--- a/add_mesh_BoltFactory/Boltfactory.py
+++ b/add_mesh_BoltFactory/Boltfactory.py
@@ -44,17 +44,17 @@ class add_mesh_bolt(bpy.types.Operator):
bl_label = "Add Bolt"
bl_options = {'REGISTER', 'UNDO', 'PRESET'}
bl_description = "adds many types of Bolts"
-
+
align_matrix = mathutils.Matrix()
MAX_INPUT_NUMBER = 50
-
+
# edit - Whether to add or update.
edit = BoolProperty(name="",
description="",
default=False,
options={'HIDDEN'})
-
+
#Model Types
Model_Type_List = [('bf_Model_Bolt','BOLT','Bolt Model'),
('bf_Model_Nut','NUT','Nut Model')]
@@ -63,7 +63,7 @@ class add_mesh_bolt(bpy.types.Operator):
description='Choose the type off model you would like',
items = Model_Type_List, default = 'bf_Model_Bolt')
- #Head Types
+ #Head Types
Model_Type_List = [('bf_Head_Hex','HEX','Hex Head'),
('bf_Head_Cap','CAP','Cap Head'),
('bf_Head_Dome','DOME','Dome Head'),
@@ -73,7 +73,7 @@ class add_mesh_bolt(bpy.types.Operator):
name='Head',
description='Choose the type off Head you would like',
items = Model_Type_List, default = 'bf_Head_Hex')
-
+
#Bit Types
Bit_Type_List = [('bf_Bit_None','NONE','No Bit Type'),
('bf_Bit_Allen','ALLEN','Allen Bit Type'),
@@ -82,7 +82,7 @@ class add_mesh_bolt(bpy.types.Operator):
name='Bit Type',
description='Choose the type of bit to you would like',
items = Bit_Type_List, default = 'bf_Bit_None')
-
+
#Nut Types
Nut_Type_List = [('bf_Nut_Hex','HEX','Hex Nut'),
('bf_Nut_Lock','LOCK','Lock Nut')]
@@ -90,20 +90,20 @@ class add_mesh_bolt(bpy.types.Operator):
name='Nut Type',
description='Choose the type of nut you would like',
items = Nut_Type_List, default = 'bf_Nut_Hex')
-
- #Shank Types
+
+ #Shank Types
bf_Shank_Length = FloatProperty(attr='bf_Shank_Length',
name='Shank Length', default = 0,
- min = 0, soft_min = 0, max = MAX_INPUT_NUMBER,
+ min = 0, soft_min = 0, max = MAX_INPUT_NUMBER,
description='Length of the unthreaded shank')
-
+
bf_Shank_Dia = FloatProperty(attr='bf_Shank_Dia',
name='Shank Dia', default = 3,
min = 0, soft_min = 0,max = MAX_INPUT_NUMBER,
description='Diameter of the shank')
-
+
bf_Phillips_Bit_Depth = FloatProperty(attr='bf_Phillips_Bit_Depth',
- name='Bit Depth', default = 1.1431535482406616,
+ name='Bit Depth', default = 1.1431535482406616,
min = 0, soft_min = 0,max = MAX_INPUT_NUMBER,
description='Depth of the Phillips Bit')
@@ -111,12 +111,12 @@ class add_mesh_bolt(bpy.types.Operator):
name='Bit Depth', default = 1.5,
min = 0, soft_min = 0,max = MAX_INPUT_NUMBER,
description='Depth of the Allen Bit')
-
+
bf_Allen_Bit_Flat_Distance = FloatProperty( attr='bf_Allen_Bit_Flat_Distance',
name='Flat Dist', default = 2.5,
min = 0, soft_min = 0, max = MAX_INPUT_NUMBER,
description='Flat Distance of the Allen Bit')
-
+
bf_Hex_Head_Height = FloatProperty( attr='bf_Hex_Head_Height',
name='Head Height', default = 2,
min = 0, soft_min = 0, max = MAX_INPUT_NUMBER,
@@ -156,7 +156,7 @@ class add_mesh_bolt(bpy.types.Operator):
name='Bit Dia', default = 1.8199999332427979,
min = 0, soft_min = 0,max = MAX_INPUT_NUMBER,
description='Diameter of the Philips Bit')
-
+
bf_Thread_Length = FloatProperty( attr='bf_Thread_Length',
name='Thread Length', default = 6,
min = 0, soft_min = 0, max = MAX_INPUT_NUMBER,
@@ -176,7 +176,7 @@ class add_mesh_bolt(bpy.types.Operator):
name='Minor Dia', default = 2.6211137771606445,
min = 0, soft_min = 0, max = MAX_INPUT_NUMBER,
description='Inside diameter of the Thread')
-
+
bf_Crest_Percent = IntProperty( attr='bf_Crest_Percent',
name='Crest Percent', default = 10,
min = 1, soft_min = 1, max = 90,
@@ -186,7 +186,7 @@ class add_mesh_bolt(bpy.types.Operator):
name='Root Percent', default = 10,
min = 1, soft_min = 1, max = 90,
description='Percent of the pitch that makes up the Root')
-
+
bf_Div_Count = IntProperty( attr='bf_Div_Count',
name='Div count', default = 36,
min = 4, soft_min = 4, max = 4096,
@@ -205,7 +205,7 @@ class add_mesh_bolt(bpy.types.Operator):
def draw(self, context):
layout = self.layout
col = layout.column()
-
+
#ENUMS
col.prop(self, 'bf_Model_Type')
col.separator()
@@ -270,11 +270,11 @@ class add_mesh_bolt(bpy.types.Operator):
##### EXECUTE #####
def execute(self, context):
-
+
#print('EXECUTING...')
Create_New_Mesh(self, context, self.align_matrix)
return {'FINISHED'}
-
+
##### INVOKE #####
def invoke(self, context, event):
#print('\n___________START_____________')
diff --git a/add_mesh_BoltFactory/createMesh.py b/add_mesh_BoltFactory/createMesh.py
index 80291c8..58470c0 100644
--- a/add_mesh_BoltFactory/createMesh.py
+++ b/add_mesh_BoltFactory/createMesh.py
@@ -1071,7 +1071,7 @@ def Create_Shank_Verts(START_DIA,OUTTER_DIA,LENGTH,Z_LOCATION,DIV_COUNT):
def Create_Thread_Start_Verts(INNER_DIA,OUTTER_DIA,PITCH,CREST_PERCENT,ROOT_PERCENT,Z_LOCATION,DIV_COUNT):
verts = []
-
+
INNER_RADIUS = INNER_DIA/2
OUTTER_RADIUS = OUTTER_DIA/2
diff --git a/add_mesh_ant_landscape.py b/add_mesh_ant_landscape.py
index 528c551..bf12176 100644
--- a/add_mesh_ant_landscape.py
+++ b/add_mesh_ant_landscape.py
@@ -254,7 +254,7 @@ def landscape_gen(x, y, z, falloffsize, options):
x_offset = options[24]
y_offset = options[25]
- # origin
+ # origin
if rseed == 0:
origin = 0.0 + x_offset, 0.0 + y_offset, 0.0
origin_x = x_offset
@@ -355,7 +355,7 @@ def landscape_gen(x, y, z, falloffsize, options):
elif stratatype == '3':
steps = abs(sin(value * strata * pi) * (0.1 / strata * pi))
value =(value * (1.0 - 0.5) + steps * 0.5) * 2.0
-
+
else:
value = value
@@ -474,7 +474,7 @@ class landscape_add(bpy.types.Operator):
XOffset = FloatProperty(name="X Offset",
default = 0.0,
description = "X Offset")
-
+
YOffset = FloatProperty(name="Y Offset",
default = 0.0,
description = "Y Offset")
diff --git a/animation_animall.py b/animation_animall.py
index 9a4abb7..8c9c26c 100644
--- a/animation_animall.py
+++ b/animation_animall.py
@@ -105,20 +105,20 @@ class VIEW3D_PT_animall(bpy.types.Panel):
def poll(self, context):
if context.active_object and context.active_object.type in {'MESH', 'LATTICE', 'CURVE', 'SURFACE'}:
return context.active_object.type
-
+
# draw the gui
def draw(self, context):
-
+
Obj = context.active_object
-
+
layout = self.layout
col = layout.column(align=True)
row = col.row()
-
+
if Obj.type == 'LATTICE':
row.prop(context.window_manager, "key_points")
row.prop(context.window_manager, "key_shape")
-
+
elif Obj.type == 'MESH':
row.prop(context.window_manager, "key_points")
row.prop(context.window_manager, "key_shape")
@@ -131,35 +131,35 @@ class VIEW3D_PT_animall(bpy.types.Panel):
row.prop(context.window_manager, "key_vgroups")
row = col.row()
row.prop(context.window_manager, "key_uvs")
-
+
elif Obj.type == 'CURVE':
row.prop(context.window_manager, "key_points")
row.prop(context.window_manager, "key_shape")
row = col.row()
row.prop(context.window_manager, "key_radius")
row.prop(context.window_manager, "key_tilt")
-
+
elif Obj.type == 'SURFACE':
row.prop(context.window_manager, "key_points")
row.prop(context.window_manager, "key_shape")
row = col.row()
row.prop(context.window_manager, "key_radius")
row.prop(context.window_manager, "key_tilt")
-
+
row = col.row()
row.operator('anim.insert_keyframe_animall', icon='KEY_HLT')
row.operator('anim.delete_keyframe_animall', icon='KEY_DEHLT')
row = layout.row()
row.operator('anim.clear_animation_animall', icon='X')
-
+
if context.window_manager.key_shape:
-
+
ShapeKey = Obj.active_shape_key
ShapeKeyIndex = Obj.active_shape_key_index
-
+
split = layout.split()
row = split.row()
-
+
if S
@@ Diff output truncated at 10240 characters. @@
More information about the Bf-extensions-cvs
mailing list