Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2018-10-19 18:59:58 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2018-10-19 19:12:29 +0300
commitd7d3233715503ecc15b8dd1973f7e73257e2cbda (patch)
treef9f9ab24b89fe574b3f972e45c8337bcd791a9b1
parent84b817117328b3193533324846ec389b1f5fe5c4 (diff)
Spelling fixes in comments and descriptions, patch by luzpaz.
Differential Revision: https://developer.blender.org/D3746
-rw-r--r--add_advanced_objects_menu/cubester.py6
-rw-r--r--add_advanced_objects_menu/mesh_easylattice.py10
-rw-r--r--add_advanced_objects_menu/object_add_chain.py2
-rw-r--r--add_advanced_objects_menu/rope_alpha.py16
-rw-r--r--add_advanced_objects_panels/DelaunayVoronoi.py8
-rw-r--r--add_advanced_objects_panels/__init__.py2
-rw-r--r--add_advanced_objects_panels/delaunay_voronoi.py4
-rw-r--r--add_advanced_objects_panels/object_laplace_lightning.py12
-rw-r--r--add_advanced_objects_panels/object_mangle_tools.py2
-rw-r--r--add_curve_extra_objects/add_curve_aceous_galore.py2
-rw-r--r--add_curve_extra_objects/add_curve_celtic_links.py2
-rw-r--r--add_curve_extra_objects/add_curve_simple.py4
-rw-r--r--add_curve_extra_objects/add_curve_spirals.py2
-rw-r--r--add_curve_extra_objects/add_curve_torus_knots.py4
-rw-r--r--add_curve_extra_objects/add_surface_plane_cone.py12
-rw-r--r--add_curve_ivygen.py6
-rw-r--r--add_curve_sapling/__init__.py6
-rw-r--r--add_curve_sapling/utils.py8
-rw-r--r--add_mesh_BoltFactory/createMesh.py14
-rw-r--r--add_mesh_extra_objects/Blocks.py26
-rw-r--r--add_mesh_extra_objects/Wallfactory.py2
-rw-r--r--add_mesh_extra_objects/add_mesh_beam_builder.py2
-rw-r--r--add_mesh_extra_objects/add_mesh_gears.py2
-rw-r--r--add_mesh_extra_objects/add_mesh_round_brilliant.py18
-rw-r--r--add_mesh_extra_objects/add_mesh_solid.py6
-rw-r--r--add_mesh_extra_objects/add_mesh_teapot.py4
-rw-r--r--add_mesh_extra_objects/add_mesh_triangles.py10
-rw-r--r--add_mesh_extra_objects/geodesic_domes/third_domes_panel_271.py6
-rw-r--r--add_mesh_extra_objects/geodesic_domes/vefm_271.py12
-rw-r--r--add_mesh_extra_objects/mesh_discombobulator.py2
-rw-r--r--ant_landscape/__init__.py2
-rw-r--r--ant_landscape/add_mesh_ant_landscape.py2
-rw-r--r--ant_landscape/eroder.py8
-rw-r--r--ant_landscape/mesh_ant_displace.py2
-rw-r--r--archimesh/achm_curtain_maker.py2
-rw-r--r--archimesh/achm_main_panel.py2
-rw-r--r--archimesh/achm_room_maker.py2
-rw-r--r--archimesh/achm_window_panel.py2
-rw-r--r--archipack/archipack_2d.py10
-rw-r--r--archipack/archipack_autoboolean.py4
-rw-r--r--archipack/archipack_cutter.py4
-rw-r--r--archipack/archipack_door.py2
-rw-r--r--archipack/archipack_fence.py2
-rw-r--r--archipack/archipack_floor.py2
-rw-r--r--archipack/archipack_gl.py2
-rw-r--r--archipack/archipack_keymaps.py2
-rw-r--r--archipack/archipack_manipulator.py30
-rw-r--r--archipack/archipack_material.py4
-rw-r--r--archipack/archipack_object.py4
-rw-r--r--archipack/archipack_reference_point.py2
-rw-r--r--archipack/archipack_rendering.py4
-rw-r--r--archipack/archipack_roof.py52
-rw-r--r--archipack/archipack_slab.py6
-rw-r--r--archipack/archipack_stair.py2
-rw-r--r--archipack/archipack_wall2.py2
-rw-r--r--archipack/archipack_window.py4
-rw-r--r--archipack/panel.py2
-rw-r--r--camera_dolly_crane_rigs.py6
-rw-r--r--development_api_navigator.py14
-rw-r--r--io_anim_bvh/export_bvh.py2
-rw-r--r--io_anim_bvh/import_bvh.py2
-rw-r--r--io_anim_nuke_chan/import_nuke_chan.py4
-rw-r--r--io_blend_utils/blender_bam-unpacked.whl/bam/blend/blendfile_pack.py2
-rw-r--r--io_blend_utils/blender_bam-unpacked.whl/bam/cli.py2
-rw-r--r--io_convert_image_to_mesh_img/mesh/terrain.py4
-rw-r--r--io_convert_image_to_mesh_img/ui/importer.py2
-rw-r--r--io_convert_image_to_mesh_img/ui/terrainpanel.py2
-rw-r--r--io_curve_svg/import_svg.py2
-rw-r--r--io_export_after_effects.py4
-rw-r--r--io_export_dxf/model/dxfLibrary.py2
-rw-r--r--io_export_dxf/primitive_exporters/base_exporter.py4
-rw-r--r--io_export_paper_model.py4
-rw-r--r--io_export_unreal_psk_psa.py8
-rw-r--r--io_import_dxf/dxfgrabber/juliandate.py2
-rw-r--r--io_import_dxf/dxfimport/do.py14
-rw-r--r--io_import_dxf/dxfimport/groupsort.py2
-rw-r--r--io_import_gimp_image_to_scene.py4
-rw-r--r--io_import_images_as_planes.py8
-rw-r--r--io_import_scene_lwo.py4
-rw-r--r--io_import_scene_unreal_psa_psk.py6
-rw-r--r--io_mesh_pdb/__init__.py2
-rw-r--r--io_mesh_pdb/import_pdb.py18
-rw-r--r--io_mesh_ply/__init__.py2
-rw-r--r--io_mesh_stl/stl_utils.py2
-rw-r--r--io_online_sketchfab/__init__.py4
-rw-r--r--io_scene_3ds/export_3ds.py2
-rw-r--r--io_scene_fbx/export_fbx_bin.py2
-rw-r--r--io_scene_fbx/fbx_utils.py2
-rw-r--r--io_scene_fbx/import_fbx.py2
-rw-r--r--io_scene_ms3d/ms3d_export.py2
-rw-r--r--io_scene_ms3d/ms3d_ui.py2
-rw-r--r--io_scene_obj/export_obj.py6
-rw-r--r--io_scene_obj/import_obj.py8
-rw-r--r--io_scene_x/export_x.py2
-rw-r--r--io_scene_x3d/import_x3d.py28
-rw-r--r--io_sequencer_edl/import_edl.py2
-rw-r--r--io_sequencer_edl/parse_edl.py2
-rw-r--r--io_shape_mdd/import_mdd.py2
-rw-r--r--light_field_tools/light_field_tools.py4
-rw-r--r--materials_library_vx/README.txt4
-rw-r--r--materials_library_vx/__init__.py8
-rw-r--r--materials_utils/__init__.py4
-rw-r--r--materials_utils/material_converter.py2
-rw-r--r--materials_utils/materials_cycles_converter.py6
-rw-r--r--measureit/__init__.py4
-rw-r--r--measureit/measureit_geometry.py2
-rw-r--r--measureit/measureit_main.py2
-rw-r--r--mesh_auto_mirror.py2
-rw-r--r--mesh_bsurfaces.py20
-rw-r--r--mesh_carver.py2
-rw-r--r--mesh_extra_tools/__init__.py2
-rw-r--r--mesh_extra_tools/mesh_edge_roundifier.py4
-rw-r--r--mesh_extra_tools/mesh_edges_length.py56
-rw-r--r--mesh_extra_tools/mesh_edgetools.py16
-rw-r--r--mesh_extra_tools/mesh_fastloop.py4
-rw-r--r--mesh_extra_tools/mesh_help.py2
-rw-r--r--mesh_extra_tools/mesh_pen_tool.py2
-rw-r--r--mesh_extra_tools/mesh_select_tools/mesh_select_by_edge_length.py4
-rw-r--r--mesh_extra_tools/mesh_vertex_chamfer.py2
-rw-r--r--mesh_extra_tools/pkhg_faces.py2
-rw-r--r--mesh_inset/geom.py4
-rw-r--r--mesh_inset/model.py4
-rw-r--r--mesh_inset/triquad.py2
-rw-r--r--mesh_tiny_cad/VTX.py2
-rw-r--r--mesh_tissue/colors_groups_exchanger.py4
-rw-r--r--mesh_tissue/tessellate_numpy.py2
-rw-r--r--mocap/__init__.py2
-rw-r--r--mocap/mocap_constraints.py4
-rw-r--r--mocap/mocap_tools.py16
-rw-r--r--mocap/retarget.py10
-rw-r--r--modules/cycles_shader_compat.py2
-rw-r--r--modules/rna_manual_reference.py2
-rw-r--r--netrender/js/jquery.js10
-rw-r--r--netrender/js/netrender-widget.js2
-rw-r--r--netrender/master.py2
-rw-r--r--netrender/ui.py2
-rw-r--r--node_wrangler.py14
-rw-r--r--object_boolean_tools.py4
-rw-r--r--object_skinify.py4
-rw-r--r--oscurart_tools/oscurart_files.py2
-rw-r--r--oscurart_tools/oscurart_meshes.py8
-rw-r--r--oscurart_tools/oscurart_objects.py8
-rw-r--r--oscurart_tools/oscurart_render.py2
-rw-r--r--paint_palette.py2
-rw-r--r--presets/pov/world/1_Clear_Blue_Sky.py2
-rw-r--r--presets/pov/world/2_Partly_Hazy_Sky.py2
-rw-r--r--render_povray/__init__.py6
-rw-r--r--render_povray/df3.py6
-rw-r--r--render_povray/render.py8
-rw-r--r--render_povray/templates_pov/abyss.pov2
-rw-r--r--render_povray/templates_pov/biscuit.pov2
-rw-r--r--render_povray/templates_pov/chess2.pov2
-rw-r--r--render_povray/templates_pov/diffract.pov2
-rw-r--r--render_povray/templates_pov/diffuse_back.pov2
-rw-r--r--render_povray/templates_pov/grenadine.pov2
-rw-r--r--render_povray/templates_pov/isocacti.pov2
-rw-r--r--render_povray/templates_pov/mediasky.pov2
-rw-r--r--render_povray/templates_pov/wallstucco.pov4
-rw-r--r--render_povray/update_files.py2
-rw-r--r--rigify/legacy/rigs/pitchipoy/limbs/limb_utils.py2
-rw-r--r--rigify/legacy/rigs/pitchipoy/limbs/super_limb.py2
-rw-r--r--rigify/legacy/rigs/pitchipoy/super_torso_turbo.py4
-rw-r--r--rigify/legacy/utils.py2
-rw-r--r--rigify/rigs/experimental/super_chain.py2
-rw-r--r--rigify/rigs/limbs/arm.py2
-rw-r--r--rigify/rigs/limbs/leg.py2
-rw-r--r--rigify/rigs/limbs/paw.py2
-rw-r--r--rigify/rigs/spines/super_spine.py4
-rw-r--r--rigify/rot_mode.py2
-rw-r--r--rigify/utils.py2
-rw-r--r--sequencer_kinoraw_tools/audio_tools.py2
-rw-r--r--sequencer_kinoraw_tools/exiftool.py2
-rw-r--r--sequencer_kinoraw_tools/functions.py2
-rw-r--r--sequencer_kinoraw_tools/jumptocut.py2
-rw-r--r--sequencer_kinoraw_tools/operators_extra_actions.py2
-rw-r--r--sequencer_kinoraw_tools/recursive_loader.py2
-rw-r--r--space_clip_editor_autotracker.py4
-rw-r--r--space_view3d_brush_menus/stroke_menu.py2
-rw-r--r--space_view3d_brush_menus/utils_core.py2
-rw-r--r--space_view3d_copy_attributes.py8
-rw-r--r--space_view3d_display_tools/select_tools.py2
-rw-r--r--space_view3d_modifier_tools.py2
-rw-r--r--space_view3d_pie_menus/pie_apply_transform_menu.py4
-rw-r--r--space_view3d_spacebar_menu.py2
-rw-r--r--space_view3d_stored_views/io.py2
-rw-r--r--system_demo_mode/__init__.py2
-rw-r--r--system_demo_mode/demo_mode.py2
-rw-r--r--uv_magic_uv/common.py4
-rw-r--r--uv_magic_uv/op/texture_wrap.py4
-rw-r--r--uv_magic_uv/properites.py2
-rw-r--r--uv_texture_atlas.py8
191 files changed, 485 insertions, 485 deletions
diff --git a/add_advanced_objects_menu/cubester.py b/add_advanced_objects_menu/cubester.py
index 87322f4f..f93adbb8 100644
--- a/add_advanced_objects_menu/cubester.py
+++ b/add_advanced_objects_menu/cubester.py
@@ -201,7 +201,7 @@ def create_mesh_from_audio(self, scene, verts, faces):
bpy.context.scene.objects.active = ob
ob.select = True
- # inital vertex colors
+ # initial vertex colors
if adv_obj.cubester_materials == "image" and adv_obj.cubester_color_image != "":
picture = bpy.data.images[adv_obj.cubester_color_image]
pixels = list(picture.pixels)
@@ -727,7 +727,7 @@ class CubeSterPanel(Panel):
box.prop_search(adv_obj, "cubester_image", bpy.data, "images")
box.prop(adv_obj, "cubester_load_image")
- # find number of approriate images if sequence
+ # find number of appropriate images if sequence
if adv_obj.cubester_load_type == "multiple":
box = layout.box()
# display number of images found there
@@ -787,7 +787,7 @@ class CubeSterPanel(Panel):
if adv_obj.cubester_materials == "image":
box.prop(adv_obj, "cubester_load_type")
- # find number of approriate images if sequence
+ # find number of appropriate images if sequence
if adv_obj.cubester_load_type == "multiple":
# display number of images found there
images = find_sequence_images(self, context)
diff --git a/add_advanced_objects_menu/mesh_easylattice.py b/add_advanced_objects_menu/mesh_easylattice.py
index 9a43474c..cdb165bd 100644
--- a/add_advanced_objects_menu/mesh_easylattice.py
+++ b/add_advanced_objects_menu/mesh_easylattice.py
@@ -48,7 +48,7 @@ def createLattice(context, obj, props):
lat = bpy.data.lattices.new('EasyLattice')
ob = bpy.data.objects.new('EasyLattice', lat)
- # Take into consideration any selected vertices (default: all verticies)
+ # Take into consideration any selected vertices (default: all vertices)
selectedVertices = createVertexGroup(obj)
size, pos = findBBox(obj, selectedVertices)
@@ -172,7 +172,7 @@ def findBBox(obj, selvertsarray):
def buildTrnSclMat(obj):
# This function builds a local matrix that encodes translation
# and scale and it leaves out the rotation matrix
- # The rotation is applied at obejct level if there is any
+ # The rotation is applied at object level if there is any
mat_trans = Matrix.Translation(obj.location)
mat_scale = Matrix.Scale(obj.scale[0], 4, (1, 0, 0))
mat_scale *= Matrix.Scale(obj.scale[1], 4, (0, 1, 0))
@@ -186,7 +186,7 @@ def buildTrnSclMat(obj):
def buildTrnScl_WorldMat(obj):
# This function builds a real world matrix that encodes translation
# and scale and it leaves out the rotation matrix
- # The rotation is applied at obejct level if there is any
+ # The rotation is applied at object level if there is any
loc, rot, scl = obj.matrix_world.decompose()
mat_trans = Matrix.Translation(loc)
@@ -215,7 +215,7 @@ def buildRot_WorldMat(obj):
def buildTrn_WorldMat(obj):
# This function builds a real world matrix that encodes translation
# and scale and it leaves out the rotation matrix
- # The rotation is applied at obejct level if there is any
+ # The rotation is applied at object level if there is any
loc, rot, scl = obj.matrix_world.decompose()
mat_trans = Matrix.Translation(loc)
@@ -225,7 +225,7 @@ def buildTrn_WorldMat(obj):
def buildScl_WorldMat(obj):
# This function builds a real world matrix that encodes translation
# and scale and it leaves out the rotation matrix
- # The rotation is applied at obejct level if there is any
+ # The rotation is applied at object level if there is any
loc, rot, scl = obj.matrix_world.decompose()
mat_scale = Matrix.Scale(scl[0], 4, (1, 0, 0))
diff --git a/add_advanced_objects_menu/object_add_chain.py b/add_advanced_objects_menu/object_add_chain.py
index 8b182c82..0ae29145 100644
--- a/add_advanced_objects_menu/object_add_chain.py
+++ b/add_advanced_objects_menu/object_add_chain.py
@@ -75,7 +75,7 @@ def Add_Chain():
# Positions Torus primitive to center of scene
bpy.context.active_object.location = 0.0, 0.0, 0.0
- # Reseting Torus rotation in case of 'Align to view' option enabled
+ # Resetting Torus rotation in case of 'Align to view' option enabled
bpy.context.active_object.rotation_euler = 0.0, 0.0, 0.0
# Changes Torus name to chain adds variable tor
diff --git a/add_advanced_objects_menu/rope_alpha.py b/add_advanced_objects_menu/rope_alpha.py
index 904168a1..2815c7c6 100644
--- a/add_advanced_objects_menu/rope_alpha.py
+++ b/add_advanced_objects_menu/rope_alpha.py
@@ -204,7 +204,7 @@ class ClothRope(Operator):
bl_description = ("Create a new Scene with a Cloth modifier\n"
"Rope Simulation with hooked Helper Objects")
- ropelenght = IntProperty(
+ ropelength = IntProperty(
name="Rope Length",
description="Length of the generated Rope",
default=5
@@ -249,7 +249,7 @@ class ClothRope(Operator):
scene = bpy.context.scene
scene.name = "Test Rope"
seleccionar_todo()
- longitud = self.ropelenght
+ longitud = self.ropelength
# For the middle to have x segments between the first and
# last point, must add 1 to the quantity:
@@ -333,10 +333,10 @@ class ClothRope(Operator):
entrar_en_editmode() # enter edit mode
bpy.ops.object.vertex_group_add() # Creating Master guide group
select_all_in_edit_mode(ob)
- bpy.ops.object.vertex_group_assign() # and assing it
+ bpy.ops.object.vertex_group_assign() # and assign it
ob.vertex_groups[1].name = "Guide_rope"
- # extrude the Curve so it has a minumum thickness for collide
+ # extrude the Curve so it has a minimum thickness for collide
bpy.ops.mesh.extrude_region_move(
MESH_OT_extrude_region={"mirror": False},
TRANSFORM_OT_translate={
@@ -485,7 +485,7 @@ class ClothRope(Operator):
col.label("Rope settings:")
rowsub0 = col.row()
- rowsub0.prop(self, "ropelenght", text="Length")
+ rowsub0.prop(self, "ropelength", text="Length")
rowsub0.prop(self, "ropesegments", text="Segments")
rowsub0.prop(self, "radiusrope", text="Radius")
@@ -502,7 +502,7 @@ class BallRope(Operator):
"Wrecking Ball on a rope")
# defaults rope ball
- ropelenght2 = IntProperty(
+ ropelength2 = IntProperty(
name="Rope Length",
description="Length of the Wrecking Ball rope",
default=10
@@ -564,7 +564,7 @@ class BallRope(Operator):
def execute(self, context):
world_steps = self.worldsteps
solver_iterations = self.solveriterations
- longitud = self.ropelenght2
+ longitud = self.ropelength2
# make a + 2, so the segments will be between the two end points...
segmentos = self.ropesegments2 + 2
@@ -800,7 +800,7 @@ class BallRope(Operator):
rowsub0.prop(self, "hidecubes", text="Hide Link Cubes")
rowsub1 = col.row(align=True)
- rowsub1.prop(self, "ropelenght2", text="Length")
+ rowsub1.prop(self, "ropelength2", text="Length")
rowsub1.prop(self, "ropesegments2", text="Segments")
rowsub2 = col.row(align=True)
diff --git a/add_advanced_objects_panels/DelaunayVoronoi.py b/add_advanced_objects_panels/DelaunayVoronoi.py
index dcce7f68..d291d700 100644
--- a/add_advanced_objects_panels/DelaunayVoronoi.py
+++ b/add_advanced_objects_panels/DelaunayVoronoi.py
@@ -264,10 +264,10 @@ class Context(object):
def setClipBuffer(self, xpourcent, ypourcent):
xmin, xmax, ymin, ymax = self.extent
- witdh = xmax - xmin
+ width = xmax - xmin
height = ymax - ymin
- xmin = xmin - witdh * xpourcent / 100
- xmax = xmax + witdh * xpourcent / 100
+ xmin = xmin - width * xpourcent / 100
+ xmax = xmax + width * xpourcent / 100
ymin = ymin - height * ypourcent / 100
ymax = ymax + height * ypourcent / 100
self.extent = xmin, xmax, ymin, ymax
@@ -761,7 +761,7 @@ class EdgeList(object):
break
i += 1
- # Now search linear list of halfedges for the corect one
+ # Now search linear list of halfedges for the correct one
if (he is self.leftend) or (he is not self.rightend and he.isPointRightOf(pt)):
he = he.right
while he is not self.rightend and he.isPointRightOf(pt):
diff --git a/add_advanced_objects_panels/__init__.py b/add_advanced_objects_panels/__init__.py
index 7de95cd1..e2f72994 100644
--- a/add_advanced_objects_panels/__init__.py
+++ b/add_advanced_objects_panels/__init__.py
@@ -468,7 +468,7 @@ class AdvancedObjProperties1(PropertyGroup):
)
# oscurart_constellation
constellation_limit = FloatProperty(
- name="Inital Threshold",
+ name="Initial Threshold",
description="Edges will be created only if the distance\n"
"between vertices is smaller than this value\n"
"This is a starting value on Operator Invoke",
diff --git a/add_advanced_objects_panels/delaunay_voronoi.py b/add_advanced_objects_panels/delaunay_voronoi.py
index 92cd0dad..44e746df 100644
--- a/add_advanced_objects_panels/delaunay_voronoi.py
+++ b/add_advanced_objects_panels/delaunay_voronoi.py
@@ -157,7 +157,7 @@ class OBJECT_OT_TriangulateButton(Operator):
print("Total :%s faces %s verts" % (len(faces), len(points_3D)))
return {'FINISHED'}
- # Get points coodinates
+ # Get points coordinates
r = obj.rotation_euler
s = obj.scale
mesh = obj.data
@@ -244,7 +244,7 @@ class OBJECT_OT_VoronoiButton(Operator):
# move the check into the poll
obj = context.active_object
- # Get points coodinates
+ # Get points coordinates
r = obj.rotation_euler
s = obj.scale
mesh = obj.data
diff --git a/add_advanced_objects_panels/object_laplace_lightning.py b/add_advanced_objects_panels/object_laplace_lightning.py
index f33ed935..fa50afd3 100644
--- a/add_advanced_objects_panels/object_laplace_lightning.py
+++ b/add_advanced_objects_panels/object_laplace_lightning.py
@@ -514,7 +514,7 @@ def writeStokeToSingleMesh(arr, jarr, orig, gs, mct, rpt=None):
def visualizeArray(cg, oob, gs, vm, vs, vc, vv, rst):
winmgr = bpy.context.scene.advanced_objects1
# IN: (cellgrid, origin, gridscale,
- # mulimesh, single mesh, cubes, voxels, report sting)
+ # mulimesh, single mesh, cubes, voxels, report string)
origin = oob.location
# deal with vert multi-origins
@@ -613,7 +613,7 @@ def buildCPGraph_WORKINPROGRESS(arr, sti=2):
def findChargePath(oc, fc, ngraph, restrict=[], partial=True):
# oc -origin charge index, fc -final charge index
# ngraph -node graph, restrict- index of sites cannot traverse
- # partial -return partial path if restriction encounterd
+ # partial -return partial path if restriction encountered
cList = splitList(ngraph, 0)
pList = splitList(ngraph, 1)
aRi = []
@@ -764,7 +764,7 @@ def classifyStroke(sarr, mct, hORDER=1):
aTIPSi = findTips(sgarr)
# find horder channel roots
- # hcount = orders bewteen main and side/tips
+ # hcount = orders between main and side/tips
# !!!still buggy!!!
hRESTRICT = list(aMAINi) # add to this after each time
allHPATHSi = [] # all ho paths: [[h0], [h1]...]
@@ -794,7 +794,7 @@ def classifyStroke(sarr, mct, hORDER=1):
hRESTRICT += hri
curPATHSi = aHPATHSi
- # side branches, final order of heirarchy
+ # side branches, final order of hierarchy
# from tips that are not in an existing path
# back to any other point that is already on a path
aDRAWNi = []
@@ -1159,13 +1159,13 @@ def FSLG():
winmgr.ORIGIN = obORIGIN.location
winmgr.GROUNDZ = int((obGROUND.location[2] - winmgr.ORIGIN[2]) / winmgr.GSCALE)
- # 1) insert intial charge(s) point (uses verts if mesh)
+ # 1) insert initial charge(s) point (uses verts if mesh)
cgrid = [(0, 0, 0)]
if obORIGIN.type == 'MESH':
debug_prints(
func="FSLG",
- text="Origin object is mesh, 'voxelizing' intial charges from verts"
+ text="Origin object is mesh, 'voxelizing' initial charges from verts"
)
cgrid = voxelByVertex(obORIGIN, winmgr.GSCALE)
diff --git a/add_advanced_objects_panels/object_mangle_tools.py b/add_advanced_objects_panels/object_mangle_tools.py
index 0796fea6..4631f82d 100644
--- a/add_advanced_objects_panels/object_mangle_tools.py
+++ b/add_advanced_objects_panels/object_mangle_tools.py
@@ -49,7 +49,7 @@ def move_coordinate(context, co, is_curve=False):
multiplier = 1
# For curves, we base the multiplier on the circumference formula.
- # This helps make curve changes more noticable.
+ # This helps make curve changes more noticeable.
if is_curve:
multiplier = 2 * pi
random_mag = advanced_objects.mangle_random_magnitude
diff --git a/add_curve_extra_objects/add_curve_aceous_galore.py b/add_curve_extra_objects/add_curve_aceous_galore.py
index 59e1caef..d823cbb5 100644
--- a/add_curve_extra_objects/add_curve_aceous_galore.py
+++ b/add_curve_extra_objects/add_curve_aceous_galore.py
@@ -746,7 +746,7 @@ def setBezierHandles(obj, mode='AUTOMATIC'):
bpy.ops.object.mode_set(mode='OBJECT', toggle=True)
-# get array of vertcoordinates acording to splinetype
+# get array of vertcoordinates according to splinetype
def vertsToPoints(Verts, splineType):
# main vars
diff --git a/add_curve_extra_objects/add_curve_celtic_links.py b/add_curve_extra_objects/add_curve_celtic_links.py
index 66b800bf..f4313c85 100644
--- a/add_curve_extra_objects/add_curve_celtic_links.py
+++ b/add_curve_extra_objects/add_curve_celtic_links.py
@@ -88,7 +88,7 @@ class CelticKnotOperator(Operator):
)
crossing_strength = FloatProperty(
name="Crossing Strength",
- description="Aligned only: strenth of bezier control points",
+ description="Aligned only: strength of bezier control points",
soft_min=0,
subtype="DISTANCE",
unit="LENGTH"
diff --git a/add_curve_extra_objects/add_curve_simple.py b/add_curve_extra_objects/add_curve_simple.py
index c6908ce9..d8ff9ad7 100644
--- a/add_curve_extra_objects/add_curve_simple.py
+++ b/add_curve_extra_objects/add_curve_simple.py
@@ -817,7 +817,7 @@ class Simple(Operator):
# general properties
Types = [('Point', "Point", "Construct a Point"),
('Line', "Line", "Construct a Line"),
- ('Distance', "Distance", "Contruct a two point Distance"),
+ ('Distance', "Distance", "Construct a two point Distance"),
('Angle', "Angle", "Construct an Angle"),
('Circle', "Circle", "Construct a Circle"),
('Ellipse', "Ellipse", "Construct an Ellipse"),
@@ -1526,7 +1526,7 @@ class SimpleVariables(PropertyGroup):
# general properties
Types = [('Point', "Point", "Construct a Point"),
('Line', "Line", "Construct a Line"),
- ('Distance', "Distance", "Contruct a two point Distance"),
+ ('Distance', "Distance", "Construct a two point Distance"),
('Angle', "Angle", "Construct an Angle"),
('Circle', "Circle", "Construct a Circle"),
('Ellipse', "Ellipse", "Construct an Ellipse"),
diff --git a/add_curve_extra_objects/add_curve_spirals.py b/add_curve_extra_objects/add_curve_spirals.py
index 522f6379..9abfebd8 100644
--- a/add_curve_extra_objects/add_curve_spirals.py
+++ b/add_curve_extra_objects/add_curve_spirals.py
@@ -43,7 +43,7 @@ def make_spiral(props, context):
# archemedian and logarithmic can be plotted in cylindrical coordinates
# INPUT: turns->degree->max_phi, steps, direction
- # Initialise Polar Coordinate Enviroment
+ # Initialise Polar Coordinate Environment
props.degree = 360 * props.turns # If you want to make the slider for degree
steps = props.steps * props.turns # props.steps[per turn] -> steps[for the whole spiral]
props.z_scale = props.dif_z * props.turns
diff --git a/add_curve_extra_objects/add_curve_torus_knots.py b/add_curve_extra_objects/add_curve_torus_knots.py
index 4c26fe07..4401112d 100644
--- a/add_curve_extra_objects/add_curve_torus_knots.py
+++ b/add_curve_extra_objects/add_curve_torus_knots.py
@@ -547,8 +547,8 @@ class torus_knot_plus(Operator, AddObjectHelper):
items=SplineTypes,
)
bezierHandles = [
- ('VECTOR', "Vector", "Bezier Hanles type - Vector"),
- ('AUTOMATIC', "Auto", "Bezier Hanles type - Automatic"),
+ ('VECTOR', "Vector", "Bezier Handles type - Vector"),
+ ('AUTOMATIC', "Auto", "Bezier Handles type - Automatic"),
]
handleType = EnumProperty(
name="Handle type",
diff --git a/add_curve_extra_objects/add_surface_plane_cone.py b/add_curve_extra_objects/add_surface_plane_cone.py
index dcbb5b52..ad5e1eb9 100644
--- a/add_curve_extra_objects/add_surface_plane_cone.py
+++ b/add_curve_extra_objects/add_surface_plane_cone.py
@@ -81,7 +81,7 @@ class MakeSurfaceWedge(Operator, MakeSurfaceHelpers):
# add a surface Plane
bpy.ops.object.add_surface_plane()
- # save some time, by getting instant acces to those values
+ # save some time, by getting instant access to those values
ao = context.active_object
point = ao.data.splines[0].points
@@ -95,7 +95,7 @@ class MakeSurfaceWedge(Operator, MakeSurfaceHelpers):
bpy.ops.curve.select_all(action='DESELECT')
# select points 0 and 1, and extrudde them
- # declaring ao and point again seems necesary...
+ # declaring ao and point again seems necessary...
ao = context.active_object
point = ao.data.splines[0].points
point[0].select = True
@@ -154,7 +154,7 @@ class MakeSurfaceCone(Operator, MakeSurfaceHelpers):
bpy.ops.object.mode_set(mode='EDIT')
# deselect all
bpy.ops.curve.select_all(action='DESELECT')
- # too shorten alot of lines
+ # too shorten a lot of lines
point = ao.data.splines[0].points
# get middle points
@@ -165,7 +165,7 @@ class MakeSurfaceCone(Operator, MakeSurfaceHelpers):
# select non-middle points and delete them
bpy.ops.curve.select_all(action='INVERT')
bpy.ops.curve.delete(type='VERT')
- # declaring this again seems necesary...
+ # declaring this again seems necessary...
point = ao.data.splines[0].points
# list of points to be in center, and 2 bu'' s higher
@@ -200,7 +200,7 @@ class MakeSurfaceCone(Operator, MakeSurfaceHelpers):
class MakeSurfaceStar(Operator, MakeSurfaceHelpers):
bl_idname = "object.add_surface_star"
bl_label = "Add Surface Star"
- bl_description = "Contruct a Surface Star"
+ bl_description = "Construct a Surface Star"
bl_options = {'REGISTER', 'UNDO'}
def execute(self, context):
@@ -282,7 +282,7 @@ class MakeSurfaceStar(Operator, MakeSurfaceHelpers):
class MakeSurfacePlane(Operator, MakeSurfaceHelpers):
bl_idname = "object.add_surface_plane"
bl_label = "Add Surface Plane"
- bl_description = "Contruct a Surface Plane"
+ bl_description = "Construct a Surface Plane"
bl_options = {'REGISTER', 'UNDO'}
def execute(self, context):
diff --git a/add_curve_ivygen.py b/add_curve_ivygen.py
index 7a90b3b9..89b6abf0 100644
--- a/add_curve_ivygen.py
+++ b/add_curve_ivygen.py
@@ -67,7 +67,7 @@ def createIvyGeometry(IVY, growLeaves):
# local_ivyBranchSize = IVY.ivyBranchSize # * radius * IVY.ivySize
gaussWeight = (1.0, 2.0, 4.0, 7.0, 9.0, 10.0, 9.0, 7.0, 4.0, 2.0, 1.0)
- # Create a new curve and intialise it
+ # Create a new curve and initialise it
curve = bpy.data.curves.new("IVY", type='CURVE')
curve.dimensions = '3D'
curve.bevel_depth = 1
@@ -277,7 +277,7 @@ class Ivy:
self.maxAdhesionDistance = maxAdhesionDistance
self.maxLength = 0.0
- # Normalize all the weights only on intialisation
+ # Normalize all the weights only on initialisation
sums = self.primaryWeight + self.randomWeight + self.adhesionWeight
self.primaryWeight /= sums
self.randomWeight /= sums
@@ -432,7 +432,7 @@ def collision(ob, pos, new_pos):
if ray_result[0]:
# Check whether the collision is going into the object
if tran_dir.dot(ray_result[2]) < 0.0:
- # Find projection of the piont onto the plane
+ # Find projection of the point onto the plane
p0 = tran_new_pos - (tran_new_pos -
ray_result[1]).project(ray_result[2])
# Reflect in the plane
diff --git a/add_curve_sapling/__init__.py b/add_curve_sapling/__init__.py
index 274c1fef..f49823b5 100644
--- a/add_curve_sapling/__init__.py
+++ b/add_curve_sapling/__init__.py
@@ -108,7 +108,7 @@ branchmodes = [("original", "Original", "rotate around each branch"),
def getPresetpath():
"""Support user defined scripts directory
- Find the first ocurrence of add_curve_sapling/presets in possible script paths
+ Find the first occurrence of add_curve_sapling/presets in possible script paths
and return it as preset path"""
# presetpath = ""
# for p in bpy.utils.script_paths():
@@ -526,7 +526,7 @@ class AddTree(Operator):
)
autoTaper = BoolProperty(
name='Auto Taper',
- description='Calculate taper automaticly based on branch lengths',
+ description='Calculate taper automatically based on branch lengths',
default=True, update=update_tree
)
taper = FloatVectorProperty(
@@ -804,7 +804,7 @@ class AddTree(Operator):
)
gustF = FloatProperty(
name='Wind Gust Fequency',
- description='The Fequency of directional movement',
+ description='The Frequency of directional movement',
default=0.075, update=update_tree
)
af1 = FloatProperty(
diff --git a/add_curve_sapling/utils.py b/add_curve_sapling/utils.py
index af23e434..87ae57fe 100644
--- a/add_curve_sapling/utils.py
+++ b/add_curve_sapling/utils.py
@@ -501,7 +501,7 @@ def growSpline(n, stem, numSplit, splitAng, splitAngV, splineList,
# If this isn't the last point on a stem, then we need to add it
# to the list of stems to continue growing
# print(stem.seg != stem.segMax, stem.seg, stem.segMax)
- # if stem.seg != stem.segMax: # if probs not nessesary
+ # if stem.seg != stem.segMax: # if probs not necessary
nstem = stemSpline(
newSpline, stem.curv, stem.curvV, stem.vertAtt, stem.seg + 1,
stem.segMax, stemL, stem.children,
@@ -1334,7 +1334,7 @@ def perform_pruning(baseSize, baseSplits, childP, cu, currentMax, currentMin, cu
numSplit = 0
elif (k == 1) and (n == 0):
numSplit = baseSplits
- # allways split at splitHeight
+ # always split at splitHeight
elif (n == 0) and (k == int((curveRes[n] - 1) * splitHeight) + 1) and (splitVal > 0):
numSplit = 1
else:
@@ -1430,7 +1430,7 @@ def perform_pruning(baseSize, baseSplits, childP, cu, currentMax, currentMin, cu
return ratio, splineToBone
-# calculate taper automaticly
+# calculate taper automatically
def findtaper(length, taper, shape, shapeS, levels, customShape):
taperS = []
for i, t in enumerate(length):
@@ -1684,7 +1684,7 @@ def addTree(props):
kickstart_trunk(addstem, levels, leaves, branches, cu, curve, curveRes,
curveV, attractUp, length, lengthV, ratio, ratioPower, resU,
scale0, scaleV0, scaleVal, taper, minRadius, rootFlare)
- # If this isn't the trunk then we may have multiple stem to intialise
+ # If this isn't the trunk then we may have multiple stem to initialise
else:
# For each of the points defined in the list of stem starting points we need to grow a stem.
fabricate_stems(addsplinetobone, addstem, baseSize, branches, childP, cu, curve, curveBack,
diff --git a/add_mesh_BoltFactory/createMesh.py b/add_mesh_BoltFactory/createMesh.py
index 8971ec82..c59c9939 100644
--- a/add_mesh_BoltFactory/createMesh.py
+++ b/add_mesh_BoltFactory/createMesh.py
@@ -69,7 +69,7 @@ def unpack_face_list(list_of_tuples):
Remove Doubles takes a list on Verts and a list of Faces and
removes the doubles, much like Blender does in edit mode.
It doesn’t have the range function but it will round the corrdinates
-and remove verts that are very close togther. The function
+and remove verts that are very close together. The function
is useful because you can perform a "Remove Doubles" with out
having to enter Edit Mode. Having to enter edit mode has the
disadvantage of not being able to interactively change the properties.
@@ -1482,7 +1482,7 @@ def add_Nylon_Head(OUTSIDE_RADIUS, Z_LOCATION, DIV_COUNT):
INNER_HOLE = OUTSIDE_RADIUS - (OUTSIDE_RADIUS * (1.25 / 4.75))
EDGE_THICKNESS = (OUTSIDE_RADIUS * (0.4 / 4.75))
RAD1 = (OUTSIDE_RADIUS * (0.5 / 4.75))
- OVER_ALL_HEIGTH = (OUTSIDE_RADIUS * (2.0 / 4.75))
+ OVER_ALL_HEIGHT = (OUTSIDE_RADIUS * (2.0 / 4.75))
FaceStart = len(verts)
@@ -1491,13 +1491,13 @@ def add_Nylon_Head(OUTSIDE_RADIUS, Z_LOCATION, DIV_COUNT):
Lowest_Z_Vert = 0
x = INNER_HOLE
- z = (Height_Offset - OVER_ALL_HEIGTH) + EDGE_THICKNESS
+ z = (Height_Offset - OVER_ALL_HEIGHT) + EDGE_THICKNESS
verts.append([x, 0.0, z])
Lowest_Z_Vert = min(Lowest_Z_Vert, z)
Row += 1
x = INNER_HOLE
- z = (Height_Offset - OVER_ALL_HEIGTH)
+ z = (Height_Offset - OVER_ALL_HEIGHT)
verts.append([x, 0.0, z])
Lowest_Z_Vert = min(Lowest_Z_Vert, z)
Row += 1
@@ -1505,7 +1505,7 @@ def add_Nylon_Head(OUTSIDE_RADIUS, Z_LOCATION, DIV_COUNT):
for i in range(180, 80, -10):
x = sin(radians(i)) * RAD1
z = cos(radians(i)) * RAD1
- verts.append([(OUTSIDE_RADIUS - RAD1) + x, 0.0, ((Height_Offset - OVER_ALL_HEIGTH) + RAD1) + z])
+ verts.append([(OUTSIDE_RADIUS - RAD1) + x, 0.0, ((Height_Offset - OVER_ALL_HEIGHT) + RAD1) + z])
Lowest_Z_Vert = min(Lowest_Z_Vert, z)
Row += 1
@@ -1530,8 +1530,8 @@ def add_Nylon_Part(OUTSIDE_RADIUS, Z_LOCATION, DIV_COUNT):
INNER_HOLE = OUTSIDE_RADIUS - (OUTSIDE_RADIUS * (1.5 / 4.75))
EDGE_THICKNESS = (OUTSIDE_RADIUS * (0.4 / 4.75))
- OVER_ALL_HEIGTH = (OUTSIDE_RADIUS * (2.0 / 4.75))
- PART_THICKNESS = OVER_ALL_HEIGTH - EDGE_THICKNESS
+ OVER_ALL_HEIGHT = (OUTSIDE_RADIUS * (2.0 / 4.75))
+ PART_THICKNESS = OVER_ALL_HEIGHT - EDGE_THICKNESS
PART_INNER_HOLE = (OUTSIDE_RADIUS * (2.5 / 4.75))
FaceStart = len(verts)
diff --git a/add_mesh_extra_objects/Blocks.py b/add_mesh_extra_objects/Blocks.py
index bade30d0..31db7807 100644
--- a/add_mesh_extra_objects/Blocks.py
+++ b/add_mesh_extra_objects/Blocks.py
@@ -11,7 +11,7 @@
# note above.
# if opening width == indent*2 the edge blocks fail (row of blocks cross opening).
# if openings overlap fills inverse with blocks - see h/v slots.
-# Negative grout width creates a pair of phantom blocks, seperated by grout
+# Negative grout width creates a pair of phantom blocks, separated by grout
# width, inside the edges.
# if block width variance is 0, and edging is on, right edge blocks create a "vertical seam"
@@ -401,7 +401,7 @@ def MakeAKeystone(xpos, width, zpos, ztop, zbtm, thick, bevel, vll=0, FaceExclud
faces.append([5, 4, 0, 1])
faces.append([6, 5, 1, 2])
faces.append([7, 6, 2, 3])
- # Offset the vertex numbers by the number of verticies already in the list
+ # Offset the vertex numbers by the number of vertices already in the list
for i in range(len(faces)):
for j in range(len(faces[i])):
faces[i][j] += vll
@@ -415,7 +415,7 @@ def circ(offs=0., r=1.):
__doc__ = """\
offs is the distance perpendicular to the line to the center of the circle
r is the radius of the circle
- circ returns the distance paralell to the line to the center of the circle at the intercept.
+ circ returns the distance parallel to the line to the center of the circle at the intercept.
"""
offs = abs(offs)
if offs > r:
@@ -769,7 +769,7 @@ class rowOb:
self.h = float(rowheight)
self.EdgeOffset = float(edgeoffset)
- # THIS INITILIZATION IS IMPORTANT! OTHERWISE ALL OBJECTS WILL HAVE THE SAME LISTS!
+ # THIS INITIALIZATION IS IMPORTANT! OTHERWISE ALL OBJECTS WILL HAVE THE SAME LISTS!
self.BlocksEdge = []
self.RowSegments = []
self.BlocksNorm = []
@@ -904,7 +904,7 @@ def sketch():
x['v'], x['t'], x['vl'], x['tl'], x['b']))
else:
boundlist.append(opening(x['x'], x['z'], x['w'], x['h'], x['v'], x['t'], x['vl'], x['tl'], x['b']))
- # check for overlaping edges?
+ # check for overlapping edges?
return boundlist
@@ -946,7 +946,7 @@ def wedgeBlocks(row, opening, leftPos, rightPos, edgeBinary, r1):
# Wedges are on btm = blank, off, blank, off
ThisBlockOffsets = [[0, 0, LeftVertOffset]] * 2 + [[0] * 3] * 2 + [[0, 0, RightVertOffset]] * 2
- # Instert or append "blank" for top or bottom wedges.
+ # Insert or append "blank" for top or bottom wedges.
if edgeBinary == 1:
ThisBlockOffsets = ThisBlockOffsets + [[0] * 3] * 2
else:
@@ -1086,7 +1086,7 @@ def rowProcessing(row, Thesketch, WallBoundaries):
LDiff = LBtm - LTop
RDiff = RTop - RBtm
- # which is furthur out on each side, top or bottom?
+ # which is further out on each side, top or bottom?
if LDiff > 0:
LNerEdge = LBtm # the nearer edge left
LEB = 1 # Left Edge Boolean, set to 1 if furthest edge is top, -1 if it is bottom
@@ -1180,7 +1180,7 @@ def rowProcessing(row, Thesketch, WallBoundaries):
# this row is just two blocks! Left block, then right block
# div is the x position of the dividing point between the two bricks
div = InnerMid + (rndd() * settings['wv']) / r1
- # set the grout distance, since we need grout seperation between the blocks
+ # set the grout distance, since we need grout separation between the blocks
grt = (settings['g'] + rndc() * settings['gv']) / r1
# set the x position and width for the left block
x = (div + LNerEdge) / 2 - grt / 4
@@ -1330,7 +1330,7 @@ def archGeneration(hole, vlist, flist, sideSign):
example, Upper arch:
archGeneration(hole, vlist, flist, 1)
hole is the opening object that the arch is for
- add the verticies to vlist
+ add the vertices to vlist
add the faces to flist
sideSign is + or - 1, for the top or bottom arch. Other values may cause errors.
"""
@@ -1410,7 +1410,7 @@ def archGeneration(hole, vlist, flist, sideSign):
BtmHt = - (hole.btm() - MidZ) - Grout
TopHt = nearCorner
- # set the amout to bevel the keystone
+ # set the amount to bevel the keystone
keystoneBevel = (bevHt - v) * sideSign
if Wdth >= settings['hm']:
avlist, aflist = MakeAKeystone(x, Wdth, MidZ, TopHt, BtmHt, Dpth, keystoneBevel, len(vlist))
@@ -1572,7 +1572,7 @@ def build(Aplan):
else:
r1 = 1
- Tollerance = settings['g'] / r1
+ Tolerance = settings['g'] / r1
idxThis = len(rows[rowidx].BlocksNorm[:]) - 1
idxThat = len(rows[rowidx + 1].BlocksNorm[:]) - 1
@@ -1588,7 +1588,7 @@ def build(Aplan):
cx, cz, cw, ch, cd = blockThis[:5]
ox, oz, ow, oh, od = blockThat[:5]
- if (abs(cw - ow) < Tollerance) and (abs(cx - ox) < Tollerance):
+ if (abs(cw - ow) < Tolerance) and (abs(cx - ox) < Tolerance):
if cw > ow:
BlockW = ow
else:
@@ -1781,7 +1781,7 @@ def build(Aplan):
def createWall(radial, curve, openings, mergeBlox, shelf, shelfSide,
steps, stepDir, stepBare, stepSide):
__doc__ = """\
- Call all the funcitons you need to make a wall, return the verts and faces.
+ Call all the functions you need to make a wall, return the verts and faces.
"""
global radialized
global slope
diff --git a/add_mesh_extra_objects/Wallfactory.py b/add_mesh_extra_objects/Wallfactory.py
index 41957b22..16215fbf 100644
--- a/add_mesh_extra_objects/Wallfactory.py
+++ b/add_mesh_extra_objects/Wallfactory.py
@@ -61,7 +61,7 @@ class add_mesh_wallb(Operator):
bl_description = "Create a block (masonry) wall mesh"
bl_options = {'REGISTER', 'UNDO'}
- # UI items - API for properties - User accessable variables...
+ # UI items - API for properties - User accessible variables...
# not all options are via UI, and some operations just don't work yet
# only create object when True
diff --git a/add_mesh_extra_objects/add_mesh_beam_builder.py b/add_mesh_extra_objects/add_mesh_beam_builder.py
index cacde06a..ba8ae6fc 100644
--- a/add_mesh_extra_objects/add_mesh_beam_builder.py
+++ b/add_mesh_extra_objects/add_mesh_beam_builder.py
@@ -186,7 +186,7 @@ def create_beam(sRef):
def beamSlant(sRef, outV, inV):
bTaper = 100 - sRef.edgeA
- # calcuate variance & adjust vertex
+ # calculate variance & adjust vertex
deltaV = ((inV - outV) / 100)
adVert = outV + (deltaV * bTaper)
diff --git a/add_mesh_extra_objects/add_mesh_gears.py b/add_mesh_extra_objects/add_mesh_gears.py
index 7eede285..b042a6d5 100644
--- a/add_mesh_extra_objects/add_mesh_gears.py
+++ b/add_mesh_extra_objects/add_mesh_gears.py
@@ -461,7 +461,7 @@ def add_spokes(teethNum, radius, De, base, width=1, conangle=0, rack=0,
# crown ... Inward pointing extend of crown teeth
#
# @todo: Fix teethNum. Some numbers are not possible yet
-# @todo: Create start & end geoemtry (closing faces)
+# @todo: Create start & end geometry (closing faces)
def add_worm(teethNum, rowNum, radius, Ad, De, p_angle,
width=1, skew=radians(11.25), crown=0.0):
diff --git a/add_mesh_extra_objects/add_mesh_round_brilliant.py b/add_mesh_extra_objects/add_mesh_round_brilliant.py
index 850421d8..d8310c42 100644
--- a/add_mesh_extra_objects/add_mesh_round_brilliant.py
+++ b/add_mesh_extra_objects/add_mesh_round_brilliant.py
@@ -27,9 +27,9 @@ def addBrilliant(context, s, table_w, crown_h, girdle_t, pavi_d, bezel_f,
# table_w # table width default: 0.530
# crown_h # crown height default: 0.162
# girdle_t # girdle thickness default: 0.017
- # pavi_d # pavillion depth default: 0.431
+ # pavi_d # pavilion depth default: 0.431
# bezel_f # bezel factor default: 0.250
- # pavi_f # pavillion factor default: 0.400
+ # pavi_f # pavilion factor default: 0.400
# culet # culet size default: 0.000
# girdle_real # type of girdle flat/real default: True
# g_real_smooth # smooth or flat shading default: False
@@ -197,7 +197,7 @@ def addBrilliant(context, s, table_w, crown_h, girdle_t, pavi_d, bezel_f,
else:
va(culet / ca, pavi_d * (-2), 2 * ang, ang, int(s / 2))
- # make pavillion facet face
+ # make pavilion facet face
l5 = len(Verts) # 4*s / 10*s //if !culet: 3.5*s+1 / 9.5*s+1
for i in range(l5):
if i > 0 and i < s - 1 and i % 2 == 0:
@@ -266,7 +266,7 @@ def addBrilliant(context, s, table_w, crown_h, girdle_t, pavi_d, bezel_f,
for i, p in enumerate(dp):
pls.extend(p.vertices) # list all verts of girdle
- for i, e in enumerate(obj.data.edges): # select egdes to mark sharp
+ for i, e in enumerate(obj.data.edges): # select edges to mark sharp
if e.vertices[0] in pls and e.vertices[1] in pls and abs(
ov[e.vertices[0]].co.x - ov[e.vertices[1]].co.x):
obj.data.edges[i].select = True
@@ -301,7 +301,7 @@ def addBrilliant(context, s, table_w, crown_h, girdle_t, pavi_d, bezel_f,
class MESH_OT_primitive_brilliant_add(Operator):
bl_idname = "mesh.primitive_brilliant_add"
bl_label = "Custom Brilliant"
- bl_description = "Contruct a custom brilliant mesh"
+ bl_description = "Construct a custom brilliant mesh"
bl_options = {'REGISTER', 'UNDO', 'PRESET'}
# set user options
@@ -324,7 +324,7 @@ class MESH_OT_primitive_brilliant_add(Operator):
)
crown_h = FloatProperty(
name="Crown height",
- description="Heigth of crown",
+ description="Height of crown",
min=0.0,
max=1.0,
default=0.162,
@@ -350,7 +350,7 @@ class MESH_OT_primitive_brilliant_add(Operator):
)
pavi_d = FloatProperty(
name="Pavilion depth",
- description="Height of pavillion",
+ description="Height of pavilion",
min=0.0,
max=1.0,
default=0.431,
@@ -366,7 +366,7 @@ class MESH_OT_primitive_brilliant_add(Operator):
)
pavi_f = FloatProperty(
name="Lower facet factor",
- description="Determines the form of pavillion and lower girdle facets",
+ description="Determines the form of pavilion and lower girdle facets",
min=0.001,
max=1.0,
default=0.400,
@@ -382,7 +382,7 @@ class MESH_OT_primitive_brilliant_add(Operator):
)
keep_lga = BoolProperty(
name="Retain lower angle",
- description="If culet > 0, retains angle of pavillion facets",
+ description="If culet > 0, retains angle of pavilion facets",
default=False
)
diff --git a/add_mesh_extra_objects/add_mesh_solid.py b/add_mesh_extra_objects/add_mesh_solid.py
index 3fb058c9..74c173e4 100644
--- a/add_mesh_extra_objects/add_mesh_solid.py
+++ b/add_mesh_extra_objects/add_mesh_solid.py
@@ -246,7 +246,7 @@ def createSolid(plato, vtrunc, etrunc, dual, snub):
fvOutput[vData[x][2][j]][index - 1]])
feOutput.append([fvOutput[x][j - 1], fvOutput[vData[x][2][j]][index],
fvOutput[vData[x][2][j]][index - 1]])
- # special rules fro birectified mesh (v1 todo: done)
+ # special rules for birectified mesh (v1 todo: done)
elif vtrunc == 0.5:
for j in range(len(i) - 1):
if x < vData[x][2][j]: # use current vert, since other one has not passed yet
@@ -348,7 +348,7 @@ class Solids(bpy.types.Operator):
)
vTrunc = FloatProperty(
name="Vertex Truncation",
- description="Ammount of vertex truncation",
+ description="Amount of vertex truncation",
min=0.0,
soft_min=0.0,
max=2.0,
@@ -359,7 +359,7 @@ class Solids(bpy.types.Operator):
)
eTrunc = FloatProperty(
name="Edge Truncation",
- description="Ammount of edge truncation",
+ description="Amount of edge truncation",
min=0.0,
soft_min=0.0,
max=1.0,
diff --git a/add_mesh_extra_objects/add_mesh_teapot.py b/add_mesh_extra_objects/add_mesh_teapot.py
index 23dd084f..3f117d72 100644
--- a/add_mesh_extra_objects/add_mesh_teapot.py
+++ b/add_mesh_extra_objects/add_mesh_teapot.py
@@ -199,8 +199,8 @@ def transpose(rowsbycols):
def make_teapot(enumname, resolution):
filenames = [None, teapot, teaspoon]
try:
- indexs = int(enumname)
- filename = filenames[indexs]
+ indexes = int(enumname)
+ filename = filenames[indexes]
except:
print("Add Teapot Error: EnumProperty could not be set")
filename = filenames[1]
diff --git a/add_mesh_extra_objects/add_mesh_triangles.py b/add_mesh_extra_objects/add_mesh_triangles.py
index f5768c0a..2cccd0fb 100644
--- a/add_mesh_extra_objects/add_mesh_triangles.py
+++ b/add_mesh_extra_objects/add_mesh_triangles.py
@@ -68,9 +68,9 @@ class MakeTriangle(Operator):
]
triangleFaceList = [
('DEFAULT', "Normal", "1 Tri(angle) face", 0),
- ('TRIANGLES', "3 Tri faces", "4 Verticies & 3 Tri(angle) faces", 1),
- ('QUADS', "3 Quad faces", "7 Verticies & 3 Quad faces", 2),
- ('SAFEQUADS', "6 Quad faces", "12 Verticies & 6 Quad faces", 3)
+ ('TRIANGLES', "3 Tri faces", "4 Vertices & 3 Tri(angle) faces", 1),
+ ('QUADS', "3 Quad faces", "7 Vertices & 3 Quad faces", 2),
+ ('SAFEQUADS', "6 Quad faces", "12 Vertices & 6 Quad faces", 3)
]
# add definitions for some manipulation buttons
@@ -255,7 +255,7 @@ class MakeTriangle(Operator):
# a triangle consists of 3 points: A, B, C
# a 'safer' subdividable triangle consists of 4 points: A, B, C, D
# a subdivide friendly triangle consists of 7 points: A, B, C, D, AB, AC, BC
- # a truely subdivide friendly triangle consists of (3 x 4 = )12 points:
+ # a truly subdivide friendly triangle consists of (3 x 4 = )12 points:
# A, B, C, D, E, BC, AAB, AAC, BBA, BBC, BCC, CCA
BasicShapeCreated = False
@@ -263,7 +263,7 @@ class MakeTriangle(Operator):
go = 0
#
- # call the functions for creating the triangles and test if successfull
+ # call the functions for creating the triangles and test if successful
#
BasicShapeCreated = self.drawBasicTriangleShape()
if (BasicShapeCreated):
diff --git a/add_mesh_extra_objects/geodesic_domes/third_domes_panel_271.py b/add_mesh_extra_objects/geodesic_domes/third_domes_panel_271.py
index 720628d6..ab3b0e9b 100644
--- a/add_mesh_extra_objects/geodesic_domes/third_domes_panel_271.py
+++ b/add_mesh_extra_objects/geodesic_domes/third_domes_panel_271.py
@@ -1117,7 +1117,7 @@ class GenerateGeodesicDome(Operator):
basegeodesic.makegeodesic()
basegeodesic.connectivity()
mesh = vefm_271.mesh()
- vefm_271.finalfill(basegeodesic, mesh) # always! for hexifiy etc. necessarry!!!
+ vefm_271.finalfill(basegeodesic, mesh) # always! for hexifiy etc. necessary!!!
vefm_271.vefm_add_object(mesh)
last_generated_object = context.active_object
last_generated_object.location = (0, 0, 0)
@@ -1319,7 +1319,7 @@ class GenerateGeodesicDome(Operator):
message = "***OK***\nParameters saved in\n" + filename
print(message)
except:
- message = "***ERRROR***\n" + "Writing " + filename + "\nis not possible"
+ message = "***ERROR***\n" + "Writing " + filename + "\nis not possible"
# bpy.context.scene.instant_filenames = filenames
except:
@@ -1348,7 +1348,7 @@ class GenerateGeodesicDome(Operator):
message = "***OK***\nparameters read from\n" + filename
print(message)
except:
- message = "***ERRROR***\n" + "Writing " + filename + "\nnot possible"
+ message = "***ERROR***\n" + "Writing " + filename + "\nnot possible"
# bpy.context.scene.instant_filenames = filenames
except:
message = "***ERROR***\n Contakt PKHG,\nsomething went wrong reading params happened"
diff --git a/add_mesh_extra_objects/geodesic_domes/vefm_271.py b/add_mesh_extra_objects/geodesic_domes/vefm_271.py
index cac2b74d..8c87c22a 100644
--- a/add_mesh_extra_objects/geodesic_domes/vefm_271.py
+++ b/add_mesh_extra_objects/geodesic_domes/vefm_271.py
@@ -72,7 +72,7 @@ class vertex:
self.normal = average(target).centroid()
self.normal.findlength()
if self.length == 0:
- print("******ERROR*** lenght zero in findnormal, j = (0,1,0) replcaced")
+ print("******ERROR*** length zero in findnormal, j = (0,1,0) replaced")
self.normal = vertex((0, 1, 0))
self.normal.normalize()
@@ -706,7 +706,7 @@ class mesh:
class facetype(mesh):
def __init__(self, basegeodesic, parameters, width, height, relative):
mesh.__init__(self)
- self.detatch = parameters[0]
+ self.detach = parameters[0]
self.endtype = parameters[1]
self.coords = parameters[2]
self.base = basegeodesic
@@ -750,7 +750,7 @@ class facetype(mesh):
return length
def createfaces(self):
- if not self.detatch:
+ if not self.detach:
for point in self.base.verts:
self.verts.append(point)
if self.endtype == 4:
@@ -768,7 +768,7 @@ class facetype(mesh):
grid = []
candidate.dospokes()
- if not self.detatch:
+ if not self.detach:
line = []
for vert in candidate.vertices:
line.append(vert)
@@ -1100,10 +1100,10 @@ class hub(mesh):
# ???PKHG TODO Nmesh used yet wrong!
def finalfill(source, target):
- if source == target: # PKHG: otherewise >infinite< loop
+ if source == target: # PKHG: otherwise >infinite< loop
print("\n***WARNING*** vefm_271.finalfill L1104 source == target empty mesh used")
target = mesh()
- # PKHG_??? maybe renumverting and checkkin faces wiht >=4 5 vertices?
+ # PKHG_??? maybe renumverting and checking faces with >=4 5 vertices?
count = 0
for point in source.verts:
diff --git a/add_mesh_extra_objects/mesh_discombobulator.py b/add_mesh_extra_objects/mesh_discombobulator.py
index b677fc6c..bc0bfe67 100644
--- a/add_mesh_extra_objects/mesh_discombobulator.py
+++ b/add_mesh_extra_objects/mesh_discombobulator.py
@@ -461,7 +461,7 @@ def discombobulate(minHeight, maxHeight, minTaper, maxTaper, sf1, sf2, sf3, sf4,
to_scale = bpy.context.active_object.scale
to_rotate = bpy.context.active_object.rotation_euler
- # First, we collect all the informations we will need from the previous mesh
+ # First, we collect all the information we will need from the previous mesh
obverts = bpy.context.active_object.data.vertices
obpolygons = bpy.context.active_object.data.polygons
verts = []
diff --git a/ant_landscape/__init__.py b/ant_landscape/__init__.py
index ba6e8b6f..68dd2342 100644
--- a/ant_landscape/__init__.py
+++ b/ant_landscape/__init__.py
@@ -900,7 +900,7 @@ class AntLandscapePropertiesGroup(bpy.types.PropertyGroup):
items = [
("0", "None", "No strata", 0),
("1", "Smooth", "Smooth transitions", 1),
- ("2", "Sharp Sub", "Sharp substract transitions", 2),
+ ("2", "Sharp Sub", "Sharp subtract transitions", 2),
("3", "Sharp Add", "Sharp add transitions", 3),
("4", "Quantize", "Quantize", 4),
("5", "Quantize Mix", "Quantize mixed", 5)]
diff --git a/ant_landscape/add_mesh_ant_landscape.py b/ant_landscape/add_mesh_ant_landscape.py
index 6a36c42f..f103a6c0 100644
--- a/ant_landscape/add_mesh_ant_landscape.py
+++ b/ant_landscape/add_mesh_ant_landscape.py
@@ -538,7 +538,7 @@ class AntAddLandscape(bpy.types.Operator):
items = [
("0", "None", "No strata", 0),
("1", "Smooth", "Smooth transitions", 1),
- ("2", "Sharp Sub", "Sharp substract transitions", 2),
+ ("2", "Sharp Sub", "Sharp subtract transitions", 2),
("3", "Sharp Add", "Sharp add transitions", 3),
("4", "Quantize", "Quantize", 4),
("5", "Quantize Mix", "Quantize mixed", 5)]
diff --git a/ant_landscape/eroder.py b/ant_landscape/eroder.py
index 96474f75..56f2bfca 100644
--- a/ant_landscape/eroder.py
+++ b/ant_landscape/eroder.py
@@ -145,7 +145,7 @@ class Grid:
@staticmethod
def fromRaw(filename):
"""initialize a grid from a Blender .raw file.
- currenly suports just rectangular grids of all triangles
+ currently supports just rectangular grids of all triangles
"""
g = Grid.fromFile(filename)
# we assume tris and an axis aligned grid
@@ -156,7 +156,7 @@ class Grid:
def _sort(self, expfact):
# keep unique vertices only by creating a set and sort first on x then on y coordinate
- # using rather slow python sort but couldn;t wrap my head around np.lexsort
+ # using rather slow python sort but couldn't wrap my head around np.lexsort
verts = sorted(list({ tuple(t) for t in self.center[::] }))
x = set(c[0] for c in verts)
y = set(c[1] for c in verts)
@@ -461,7 +461,7 @@ class Grid:
def analyze(self):
self.neighborgrid()
- # just looking at up and left to avoid needless doubel calculations
+ # just looking at up and left to avoid needless double calculations
slopes=np.concatenate((np.abs(self.left - self.center),np.abs(self.up - self.center)))
return '\n'.join(["%-15s: %.3f"%t for t in [
('height average', np.average(self.center)),
@@ -542,7 +542,7 @@ if __name__ == "__main__":
parser.add_argument('-Gm', dest='gridmesa', type=float, default=0, help='Add mesa with given height')
parser.add_argument('-Gr', dest='gridrandom', type=float, default=0, help='Add random values between 0 and given value')
parser.add_argument('-m', dest='threads', type=int, default=1, help='number of threads to use')
- parser.add_argument('-u', action='store_true', dest='unittest', default=False, help='perfom unittests')
+ parser.add_argument('-u', action='store_true', dest='unittest', default=False, help='perform unittests')
parser.add_argument('-a', action='store_true', dest='analyze', default=False, help='show some statistics of input and output meshes')
parser.add_argument('-d', action='store_true', dest='dump', default=False, help='show sediment and water meshes at end of run')
parser.add_argument('-n', action='store_true', dest='usenumexpr', default=False, help='use numexpr optimizations')
diff --git a/ant_landscape/mesh_ant_displace.py b/ant_landscape/mesh_ant_displace.py
index fb691abf..884c72a4 100644
--- a/ant_landscape/mesh_ant_displace.py
+++ b/ant_landscape/mesh_ant_displace.py
@@ -536,7 +536,7 @@ class AntMeshDisplace(bpy.types.Operator):
items = [
("0", "None", "No strata", 0),
("1", "Smooth", "Smooth transitions", 1),
- ("2", "Sharp Sub", "Sharp substract transitions", 2),
+ ("2", "Sharp Sub", "Sharp subtract transitions", 2),
("3", "Sharp Add", "Sharp add transitions", 3),
("4", "Quantize", "Quantize", 4),
("5", "Quantize Mix", "Quantize mixed", 5)]
diff --git a/archimesh/achm_curtain_maker.py b/archimesh/achm_curtain_maker.py
index c02d8214..cc63c3af 100644
--- a/archimesh/achm_curtain_maker.py
+++ b/archimesh/achm_curtain_maker.py
@@ -1100,7 +1100,7 @@ def roller_side():
# --------------------------------------------------------------------
# Set curve cycle
#
-# myObject: Curve obejct
+# myObject: Curve object
# --------------------------------------------------------------------
def set_curve_cycle(myobject):
bpy.context.scene.objects.active = myobject
diff --git a/archimesh/achm_main_panel.py b/archimesh/achm_main_panel.py
index d12c2a6b..70312ac3 100644
--- a/archimesh/achm_main_panel.py
+++ b/archimesh/achm_main_panel.py
@@ -517,7 +517,7 @@ class ArchimeshMainPanel(Panel):
class AchmRunHintDisplayButton(Operator):
bl_idname = "archimesh.runopenglbutton"
bl_label = "Display hint data manager"
- bl_description = "Display aditional information in the viewport"
+ bl_description = "Display additional information in the viewport"
bl_category = 'Archimesh'
_handle = None # keep function handler
diff --git a/archimesh/achm_room_maker.py b/archimesh/achm_room_maker.py
index af9faa94..71243ca2 100644
--- a/archimesh/achm_room_maker.py
+++ b/archimesh/achm_room_maker.py
@@ -1159,7 +1159,7 @@ def add_shell(selobject, objname, rp):
# Project point using face normals
#
# m: Magnitud
-# pf: Comparision face +/-
+# pf: Comparison face +/-
# ---------------------------------------------------------
def project_point(idx, point, normals, m, pf):
v1 = Vector(normals[idx])
diff --git a/archimesh/achm_window_panel.py b/archimesh/achm_window_panel.py
index 592e13a6..dbeed892 100644
--- a/archimesh/achm_window_panel.py
+++ b/archimesh/achm_window_panel.py
@@ -1392,7 +1392,7 @@ def get_angle(p1, p2):
# Point b: (x,z)
# Point c: (x,z)
# Return:
-# x, y: center poistion
+# x, y: center position
# r: radio
# ang: angle
# ---------------------------------------------------------
diff --git a/archipack/archipack_2d.py b/archipack/archipack_2d.py
index 4bf0d1f1..0078ae3c 100644
--- a/archipack/archipack_2d.py
+++ b/archipack/archipack_2d.py
@@ -674,7 +674,7 @@ class Arc(Circle):
def tangeant(self, t, length):
"""
- Tangeant line so we are able to chain Circle and lines
+ Tangent line so we are able to chain Circle and lines
Beware, counterpart on Line does return an Arc !
"""
a = self.a0 + t * self.da
@@ -688,7 +688,7 @@ class Arc(Circle):
def tangeant_unit_vector(self, t):
"""
- Return Tangeant vector of length 1
+ Return Tangent vector of length 1
"""
a = self.a0 + t * self.da
ca = cos(a)
@@ -700,7 +700,7 @@ class Arc(Circle):
def straight(self, length, t=1):
"""
- Return a tangeant Line
+ Return a tangent Line
Counterpart on Line also return a Line
"""
return self.tangeant(t, length)
@@ -721,7 +721,7 @@ class Arc(Circle):
def rotate(self, a):
"""
- Rotate center so we rotate ccw arround p0
+ Rotate center so we rotate ccw around p0
"""
ca = cos(a)
sa = sin(a)
@@ -941,7 +941,7 @@ class Line3d(Line):
def sized_normal(self, t, size):
"""
3d Line perpendicular on plane defined by z_axis and of given size
- positionned at t in current line
+ positioned at t in current line
lie on the right side
p1
|--x
diff --git a/archipack/archipack_autoboolean.py b/archipack/archipack_autoboolean.py
index 93e9bc98..c7e60305 100644
--- a/archipack/archipack_autoboolean.py
+++ b/archipack/archipack_autoboolean.py
@@ -226,9 +226,9 @@ class ArchipackBoolManager():
remove holes not found in childs
robust -> mixed:
- there is only one object taged with "archipack_robusthole"
+ there is only one object tagged with "archipack_robusthole"
interactive -> mixed:
- many modifisers on wall taged with "archipack_hole"
+ many modifisers on wall tagged with "archipack_hole"
keep objects
"""
existing = []
diff --git a/archipack/archipack_cutter.py b/archipack/archipack_cutter.py
index b5a64776..2ce37d4c 100644
--- a/archipack/archipack_cutter.py
+++ b/archipack/archipack_cutter.py
@@ -290,7 +290,7 @@ class CutAblePolygon():
# sort by seg and param t of seg
inter.sort()
- # reorder so we realy start from s_start
+ # reorder so we really start from s_start
for i, it in enumerate(inter):
if it[0] >= s_start:
order = i
@@ -366,7 +366,7 @@ class CutAblePolygon():
def slice(self, cutter):
"""
Simple 2d Boolean between boundary and roof part
- Dosen't handle slicing roof into multiple parts
+ Doesn't handle slicing roof into multiple parts
4 cases:
1 pitch has point in boundary -> start from this point
diff --git a/archipack/archipack_door.py b/archipack/archipack_door.py
index 22b9123a..3e85cf31 100644
--- a/archipack/archipack_door.py
+++ b/archipack/archipack_door.py
@@ -1808,7 +1808,7 @@ class ARCHIPACK_OT_door_draw(ArchpackDrawTool, Operator):
('LEFTCLICK, RET, SPACE, ENTER', 'Create a door'),
('BACKSPACE, CTRL+Z', 'undo last'),
('C', 'Choose another door'),
- ('SHIFT', 'Make independant copy'),
+ ('SHIFT', 'Make independent copy'),
('RIGHTCLICK or ESC', 'exit')
])
self.feedback.enable()
diff --git a/archipack/archipack_fence.py b/archipack/archipack_fence.py
index 0f5f3b37..a94023fd 100644
--- a/archipack/archipack_fence.py
+++ b/archipack/archipack_fence.py
@@ -157,7 +157,7 @@ class FenceGenerator():
def param_t(self, angle_limit, post_spacing):
"""
setup corners and fences dz
- compute index of fences wich belong to each group of fences between corners
+ compute index of fences which belong to each group of fences between corners
compute t of each fence
"""
# segments are group of parts separated by limit angle
diff --git a/archipack/archipack_floor.py b/archipack/archipack_floor.py
index 8664b637..ed52fd8f 100644
--- a/archipack/archipack_floor.py
+++ b/archipack/archipack_floor.py
@@ -1571,7 +1571,7 @@ class archipack_floor_cutter_segment(ArchipackCutterPart, PropertyGroup):
items=(
('DEFAULT', 'Side', 'Side with rake', 0),
('BOTTOM', 'Bottom', 'Bottom with gutter', 1),
- ('LINK', 'Side link', 'Side witout decoration', 2),
+ ('LINK', 'Side link', 'Side without decoration', 2),
('AXIS', 'Top', 'Top part with hip and beam', 3)
# ('LINK_VALLEY', 'Side valley', 'Side with valley', 3),
# ('LINK_HIP', 'Side hip', 'Side with hip', 4)
diff --git a/archipack/archipack_gl.py b/archipack/archipack_gl.py
index c50c61a2..a85a3080 100644
--- a/archipack/archipack_gl.py
+++ b/archipack/archipack_gl.py
@@ -391,7 +391,7 @@ class GlLine(GlBaseLine):
def sized_normal(self, t, size):
"""
GlLine perpendicular on plane defined by z_axis and of given size
- positionned at t in current line
+ positioned at t in current line
lie on the right side
p1
|--x
diff --git a/archipack/archipack_keymaps.py b/archipack/archipack_keymaps.py
index 65b295bf..c4c8176e 100644
--- a/archipack/archipack_keymaps.py
+++ b/archipack/archipack_keymaps.py
@@ -91,7 +91,7 @@ class Keymaps:
def dump_keys(self, context, filename="c:\\tmp\\keymap.txt"):
"""
- Utility for developpers :
+ Utility for developers :
Dump all keymaps to a file
filename : string a file path to dump keymaps
"""
diff --git a/archipack/archipack_manipulator.py b/archipack/archipack_manipulator.py
index 44b30b49..4e916240 100644
--- a/archipack/archipack_manipulator.py
+++ b/archipack/archipack_manipulator.py
@@ -48,12 +48,12 @@ from .archipack_gl import (
# as transform.translate in use to allow snap
# does catch all events.
# This however has a wanted side effect:
-# the manipulator take precedence over allready running
+# the manipulator take precedence over already running
# ones, and prevent select mode to start.
#
# TODO:
# Other manipulators should use same technique to take
-# precedence over allready running ones when active
+# precedence over already running ones when active
#
# NOTE:
# Select mode does suffer from this stack effect:
@@ -178,7 +178,7 @@ def empty_stack():
def add_manipulable(key, manipulable):
"""
add a ArchipackActiveManip into the stack
- if not allready present
+ if not already present
setup reference to manipulable
return manipulators stack
"""
@@ -263,7 +263,7 @@ class Manipulator():
else:
print("Manipulator.exit() handle not found %s" % (type(self).__name__))
- # Mouse event handlers, MUST be overriden
+ # Mouse event handlers, MUST be overridden
def mouse_press(self, context, event):
"""
Manipulators must implement
@@ -288,7 +288,7 @@ class Manipulator():
"""
raise NotImplementedError
- # Keyboard event handlers, MAY be overriden
+ # Keyboard event handlers, MAY be overridden
def keyboard_done(self, context, event, value):
"""
Manipulators may implement
@@ -332,8 +332,8 @@ class Manipulator():
"""
return False
- # Internal, do not override unless you realy
- # realy realy deeply know what you are doing
+ # Internal, do not override unless you really
+ # really really deeply know what you are doing
def keyboard_eval(self, context, event):
"""
evaluate keyboard entry while typing
@@ -1950,7 +1950,7 @@ manipulators_class_lookup = {}
def register_manipulator(type_key, manipulator_class):
if type_key in manipulators_class_lookup.keys():
- raise RuntimeError("Manipulator of type {} allready exists, unable to override".format(type_key))
+ raise RuntimeError("Manipulator of type {} already exists, unable to override".format(type_key))
manipulators_class_lookup[type_key] = manipulator_class
@@ -1966,9 +1966,9 @@ class archipack_manipulator(PropertyGroup):
type_key = StringProperty(default='SIZE')
# How 3d points are stored in manipulators ?
- # SIZE = 2 absolute positionned and a scaling vector
- # RADIUS = 1 absolute positionned (center) and 2 relatives (sides)
- # POLYGON = 2 absolute positionned and a relative vector (for rect polygons)
+ # SIZE = 2 absolute positioned and a scaling vector
+ # RADIUS = 1 absolute positioned (center) and 2 relatives (sides)
+ # POLYGON = 2 absolute positioned and a relative vector (for rect polygons)
pts_mode = StringProperty(default='SIZE')
prop1_name = StringProperty()
@@ -1984,7 +1984,7 @@ class archipack_manipulator(PropertyGroup):
"""
set 3d location of gl points (in object space)
pts: array of 3 vectors 3d
- normal: optionnal vector 3d default to Z axis
+ normal: optional vector 3d default to Z axis
"""
pts = [Vector(p) for p in pts]
self.p0, self.p1, self.p2 = pts
@@ -2031,7 +2031,7 @@ class archipack_manipulator(PropertyGroup):
if self.type_key not in manipulators_class_lookup.keys() or \
not manipulators_class_lookup[self.type_key].poll(context):
# RuntimeError is overkill but may be enabled for debug purposes
- # Silentely ignore allow skipping manipulators if / when deps as not meet
+ # Silently ignore allow skipping manipulators if / when deps as not meet
# manip stack will simply be filled with None objects
# raise RuntimeError("Manipulator of type {} not found".format(self.type_key))
return None
@@ -2255,9 +2255,9 @@ class Manipulable():
def manipulable_modal(self, context, event):
"""
call in operator modal()
- should not be overriden
+ should not be overridden
as it provide all needed
- functionnality out of the box
+ functionality out of the box
"""
# setup again when manipulators type change
if self.manipulable_refresh:
diff --git a/archipack/archipack_material.py b/archipack/archipack_material.py
index 22da496d..ddb44009 100644
--- a/archipack/archipack_material.py
+++ b/archipack/archipack_material.py
@@ -273,7 +273,7 @@ class MaterialSetManager():
material_sets[s_key] = []
material_sets[s_key].append(mat_name.strip())
except:
- print("Archipack: An error occured while loading {}".format(filename))
+ print("Archipack: An error occurred while loading {}".format(filename))
pass
finally:
f.close()
@@ -298,7 +298,7 @@ class MaterialSetManager():
f = open(filename, 'w')
f.writelines(lines)
except:
- print("Archipack: An error occured while saving {}".format(filename))
+ print("Archipack: An error occurred while saving {}".format(filename))
pass
finally:
f.close()
diff --git a/archipack/archipack_object.py b/archipack/archipack_object.py
index 9b22bc2f..b479ea30 100644
--- a/archipack/archipack_object.py
+++ b/archipack/archipack_object.py
@@ -57,7 +57,7 @@ class ArchipackObject():
Filter object with this class in data
return
True when object contains this datablock
- False otherwhise
+ False otherwise
usage:
class_name.filter(object) from outside world
self.__class__.filter(object) from instance
@@ -171,7 +171,7 @@ class ArchipackCreateTool():
d.auto_update = True
def add_material(self, o, material='DEFAULT', category=None):
- # skip if preset allready add material
+ # skip if preset already add material
if "archipack_material" in o:
return
try:
diff --git a/archipack/archipack_reference_point.py b/archipack/archipack_reference_point.py
index 5e8f1f59..2f58c088 100644
--- a/archipack/archipack_reference_point.py
+++ b/archipack/archipack_reference_point.py
@@ -70,7 +70,7 @@ class archipack_reference_point(PropertyGroup):
Filter object with this class in data
return
True when object contains this datablock
- False otherwhise
+ False otherwise
usage:
class_name.filter(object) from outside world
self.__class__.filter(object) from instance
diff --git a/archipack/archipack_rendering.py b/archipack/archipack_rendering.py
index fced24ac..8ea06ef9 100644
--- a/archipack/archipack_rendering.py
+++ b/archipack/archipack_rendering.py
@@ -82,7 +82,7 @@ class ARCHIPACK_OT_render_thumbs(Operator):
Copy factory presets to writeable presets folder
Two cases here:
1 there is not presets thumbs found (official version)
- 2 thumbs allready are there (unofficial)
+ 2 thumbs already are there (unofficial)
"""
file_list = []
# load default presets
@@ -110,7 +110,7 @@ class ARCHIPACK_OT_render_thumbs(Operator):
if f.endswith(".txt"):
skipfiles.append(f)
- # when thumbs allready are in factory folder but not found in user one
+ # when thumbs already are in factory folder but not found in user one
# simply copy them, and add preset to skip list
thumb_filename = f[:-3] + ".png"
if path.exists(source_path + path.sep + thumb_filename):
diff --git a/archipack/archipack_roof.py b/archipack/archipack_roof.py
index aba6f12e..024dccb7 100644
--- a/archipack/archipack_roof.py
+++ b/archipack/archipack_roof.py
@@ -297,7 +297,7 @@ class RoofPolygon(CutAblePolygon):
self.side = side
# backward deps
self.backward = False
- # pointers to neighboors along axis
+ # pointers to neighbors along axis
self.last = None
self.next = None
self.other_side = None
@@ -407,7 +407,7 @@ class RoofPolygon(CutAblePolygon):
"""
always in axis real direction
"""
- # backward dependancy relative to axis
+ # backward dependency relative to axis
if last.backward:
self.backward = self.side == last.side
@@ -475,7 +475,7 @@ class RoofPolygon(CutAblePolygon):
v1 = -self._axis.v
if last.side == self.side:
- # contigous, v0 node <- next
+ # contiguous, v0 node <- next
# half angle between segments
if self.side == 'LEFT':
@@ -1006,7 +1006,7 @@ class RoofGenerator(CutAbleGenerator):
# on node basis along axis
# bi-direction Radial around node
# from left and right to center
- # contigous -> same
+ # contiguous -> same
# T: and (x % 2 == 1)
# First one take precedence over others
# others inherit from side
@@ -1018,7 +1018,7 @@ class RoofGenerator(CutAbleGenerator):
# 2
# r\ l
#
- # X: rigth one r left one l (x % 2 == 0)
+ # X: right one or left one l (x % 2 == 0)
# inherits from side
#
# l 3 lb l = left
@@ -1051,7 +1051,7 @@ class RoofGenerator(CutAbleGenerator):
l_bind = left
r_bind = right
- # simple case: 2 contigous segments
+ # simple case: 2 contiguous segments
if nb_segs == 2:
s = node.last
s.right.bind(r_bind, ccw=False)
@@ -1060,7 +1060,7 @@ class RoofGenerator(CutAbleGenerator):
# More than 2 segments, uneven distribution
if nb_segs % 2 == 1:
- # find wich child does take precedence
+ # find which child does take precedence
# first one on rootline (arbitrary)
center = (nb_segs - 1) / 2
else:
@@ -1078,7 +1078,7 @@ class RoofGenerator(CutAbleGenerator):
# skip axis
if i > 0:
if i < center:
- # right contigous with last
+ # right contiguous with last
s.right.bind(r_bind, ccw=False)
# next bind to left
@@ -1100,7 +1100,7 @@ class RoofGenerator(CutAbleGenerator):
for i, s in enumerate(reversed(node.segs)):
# skip axis
if i < nb_segs - center - 1:
- # left contigous with last
+ # left contiguous with last
s.left.bind(l_bind, ccw=True)
# next bind to right
l_bind = s.right
@@ -1257,12 +1257,12 @@ class RoofGenerator(CutAbleGenerator):
if s1.seg.constraint_type == 'SLOPE':
# 3 cases:
- # s0 is root contigous -> sides are same
- # s2 is root contigous -> sides are same
+ # s0 is root contiguous -> sides are same
+ # s2 is root contiguous -> sides are same
# back to back -> sides are not same
if s0.reversed:
- # contigous right / right
+ # contiguous right / right
# 2 cases
# right is backward
# right is forward
@@ -1284,7 +1284,7 @@ class RoofGenerator(CutAbleGenerator):
else:
main.rotate_next_slope(-a0)
elif s2.reversed:
- # contigous left / left
+ # contiguous left / left
# 2 cases
# left is backward
# left is forward
@@ -1455,7 +1455,7 @@ class RoofGenerator(CutAbleGenerator):
for pan in pans:
self.pans.extend([pan.left, pan.right])
- # merge contigous with 0 angle diff
+ # merge contiguous with 0 angle diff
to_remove = []
for i, pan in enumerate(self.pans):
if pan.backward:
@@ -2054,9 +2054,9 @@ class RoofGenerator(CutAbleGenerator):
p2 = s0.p1
p3 = s1.p1
- # find last neighboor depending on type
+ # find last neighbor depending on type
if s2.type == 'AXIS' or 'LINK' in s2.type:
- # apply only on boundarys
+ # apply only on boundaries
if not s.is_hole:
# use last axis
if pan.side == 'LEFT':
@@ -2079,7 +2079,7 @@ class RoofGenerator(CutAbleGenerator):
s2 = s2.offset(offset)
s4 = s2.offset(offset + width)
- # find next neighboor depending on type
+ # find next neighbor depending on type
if s3.type == 'AXIS' or 'LINK' in s3.type:
if not s.is_hole:
# use last axis
@@ -2245,9 +2245,9 @@ class RoofGenerator(CutAbleGenerator):
tri_0, tri_1 = tri_1, tri_0
# tiangular use bottom segment direction
- # find last neighboor depending on type
+ # find last neighbor depending on type
if s1.type == 'AXIS' or 'LINK' in s1.type:
- # apply only on boundarys
+ # apply only on boundaries
if not s.is_hole:
# use last axis
if pan.side == 'LEFT':
@@ -2266,7 +2266,7 @@ class RoofGenerator(CutAbleGenerator):
else:
s1 = s1.offset(d.fascia_width)
- # find next neighboor depending on type
+ # find next neighbor depending on type
if s2.type == 'AXIS' or 'LINK' in s2.type:
if not s.is_hole:
# use last axis
@@ -2378,9 +2378,9 @@ class RoofGenerator(CutAbleGenerator):
f = len(verts)
# tiangular use segment direction
- # find last neighboor depending on type
+ # find last neighbor depending on type
if s1.type == 'AXIS' or 'LINK' in s1.type:
- # apply only on boundarys
+ # apply only on boundaries
if not s.is_hole:
# use last axis
if pan.side == 'LEFT':
@@ -2399,7 +2399,7 @@ class RoofGenerator(CutAbleGenerator):
else:
s1 = s1.offset(d.gutter_dist + d.gutter_width)
- # find next neighboor depending on type
+ # find next neighbor depending on type
if s2.type == 'AXIS' or 'LINK' in s2.type:
if not s.is_hole:
# use last axis
@@ -4732,7 +4732,7 @@ class archipack_roof_cutter_segment(ArchipackCutterPart, PropertyGroup):
items=(
('SIDE', 'Side', 'Side with bargeboard', 0),
('BOTTOM', 'Bottom', 'Bottom with gutter', 1),
- ('LINK', 'Side link', 'Side witout decoration', 2),
+ ('LINK', 'Side link', 'Side without decoration', 2),
('AXIS', 'Top', 'Top part with hip and beam', 3)
# ('LINK_VALLEY', 'Side valley', 'Side with valley', 3),
# ('LINK_HIP', 'Side hip', 'Side with hip', 4)
@@ -5269,10 +5269,10 @@ class ArchipackThrottleHandler():
self.start_timer(context)
return True
- # allready a timer running
+ # already a timer running
self.stop_timer(context)
- # prevent race conditions when allready in update mode
+ # prevent race conditions when already in update mode
if self.is_updating:
return False
diff --git a/archipack/archipack_slab.py b/archipack/archipack_slab.py
index 9059f269..a6cc9bf6 100644
--- a/archipack/archipack_slab.py
+++ b/archipack/archipack_slab.py
@@ -841,12 +841,12 @@ class archipack_slab(ArchipackObject, Manipulable, PropertyGroup):
if (idx + 1 == next_idx) or (next_idx == 0 and i + 1 == self.n_parts):
# shared: should move last point
# and apply to next segments
- # this is overriden for common segs
+ # this is overridden for common segs
# but translate non common ones
dp = seg.p1 - w.segs[idx].p1
w.translate(idx, dp)
- # shared: transfert type too
+ # shared: transfer type too
if "C_" in part.type:
d.parts[idx].type = 'C_WALL'
w.segs[idx] = CurvedSlab(seg.c, seg.r, seg.a0, seg.da)
@@ -1250,7 +1250,7 @@ class archipack_slab_cutter_segment(ArchipackCutterPart, PropertyGroup):
items=(
('DEFAULT', 'Side', 'Side with rake', 0),
('BOTTOM', 'Bottom', 'Bottom with gutter', 1),
- ('LINK', 'Side link', 'Side witout decoration', 2),
+ ('LINK', 'Side link', 'Side without decoration', 2),
('AXIS', 'Top', 'Top part with hip and beam', 3)
# ('LINK_VALLEY', 'Side valley', 'Side with valley', 3),
# ('LINK_HIP', 'Side hip', 'Side with hip', 4)
diff --git a/archipack/archipack_stair.py b/archipack/archipack_stair.py
index 1de90a96..94a8da7c 100644
--- a/archipack/archipack_stair.py
+++ b/archipack/archipack_stair.py
@@ -468,7 +468,7 @@ class CurvedStair(Stair, Arc):
self.l_shape = left_shape
self.r_shape = right_shape
self.edges_multiples = round(abs(da), 6) > double_limit
- # left arc, tangeant at start and end
+ # left arc, tangent at start and end
self.l_arc, self.l_t0, self.l_t1, self.l_tc = self.set_offset(-left_offset, left_shape)
self.r_arc, self.r_t0, self.r_t1, self.r_tc = self.set_offset(right_offset, right_shape)
diff --git a/archipack/archipack_wall2.py b/archipack/archipack_wall2.py
index 92172eb1..5f464a02 100644
--- a/archipack/archipack_wall2.py
+++ b/archipack/archipack_wall2.py
@@ -432,7 +432,7 @@ def update_t_part(self, context):
# 1 No parents at all
# 2 o has parent
# 3 w has parent
- # 4 o and w share same parent allready
+ # 4 o and w share same parent already
# 5 o and w dosent share parent
link_to_parent = False
diff --git a/archipack/archipack_window.py b/archipack/archipack_window.py
index 3524fbbf..54d057e7 100644
--- a/archipack/archipack_window.py
+++ b/archipack/archipack_window.py
@@ -1317,7 +1317,7 @@ class archipack_window(ArchipackObject, Manipulable, PropertyGroup):
props.angle_y = self.angle_y
props.enable_glass = self.enable_glass
props.update(context)
- # location y + frame width. frame depends on choosen profile (fixed or not)
+ # location y + frame width. frame depends on chosen profile (fixed or not)
# update linked childs location too
child.location = Vector((origin[panel].x, origin[panel].y + location_y + self.frame_y,
self.altitude + offset.y))
@@ -1997,7 +1997,7 @@ class ARCHIPACK_OT_window_draw(ArchpackDrawTool, Operator):
('LEFTCLICK, RET, SPACE, ENTER', 'Create a window'),
('BACKSPACE, CTRL+Z', 'undo last'),
('C', 'Choose another window'),
- ('SHIFT', 'Make independant copy'),
+ ('SHIFT', 'Make independent copy'),
('RIGHTCLICK or ESC', 'exit')
])
self.feedback.enable()
diff --git a/archipack/panel.py b/archipack/panel.py
index 4a472362..7339cc3a 100644
--- a/archipack/panel.py
+++ b/archipack/panel.py
@@ -479,7 +479,7 @@ class Panel():
def choose_a_shape_in_tri(self, center, origin, size, basis, pivot):
"""
- Choose wich shape inside either a tri or a pentagon
+ Choose which shape inside either a tri or a pentagon
"""
cx = (0.5 * basis + center.x) - origin.x
cy = center.y - origin.y
diff --git a/camera_dolly_crane_rigs.py b/camera_dolly_crane_rigs.py
index 16443675..c55b19e8 100644
--- a/camera_dolly_crane_rigs.py
+++ b/camera_dolly_crane_rigs.py
@@ -286,7 +286,7 @@ def create_aim_widget(self, name):
# =========================================================================
-# Define the fuction to make the camera active
+# Define the function to make the camera active
# =========================================================================
def sceneCamera():
ob = bpy.context.active_object
@@ -535,7 +535,7 @@ def build_dolly_rig(context):
cam_data_name = bpy.context.object.data.name
bpy.data.cameras[cam_data_name].draw_size = 1.0
cam.rotation_euler[0] = 1.5708 # rotate the camera 90 degrees in x
- cam.location = (0.0, -2.0, 0.0) # move the camera to the correct postion
+ cam.location = (0.0, -2.0, 0.0) # move the camera to the correct position
cam.parent = rig
cam.parent_type = "BONE"
cam.parent_bone = "CTRL"
@@ -720,7 +720,7 @@ def build_crane_rig(context):
cam_data_name = bpy.context.object.data.name
bpy.data.cameras[cam_data_name].draw_size = 1.0
cam.rotation_euler[0] = 1.5708 # rotate the camera 90 degrees in x
- cam.location = (0.0, -2.0, 0.0) # move the camera to the correct postion
+ cam.location = (0.0, -2.0, 0.0) # move the camera to the correct position
cam.parent = rig
cam.parent_type = "BONE"
cam.parent_bone = "CTRL"
diff --git a/development_api_navigator.py b/development_api_navigator.py
index 15622ec7..5e0276cb 100644
--- a/development_api_navigator.py
+++ b/development_api_navigator.py
@@ -34,7 +34,7 @@ bl_info = {
that tries to be representative of its type. These lists are :
* Items (for an iterable object)
- * Item Values (for an iterable object wich only supports index)
+ * Item Values (for an iterable object which only supports index)
* Modules
* Types
* Properties
@@ -47,7 +47,7 @@ that tries to be representative of its type. These lists are :
filter section. It is also possible to explore other modules. Go the the root and select
it in the list of available modules. It will be imported dynamically.
- In the text section, some informations are displayed. The type of the object,
+ In the text section, some information are displayed. The type of the object,
what it returns, and its docstring. We could hope that these docstrings will be as
descriptive as possible. This text data block named api_doc_ can be toggled on and off
with the Escape key. (but a bug prevent the keymap to register correctly at start)
@@ -85,7 +85,7 @@ def init_tree_level():
init_tree_level()
-api_doc_ = '' # the documentation formated for the API Navigator
+api_doc_ = '' # the documentation formatted for the API Navigator
module_type = None # the type of current_module
return_report = '' # what current_module returns
filter_mem = {} # remember last filters entered for each path
@@ -561,10 +561,10 @@ class OBJECT_PT_api_navigator(ApiNavigator, Panel):
show_panel_elements = bpy.context.window_manager.api_nav_props.panel_toggle[t] if \
0 <= t < 10 else True
- lenght = tree_level[t].__len__()
- too_long = lenght > reduce_to
+ length = tree_level[t].__len__()
+ too_long = length > reduce_to
- if lenght:
+ if length:
col = layout.column()
box = col.box()
@@ -582,7 +582,7 @@ class OBJECT_PT_api_navigator(ApiNavigator, Panel):
i = 0
objects, count, filtered = 0, 0, 0
- while count < reduce_to and i < lenght:
+ while count < reduce_to and i < length:
obj = tree_level[t][i]
if filters and filters not in obj:
diff --git a/io_anim_bvh/export_bvh.py b/io_anim_bvh/export_bvh.py
index 21225581..6a0c210f 100644
--- a/io_anim_bvh/export_bvh.py
+++ b/io_anim_bvh/export_bvh.py
@@ -169,7 +169,7 @@ def write_armature(
"rest_arm_imat",
# Rest_local_mat inverted.
"rest_local_imat",
- # Last used euler to preserve euler compability in between keyframes.
+ # Last used euler to preserve euler compatibility in between keyframes.
"prev_euler",
# Is the bone disconnected to the parent bone?
"skip_position",
diff --git a/io_anim_bvh/import_bvh.py b/io_anim_bvh/import_bvh.py
index f62de452..1f3c93fe 100644
--- a/io_anim_bvh/import_bvh.py
+++ b/io_anim_bvh/import_bvh.py
@@ -117,7 +117,7 @@ def read_bvh(context, file_path, rotate_mode='XYZ', global_scale=1.0):
# Open the file for importing
file = open(file_path, 'rU')
- # Seperate into a list of lists, each line a list of words.
+ # Separate into a list of lists, each line a list of words.
file_lines = file.readlines()
# Non standard carrage returns?
if len(file_lines) == 1:
diff --git a/io_anim_nuke_chan/import_nuke_chan.py b/io_anim_nuke_chan/import_nuke_chan.py
index 48766e43..c21265d0 100644
--- a/io_anim_nuke_chan/import_nuke_chan.py
+++ b/io_anim_nuke_chan/import_nuke_chan.py
@@ -37,10 +37,10 @@ def read_chan(context, filepath, z_up, rot_ord, sensor_width, sensor_height):
# read the file
filehandle = open(filepath, 'r')
- # iterate throug the files lines
+ # iterate through the files lines
for line in filehandle:
# reset the target objects matrix
- # (the one from whitch one we'll extract the final transforms)
+ # (the one from which one we'll extract the final transforms)
m_trans_mat = Matrix()
# strip the line
diff --git a/io_blend_utils/blender_bam-unpacked.whl/bam/blend/blendfile_pack.py b/io_blend_utils/blender_bam-unpacked.whl/bam/blend/blendfile_pack.py
index 0c44d6dc..3c9d50e1 100644
--- a/io_blend_utils/blender_bam-unpacked.whl/bam/blend/blendfile_pack.py
+++ b/io_blend_utils/blender_bam-unpacked.whl/bam/blend/blendfile_pack.py
@@ -106,7 +106,7 @@ def _relpath_remap(
def pack(
# store the blendfile relative to this directory, can be:
# os.path.dirname(blendfile_src)
- # but in some cases we wan't to use a path higher up.
+ # but in some cases we want to use a path higher up.
# base_dir_src,
blendfile_src, blendfile_dst,
diff --git a/io_blend_utils/blender_bam-unpacked.whl/bam/cli.py b/io_blend_utils/blender_bam-unpacked.whl/bam/cli.py
index ef7dfe47..79b318f0 100644
--- a/io_blend_utils/blender_bam-unpacked.whl/bam/cli.py
+++ b/io_blend_utils/blender_bam-unpacked.whl/bam/cli.py
@@ -317,7 +317,7 @@ class bam_session:
sys.stdout.write(" operating on: %r\n" % blendfile_abs)
sys.stdout.flush()
- # we don't want to read, just edit whats there.
+ # we don't want to read, just edit what's there.
with open(blendfile_abs, 'rb+') as fh_blend:
for ofs, data in binary_edits:
# sys.stdout.write("\n%r\n" % data)
diff --git a/io_convert_image_to_mesh_img/mesh/terrain.py b/io_convert_image_to_mesh_img/mesh/terrain.py
index db866289..44d71675 100644
--- a/io_convert_image_to_mesh_img/mesh/terrain.py
+++ b/io_convert_image_to_mesh_img/mesh/terrain.py
@@ -32,7 +32,7 @@ class BTerrain:
Functions for creating Blender meshes from DTM objects
This class contains functions that convert DTM objects to Blender meshes.
- Its main responsiblity is to triangulate a mesh from the elevation data in
+ Its main responsibility is to triangulate a mesh from the elevation data in
the DTM. Additionally, it attaches some metadata to the object and creates
a UV map for it so that companion ortho-images drape properly.
@@ -95,7 +95,7 @@ class BTerrain:
@staticmethod
def reload(obj, dtm):
"""
- Replaces an exisiting object's terrain mesh
+ Replaces an existing object's terrain mesh
This replaces an object's mesh with a new mesh, transferring old
materials over to the new mesh. This is useful for reloading DTMs
diff --git a/io_convert_image_to_mesh_img/ui/importer.py b/io_convert_image_to_mesh_img/ui/importer.py
index 2b6a911e..9ac7371b 100644
--- a/io_convert_image_to_mesh_img/ui/importer.py
+++ b/io_convert_image_to_mesh_img/ui/importer.py
@@ -50,7 +50,7 @@ class ImportHiRISETerrain(bpy.types.Operator, ImportHelper):
#
# Displaying this value as a percentage (0, 100] is an intuitive way
# for users to grasp what this value does. The DTM importer, however,
- # wants to recieve a value between (0, 1]. This is obviously a
+ # wants to receive a value between (0, 1]. This is obviously a
# straightforward conversion:
#
# f(x) = x / 100
diff --git a/io_convert_image_to_mesh_img/ui/terrainpanel.py b/io_convert_image_to_mesh_img/ui/terrainpanel.py
index e41f8821..93908709 100644
--- a/io_convert_image_to_mesh_img/ui/terrainpanel.py
+++ b/io_convert_image_to_mesh_img/ui/terrainpanel.py
@@ -45,7 +45,7 @@ class TerrainPanel(Panel):
#
# Displaying this value as a percentage (0, 100] is an intuitive way
# for users to grasp what this value does. The DTM importer, however,
- # wants to recieve a value between (0, 1]. This is obviously a
+ # wants to receive a value between (0, 1]. This is obviously a
# straightforward conversion:
#
# f(x) = x / 100
diff --git a/io_curve_svg/import_svg.py b/io_curve_svg/import_svg.py
index 0dfc70a4..42191a45 100644
--- a/io_curve_svg/import_svg.py
+++ b/io_curve_svg/import_svg.py
@@ -1331,7 +1331,7 @@ class SVGGeometryRECT(SVGGeometry):
SVG rectangle
"""
- __slots__ = ('_rect', # coordinate and domensions of rectangle
+ __slots__ = ('_rect', # coordinate and dimensions of rectangle
'_radius', # Rounded corner radiuses
'_styles') # Styles, used for displaying
diff --git a/io_export_after_effects.py b/io_export_after_effects.py
index 4a5c6b92..bb7ec73c 100644
--- a/io_export_after_effects.py
+++ b/io_export_after_effects.py
@@ -94,12 +94,12 @@ def get_active_cam_for_each_frame(scene, start, end):
return(active_cam_frames)
-# create managable list of selected objects
+# create manageable list of selected objects
def get_selected(context):
cameras = [] # list of selected cameras
solids = [] # list of all selected meshes that can be exported as AE's solids
lights = [] # list of all selected lamps that can be exported as AE's lights
- nulls = [] # list of all selected objects exept cameras (will be used to create nulls in AE)
+ nulls = [] # list of all selected objects except cameras (will be used to create nulls in AE)
obs = context.selected_objects
for ob in obs:
diff --git a/io_export_dxf/model/dxfLibrary.py b/io_export_dxf/model/dxfLibrary.py
index caf086a6..2dffaabe 100644
--- a/io_export_dxf/model/dxfLibrary.py
+++ b/io_export_dxf/model/dxfLibrary.py
@@ -94,7 +94,7 @@ try:
except:
copy = None
-####1) Private (only for developpers)
+####1) Private (only for developers)
_HEADER_POINTS=['insbase','extmin','extmax']
#---helper functions-----------------------------------
diff --git a/io_export_dxf/primitive_exporters/base_exporter.py b/io_export_dxf/primitive_exporters/base_exporter.py
index d3c9663d..1a7d10b6 100644
--- a/io_export_dxf/primitive_exporters/base_exporter.py
+++ b/io_export_dxf/primitive_exporters/base_exporter.py
@@ -57,7 +57,7 @@ class BasePrimitiveDXFExporter(object):
# get its normal-vector in localCS
vec_normal = f.no.copy()
#print 'deb: vec_normal=', vec_normal #------------------
- # must be transfered to camera/view-CS
+ # must be transferred to camera/view-CS
vec_normal *= mx_n
#vec_normal *= mb.rotationPart()
#print 'deb:2vec_normal=', vec_normal #------------------
@@ -191,5 +191,5 @@ class BasePrimitiveDXFExporter(object):
# # ECS_origin is Global_Origin in EntityCoordSystem
# ECS_origin = OCS_origin * Zrotmatrix
# #print 'deb: ECS_origin=', ECS_origin #---------
-# #TODO: it doesnt work yet for negative scaled curve-objects!
+# #TODO: it doesn't work yet for negative scaled curve-objects!
# return ZRotation,Zrotmatrix,OCS_origin,ECS_origin
diff --git a/io_export_paper_model.py b/io_export_paper_model.py
index df24fd67..38444b37 100644
--- a/io_export_paper_model.py
+++ b/io_export_paper_model.py
@@ -245,7 +245,7 @@ class Unfolder:
def save(self, properties):
"""Export the document"""
- # Note about scale: input is direcly in blender length
+ # Note about scale: input is directly in blender length
# Mesh.scale_islands multiplies everything by a user-defined ratio
# exporters (SVG or PDF) multiply everything by 1000 (output in millimeters)
Exporter = SVG if properties.file_format == 'SVG' else PDF
@@ -472,7 +472,7 @@ class Mesh:
def generate_stickers(self, default_width, do_create_numbers=True):
"""Add sticker faces where they are needed."""
def uvedge_priority(uvedge):
- """Retuns whether it is a good idea to stick something on this edge's face"""
+ """Returns whether it is a good idea to stick something on this edge's face"""
# TODO: it should take into account overlaps with faces and with other stickers
return uvedge.uvface.face.area / sum((vb.co - va.co).length for (va, vb) in pairs(uvedge.uvface.vertices))
diff --git a/io_export_unreal_psk_psa.py b/io_export_unreal_psk_psa.py
index ca22ca46..6179470c 100644
--- a/io_export_unreal_psk_psa.py
+++ b/io_export_unreal_psk_psa.py
@@ -169,7 +169,7 @@ from struct import pack
# U = x / sqrt(x^2 + y^2 + z^2)
# V = y / sqrt(x^2 + y^2 + z^2)
#
-# Triangles specifed counter clockwise for front face
+# Triangles specified counter clockwise for front face
#
# defines for sizeofs
SIZE_FQUAT = 16
@@ -804,7 +804,7 @@ def is_1d_face(face, mesh):
# ===========================================================================
# Smoothing group
-# (renamed to seperate it from VVertex.SmoothGroup)
+# (renamed to separate it from VVertex.SmoothGroup)
# ===========================================================================
class SmoothingGroup:
@@ -1540,7 +1540,7 @@ def parse_animation(armature, udk_bones, actions_to_export, psa):
restoreAction = armature.animation_data.action # Q: is animation_data always valid?
# we already do this in export_proxy, but we'll do it here too for now
restoreFrame = context.scene.frame_current
- raw_frame_index = 0 # used to set FirstRawFrame, seperating actions in the raw keyframe array
+ raw_frame_index = 0 # used to set FirstRawFrame, separating actions in the raw keyframe array
# action loop...
for action in actions_to_export:
@@ -2716,7 +2716,7 @@ class OBJECT_OT_ActionSetAnimUpdate(Operator):
# print("remove :",actionlist.name)
removeactions.append(actionlist.name)
# print("Not in the action data list:",len(removeactions))
- # remove list or chnages in the name the template list
+ # remove list or changes in the name the template list
for actname in removeactions:
actioncount = 0
for actionlist in my_sett:
diff --git a/io_import_dxf/dxfgrabber/juliandate.py b/io_import_dxf/dxfgrabber/juliandate.py
index 3fbbb5b8..be8a3826 100644
--- a/io_import_dxf/dxfgrabber/juliandate.py
+++ b/io_import_dxf/dxfgrabber/juliandate.py
@@ -40,7 +40,7 @@ class CalendarDate:
Z = floor(self.jdate)
if Z < 2299161:
- A = Z # julian calender
+ A = Z # julian calendar
else:
g = floor((Z - 1867216.25) / 36524.25) # gregorian calendar
A = Z + 1. + g - floor(g / 4.)
diff --git a/io_import_dxf/dxfimport/do.py b/io_import_dxf/dxfimport/do.py
index e570f9d7..7ac4c392 100644
--- a/io_import_dxf/dxfimport/do.py
+++ b/io_import_dxf/dxfimport/do.py
@@ -290,7 +290,7 @@ class Do:
note: en.start_angle + en.end_angle: angles measured from the angle base (angbase) in the direction of
angdir (1 = clockwise, 0 = counterclockwise)
"""
- treshold = 0.005
+ threshold = 0.005
if aunits is None:
aunits = self.dwg.header.get('$AUNITS', 0)
@@ -337,22 +337,22 @@ class Do:
# start
spline = list()
spline.append(vc + start)
- if abs(angle) - pi / 2 > treshold: # if angle is more than pi/2 incl. treshold
+ if abs(angle) - pi / 2 > threshold: # if angle is more than pi/2 incl. threshold
spline.append(vc + start + start * kappa * rot)
else:
spline.append(vc + start + start * kappa * angle / (pi / 2) * rot)
# fill if angle is larger than 90 degrees
a = pi / 2
- if abs(angle) - treshold > a:
+ if abs(angle) - threshold > a:
fill = start
- while abs(angle) - a > treshold:
+ while abs(angle) - a > threshold:
fillnext = fill * rot
spline.append(vc + fillnext + fill * kappa)
spline.append(vc + fillnext)
# if this was the last fill control point
- if abs(angle) - a - pi / 2 < treshold:
+ if abs(angle) - a - pi / 2 < threshold:
end_angle = (abs(angle) - a) * abs(angle) / angle
spline.append(vc + fillnext + fillnext * kappa * end_angle / (pi / 2) * rot)
else:
@@ -578,7 +578,7 @@ class Do:
def polymesh(self, en, bm):
"""
- en: POLYMESH entitiy
+ en: POLYMESH entity
bm: Blender bmesh instance
"""
mc = en.mcount if not en.is_mclosed else en.mcount + 1
@@ -905,7 +905,7 @@ class Do:
for obj in inserts:
obj.parent = o
- # put a copy of the retreived objects into the known_blocks dict, so that the attributes being added to
+ # put a copy of the retrieved objects into the known_blocks dict, so that the attributes being added to
# the object from this point onwards (from INSERT attributes) are not being copied to new/other INSERTs
self.known_blocks[name] = [[o.copy() for o in objects], inserts]
diff --git a/io_import_dxf/dxfimport/groupsort.py b/io_import_dxf/dxfimport/groupsort.py
index e4af8c84..998b69b4 100644
--- a/io_import_dxf/dxfimport/groupsort.py
+++ b/io_import_dxf/dxfimport/groupsort.py
@@ -72,7 +72,7 @@ def by_dxftype(entities):
def by_attributes(entities):
"""
entities: list of DXF entities
- attributes: thickness and width occuring in curve types; subdivision_levels occuring in MESH dxf types
+ attributes: thickness and width occurring in curve types; subdivision_levels occurring in MESH dxf types
"""
def attributes(entity):
width = [(0, 0)]
diff --git a/io_import_gimp_image_to_scene.py b/io_import_gimp_image_to_scene.py
index c554e518..6ff1d66f 100644
--- a/io_import_gimp_image_to_scene.py
+++ b/io_import_gimp_image_to_scene.py
@@ -88,7 +88,7 @@ def main(report, File, Path, LayerViewers, MixerViewers, LayerOffset,
"""The "nice" method to check if layer has alpha channel
sadly GIMP sometimes decides not to export an alpha channel
- if it's pure white so we are not completly sure here yet"""
+ if it's pure white so we are not completely sure here yet"""
if Line.startswith("b'L"): HasAlpha = True
else: HasAlpha = False
@@ -107,7 +107,7 @@ def main(report, File, Path, LayerViewers, MixerViewers, LayerOffset,
if HasAlpha:
if not os.path.isfile(PathSaveRaw+imageFileAlpha): HasAlpha = False
- # Get Widht and Height from images
+ # Get Width and Height from images
data = open(PathSaveRaw+imageFile, "rb").read()
hexList = []
diff --git a/io_import_images_as_planes.py b/io_import_images_as_planes.py
index ed140fe8..1f32bc5f 100644
--- a/io_import_images_as_planes.py
+++ b/io_import_images_as_planes.py
@@ -327,7 +327,7 @@ def clean_node_tree(node_tree):
def get_shadeless_node(dest_node_tree):
- """Return a "shadless" cycles node, creating a node group if nonexistant"""
+ """Return a "shadless" cycles node, creating a node group if nonexistent"""
try:
node_tree = bpy.data.node_groups['IAP_SHADELESS']
@@ -458,7 +458,7 @@ def register_watched_object(obj):
def find_plane_corner(object_name, x, y, axis, camera=None, *args, **kwargs):
"""Find the location in camera space of a plane's corner"""
if args or kwargs:
- # I've added args / kwargs as a compatability measure with future versions
+ # I've added args / kwargs as a compatibility measure with future versions
warnings.warn("Unknown Parameters Passed to \"Images as Planes\". Maybe you need to upgrade?")
plane = bpy.data.objects[object_name]
@@ -606,7 +606,7 @@ def setup_compositing(context, plane, img_spec):
# Operator
class IMPORT_IMAGE_OT_to_plane(Operator, AddObjectHelper):
- """Create mesh plane(s) from image files with the appropiate aspect ratio"""
+ """Create mesh plane(s) from image files with the appropriate aspect ratio"""
bl_idname = "import_image.to_plane"
bl_label = "Import Images as Planes"
@@ -1165,7 +1165,7 @@ class IMPORT_IMAGE_OT_to_plane(Operator, AddObjectHelper):
# Axis-aligned
axis = self.axis_id_to_vector[self.align_axis]
- # rotate accodingly for x/y axiis
+ # rotate accordingly for x/y axiis
if not axis.z:
plane.rotation_euler.x = pi / 2
diff --git a/io_import_scene_lwo.py b/io_import_scene_lwo.py
index 8f1bbbac..3cfe207c 100644
--- a/io_import_scene_lwo.py
+++ b/io_import_scene_lwo.py
@@ -497,7 +497,7 @@ def read_colmap(col_bytes, object_layers):
def read_color_vmad(col_bytes, object_layers, last_pols_count):
- """Read the Discontinous (per-polygon) RGB values."""
+ """Read the Discontinuous (per-polygon) RGB values."""
chunk_len= len(col_bytes)
dia,= struct.unpack(">H", col_bytes[0:2])
offset= 2
@@ -570,7 +570,7 @@ def read_uvmap(uv_bytes, object_layers):
def read_uv_vmad(uv_bytes, object_layers, last_pols_count):
- """Read the Discontinous (per-polygon) uv values."""
+ """Read the Discontinuous (per-polygon) uv values."""
chunk_len= len(uv_bytes)
offset= 2
name, name_len= read_lwostring(uv_bytes[offset:])
diff --git a/io_import_scene_unreal_psa_psk.py b/io_import_scene_unreal_psa_psk.py
index c210b771..5fb0c8f6 100644
--- a/io_import_scene_unreal_psa_psk.py
+++ b/io_import_scene_unreal_psa_psk.py
@@ -89,10 +89,10 @@ class md5_bone:
self.scale = [0.0] * 3
self.head = [0.0] * 3
self.tail = [0.0] * 3
- self.bindmat = [None] * 3 # is this how you initilize a 2d-array
+ self.bindmat = [None] * 3 # is this how you initialize a 2d-array
for i in range(3):
self.bindmat[i] = [0.0] * 3
- self.origmat = [None] * 3 #is this how you initilize a 2d-array
+ self.origmat = [None] * 3 #is this how you initialize a 2d-array
for i in range(3):
self.origmat[i] = [0.0] * 3
self.parent = ""
@@ -628,7 +628,7 @@ def pskimport(infile,importmesh,importbone,bDebugLogPSK,importmultiuvtextures):
print("INIT UV TEXTURE...")
_matcount = 0
#for mattexcount in materials:
- #print("MATERAIL ID:", _matcount)
+ #print("MATERIAL ID:", _matcount)
_textcount = 0
for uv in me_ob.tessface_uv_textures: # uv texture
print("UV TEXTURE ID:",_textcount)
diff --git a/io_mesh_pdb/__init__.py b/io_mesh_pdb/__init__.py
index dcf9ec4a..1355d73b 100644
--- a/io_mesh_pdb/__init__.py
+++ b/io_mesh_pdb/__init__.py
@@ -144,7 +144,7 @@ class ImportPDB(Operator, ImportHelper):
description="The sticks are round (sectors are not visible)")
use_sticks_bonds = BoolProperty(
name="Bonds", default=False,
- description="Show double and tripple bonds")
+ description="Show double and triple bonds")
sticks_dist = FloatProperty(
name="", default = 1.1, min=1.0, max=3.0,
description="Distance between sticks measured in stick diameter")
diff --git a/io_mesh_pdb/import_pdb.py b/io_mesh_pdb/import_pdb.py
index 8b1eec08..a7067692 100644
--- a/io_mesh_pdb/import_pdb.py
+++ b/io_mesh_pdb/import_pdb.py
@@ -364,10 +364,10 @@ def read_pdb_file_sticks(filepath_pdb, use_sticks_bonds, all_atoms):
split_list = line.split(' ')
# Go to the first entry
- if "CONECT" not in split_list[0]:
+ if "CONNECT" not in split_list[0]:
for line in filepath_pdb_p:
split_list = line.split(' ')
- if "CONECT" in split_list[0]:
+ if "CONNECT" in split_list[0]:
break
Number_of_sticks = 0
@@ -379,8 +379,8 @@ def read_pdb_file_sticks(filepath_pdb, use_sticks_bonds, all_atoms):
# ... which is broken here (EOF) ...
if line == "":
break
- # ... or here, when no 'CONECT' appears anymore.
- if "CONECT" not in line:
+ # ... or here, when no 'CONNECT' appears anymore.
+ if "CONNECT" not in line:
break
# The strings of the atom numbers do have a clear position in the file
@@ -388,13 +388,13 @@ def read_pdb_file_sticks(filepath_pdb, use_sticks_bonds, all_atoms):
# this. One could also use the split function but then one gets into
# trouble if there are lots of atoms: For instance, it may happen that
# one has
- # CONECT 11111 22244444
+ # CONNECT 11111 22244444
#
# In Fact it means that atom No. 11111 has a connection with atom
# No. 222 but also with atom No. 44444. The split function would give
# me only two numbers (11111 and 22244444), which is wrong.
- # Cut spaces from the right and 'CONECT' at the beginning
+ # Cut spaces from the right and 'CONNECT' at the beginning
line = line.rstrip()
line = line[6:]
# Amount of loops
@@ -474,7 +474,7 @@ def read_pdb_file_sticks(filepath_pdb, use_sticks_bonds, all_atoms):
return all_sticks
-# Function, which produces a cylinder. All is somewhat easy to undertsand.
+# Function, which produces a cylinder. All is somewhat easy to understand.
def build_stick(radius, length, sectors):
dphi = 2.0 * pi/(float(sectors)-1)
@@ -1237,7 +1237,7 @@ def import_pdb(Ball_type,
# It may happen that the structure in a PDB file already has an offset
# If chosen, the structure is first put into the center of the scene
- # (the offset is substracted).
+ # (the offset is subtracted).
if put_to_center == True:
sum_vec = Vector((0.0,0.0,0.0))
@@ -1245,7 +1245,7 @@ def import_pdb(Ball_type,
sum_vec = sum([atom.location for atom in all_atoms], sum_vec)
# Then the average is taken
sum_vec = sum_vec / Number_of_total_atoms
- # After, for each atom the center of gravity is substracted
+ # After, for each atom the center of gravity is subtracted
for atom in all_atoms:
atom.location -= sum_vec
diff --git a/io_mesh_ply/__init__.py b/io_mesh_ply/__init__.py
index 77259690..6764dcb4 100644
--- a/io_mesh_ply/__init__.py
+++ b/io_mesh_ply/__init__.py
@@ -24,7 +24,7 @@ bl_info = {
"version": (1, 0, 0),
"blender": (2, 74, 0),
"location": "File > Import-Export",
- "description": "Import-Export PLY mesh data withs UV's and vertex colors",
+ "description": "Import-Export PLY mesh data with UV's and vertex colors",
"warning": "",
"wiki_url": "http://wiki.blender.org/index.php/Extensions:2.6/Py/"
"Scripts/Import-Export/Stanford_PLY",
diff --git a/io_mesh_stl/stl_utils.py b/io_mesh_stl/stl_utils.py
index e2aabee4..0c108e83 100644
--- a/io_mesh_stl/stl_utils.py
+++ b/io_mesh_stl/stl_utils.py
@@ -264,7 +264,7 @@ def read_stl(filepath):
for nor, pt in gen(data):
# Add the triangle and the point.
- # If the point is allready in the list of points, the
+ # If the point is already in the list of points, the
# index returned by pts.add() will be the one from the
# first equal point inserted.
tris.append([pts.add(p) for p in pt])
diff --git a/io_online_sketchfab/__init__.py b/io_online_sketchfab/__init__.py
index bad00e82..ba73bd19 100644
--- a/io_online_sketchfab/__init__.py
+++ b/io_online_sketchfab/__init__.py
@@ -269,7 +269,7 @@ class ExportSketchfab(Operator):
filename = r["filename"]
except Exception as e:
- self.report({'WARNING'}, "Error occured while preparing your file: %s" % str(e))
+ self.report({'WARNING'}, "Error occurred while preparing your file: %s" % str(e))
return {'FINISHED'}
sf_state.uploading = True
@@ -417,7 +417,7 @@ class SketchfabEmailToken(Operator):
return {'FINISHED'}
if r.status_code != requests.codes.ok:
- self.report({'ERROR'}, "An error occured. Check the format of your email")
+ self.report({'ERROR'}, "An error occurred. Check the format of your email")
else:
self.report({'INFO'}, "Your email was sent at your email address")
diff --git a/io_scene_3ds/export_3ds.py b/io_scene_3ds/export_3ds.py
index e7f624ac..9440b14f 100644
--- a/io_scene_3ds/export_3ds.py
+++ b/io_scene_3ds/export_3ds.py
@@ -101,7 +101,7 @@ SCL_TRACK_TAG = 0xB022
import struct
# So 3ds max can open files, limit names to 12 in length
-# this is verry annoying for filenames!
+# this is very annoying for filenames!
name_unique = [] # stores str, ascii only
name_mapping = {} # stores {orig: byte} mapping
diff --git a/io_scene_fbx/export_fbx_bin.py b/io_scene_fbx/export_fbx_bin.py
index 2df62e3f..e82ceadd 100644
--- a/io_scene_fbx/export_fbx_bin.py
+++ b/io_scene_fbx/export_fbx_bin.py
@@ -2962,7 +2962,7 @@ def save_single(operator, scene, filepath="",
if embed_textures and path_mode != 'COPY':
embed_textures = False
- # Calcuate bone correction matrix
+ # Calculate bone correction matrix
bone_correction_matrix = None # Default is None = no change
bone_correction_matrix_inv = None
if (primary_bone_axis, secondary_bone_axis) != ('Y', 'X'):
diff --git a/io_scene_fbx/fbx_utils.py b/io_scene_fbx/fbx_utils.py
index 82e17fe2..0ed26b6a 100644
--- a/io_scene_fbx/fbx_utils.py
+++ b/io_scene_fbx/fbx_utils.py
@@ -650,7 +650,7 @@ def elem_props_template_finalize(template, elem):
Finalize one element's template/props.
Issue is, some templates might be "needed" by different types (e.g. NodeAttribute is for lights, cameras, etc.),
but values for only *one* subtype can be written as template. So we have to be sure we write those for the other
- subtypes in each and every elements, if they are not overriden by that element.
+ subtypes in each and every elements, if they are not overridden by that element.
Yes, hairy, FBX that is to say. When they could easily support several subtypes per template... :(
"""
for name, (value, ptype_name, animatable, written) in template.items():
diff --git a/io_scene_fbx/import_fbx.py b/io_scene_fbx/import_fbx.py
index dbc07970..90dc08df 100644
--- a/io_scene_fbx/import_fbx.py
+++ b/io_scene_fbx/import_fbx.py
@@ -3167,7 +3167,7 @@ def load(operator, context, filepath="",
else:
for material in mesh.materials:
if material in material_decals:
- # recieve but dont cast shadows
+ # receive but dont cast shadows
material.use_raytrace = False
_(); del _
diff --git a/io_scene_ms3d/ms3d_export.py b/io_scene_ms3d/ms3d_export.py
index 127c2496..6b58f7e1 100644
--- a/io_scene_ms3d/ms3d_export.py
+++ b/io_scene_ms3d/ms3d_export.py
@@ -254,7 +254,7 @@ class Ms3dExporter():
ms3d_group._comment_object.comment = \
blender_ms3d_group.comment
ms3d_group._comment_object.index = len(ms3d_model._groups)
- ms3d_group.material_index = None # to mark as not setted
+ ms3d_group.material_index = None # to mark as not set
ms3d_model._groups.append(ms3d_group)
blender_to_ms3d_groups[blender_ms3d_group.id] = ms3d_group
diff --git a/io_scene_ms3d/ms3d_ui.py b/io_scene_ms3d/ms3d_ui.py
index 134447d1..e7b1dfc4 100644
--- a/io_scene_ms3d/ms3d_ui.py
+++ b/io_scene_ms3d/ms3d_ui.py
@@ -1133,7 +1133,7 @@ class Ms3dMaterialHelper:
@staticmethod
def copy_from_blender(cls, blender_context, ms3d_material, blender_material):
- # copy, bacause of auto update, it would distord original values
+ # copy, because of auto update, it would distord original values
blender_material_diffuse_color = blender_material.diffuse_color.copy()
blender_material_diffuse_intensity = blender_material.diffuse_intensity
blender_material_specular_color = blender_material.specular_color.copy()
diff --git a/io_scene_obj/export_obj.py b/io_scene_obj/export_obj.py
index 15b80ab3..acdcbc6c 100644
--- a/io_scene_obj/export_obj.py
+++ b/io_scene_obj/export_obj.py
@@ -118,7 +118,7 @@ def write_mtl(scene, filepath, path_mode, copy_set, mtl_dict):
elif mat.use_transparency and mat.transparency_method == 'RAYTRACE':
fw('illum 9\n') # 'Glass' transparency and no Ray trace reflection... fuzzy matching, but...
else:
- fw('illum 2\n') # light normaly
+ fw('illum 2\n') # light normally
else:
# Write a dummy material here?
@@ -127,7 +127,7 @@ def write_mtl(scene, filepath, path_mode, copy_set, mtl_dict):
fw('Kd 0.8 0.8 0.8\n')
fw('Ks 0.8 0.8 0.8\n')
fw('d 1\n') # No alpha
- fw('illum 2\n') # light normaly
+ fw('illum 2\n') # light normally
# Write images!
if face_img: # We have an image on the face!
@@ -309,7 +309,7 @@ def write_file(filepath, objects, scene,
def findVertexGroupName(face, vWeightMap):
"""
Searches the vertexDict to see what groups is assigned to a given face.
- We use a frequency system in order to sort out the name because a given vetex can
+ We use a frequency system in order to sort out the name because a given vertex can
belong to two or more groups at the same time. To find the right name for the face
we list all the possible vertex group names with their frequency and then sort by
frequency in descend order. The top element is the one shared by the highest number
diff --git a/io_scene_obj/import_obj.py b/io_scene_obj/import_obj.py
index a8e945cd..52a9a291 100644
--- a/io_scene_obj/import_obj.py
+++ b/io_scene_obj/import_obj.py
@@ -45,7 +45,7 @@ from progress_report import ProgressReport, ProgressReportSubstep
def line_value(line_split):
"""
Returns 1 string representing the value for this line
- None will be returned if theres only 1 word
+ None will be returned if there's only 1 word
"""
length = len(line_split)
if length == 1:
@@ -616,7 +616,7 @@ def create_mesh(new_objects,
smooth_group_users = {context_smooth_group: {} for context_smooth_group in unique_smooth_groups.keys()}
context_smooth_group_old = -1
- fgon_edges = set() # Used for storing fgon keys when we need to tesselate/untesselate them (ngons with hole).
+ fgon_edges = set() # Used for storing fgon keys when we need to tessellate/untessellate them (ngons with hole).
edges = []
tot_loops = 0
@@ -710,7 +710,7 @@ def create_mesh(new_objects,
if unique_smooth_groups:
for edge_dict in smooth_group_users.values():
for key, users in edge_dict.items():
- if users == 1: # This edge is on the boundry of a group
+ if users == 1: # This edge is on the boundary of a group
sharp_edges.add(key)
# map the material names to an index
@@ -1256,7 +1256,7 @@ def load(context,
context_nurbs = {}
context_parm = b''
- ''' # How to use usemap? depricated?
+ ''' # How to use usemap? deprecated?
elif line_start == b'usema': # usemap or usemat
context_image= line_value(line_split)
'''
diff --git a/io_scene_x/export_x.py b/io_scene_x/export_x.py
index 3ecc27e2..4bde67aa 100644
--- a/io_scene_x/export_x.py
+++ b/io_scene_x/export_x.py
@@ -328,7 +328,7 @@ class ExportObject: # Base class, do not use
for Child in Util.SortByNameField(self.Children):
Child.Write()
-# Simple decorator implemenation for ExportObject. Used by empty objects
+# Simple decorator implementation for ExportObject. Used by empty objects
class EmptyExportObject(ExportObject):
def __init__(self, Config, Exporter, BlenderObject):
ExportObject.__init__(self, Config, Exporter, BlenderObject)
diff --git a/io_scene_x3d/import_x3d.py b/io_scene_x3d/import_x3d.py
index 3416bf22..83dcc83d 100644
--- a/io_scene_x3d/import_x3d.py
+++ b/io_scene_x3d/import_x3d.py
@@ -54,7 +54,7 @@ def imageConvertCompat(path):
# notes
# transform are relative
-# order dosnt matter for loc/size/rot
+# order doesn't matter for loc/size/rot
# right handed rotation
# angles are in radians
# rotation first defines axis then amount in radians
@@ -105,7 +105,7 @@ def vrmlFormat(data):
"""
Keep this as a valid vrml file, but format in a way we can predict.
"""
- # Strip all commends - # not in strings - warning multiline strings are ignored.
+ # Strip all comments - # not in strings - warning multiline strings are ignored.
def strip_comment(l):
#l = ' '.join(l.split())
l = l.strip()
@@ -138,7 +138,7 @@ def vrmlFormat(data):
data = '\n'.join([strip_comment(l) for l in data.split('\n')]) # remove all whitespace
- EXTRACT_STRINGS = True # only needed when strings or filesnames containe ,[]{} chars :/
+ EXTRACT_STRINGS = True # only needed when strings or filename contains ,[]{} chars :/
if EXTRACT_STRINGS:
@@ -573,7 +573,7 @@ class vrmlNode(object):
# Only add this in a very special case
# where the parent of this object is not the real parent
# - In this case we have added the proto as a child to a node instancing it.
- # This is a bit arbitary, but its how Proto's are done with this importer.
+ # This is a bit arbitrary, but its how Proto's are done with this importer.
if child.getProtoName() is None and child.getExternprotoName() is None:
child.getSerialized(results, ancestry)
else:
@@ -621,7 +621,7 @@ class vrmlNode(object):
# proto settings are stored in "self.proto_node"
if node.proto_node:
- # Get the default value from the proto, this can be overwridden by the proto instace
+ # Get the default value from the proto, this can be overwritten by the proto instance
# 'field SFColor legColor .8 .4 .7'
if AS_CHILD:
for child in node.proto_node.children:
@@ -808,12 +808,12 @@ class vrmlNode(object):
child_array = self_real.getFieldName(field, ancestry, True, SPLIT_COMMAS=True)
- #if type(child_array)==list: # happens occasionaly
+ #if type(child_array)==list: # happens occasionally
# array_data = child_array
if child_array is None:
# For x3d, should work ok with vrml too
- # for x3d arrays are fields, vrml they are nodes, annoying but not tooo bad.
+ # for x3d arrays are fields, vrml they are nodes, annoying but not too bad.
data_split = self.getFieldName(field, ancestry, SPLIT_COMMAS=True)
if not data_split:
return []
@@ -1668,7 +1668,7 @@ def importMesh_ReadVertices(bpymesh, geom, ancestry):
# of vertices matches the source file.
# Relies upon texture coordinates in the X3D node; if a coordinate generation
# algorithm for a geometry is in the spec (e. g. for ElevationGrid), it needs
-# to be implemeted by the geometry handler.
+# to be implemented by the geometry handler.
#
# Texture transform is applied in ProcessObject.
def importMesh_ApplyTextureToTessfaces(bpymesh, geom, ancestry, bpyima):
@@ -2258,7 +2258,7 @@ def importMesh_Extrusion(geom, ancestry, bpyima):
(s + 1) * nc + c), ccw) for s in range(ns - 1) for c in range(ncf)]
if spine_closed:
- # The faces between the last and the first spine poins
+ # The faces between the last and the first spine points
b = (ns - 1) * nc
faces += [flip((
b + c,
@@ -2388,7 +2388,7 @@ def importMesh_IndexedLineSet(geom, ancestry, _):
lines.append(line)
# vcolor = geom.getChildByName('color')
- # blender dosnt have per vertex color
+ # blender doesn't have per vertex color
bpycurve = bpy.data.curves.new('IndexedCurve', 'CURVE')
bpycurve.dimensions = '3D'
@@ -2414,7 +2414,7 @@ def importMesh_PointSet(geom, ancestry, _):
points = []
# vcolor = geom.getChildByName('color')
- # blender dosnt have per vertex color
+ # blender doesn't have per vertex color
bpymesh = bpy.data.meshes.new("PointSet")
bpymesh.vertices.add(len(points))
@@ -2679,7 +2679,7 @@ def appearance_CreateMaterial(vrmlname, mat, ancestry, is_vcol):
ancestry)
bpymat.diffuse_color = diff_color
- # NOTE - blender dosnt support emmisive color
+ # NOTE - blender doesn't support emmisive color
# Store in mirror color and approximate with emit.
emit = mat.getFieldAsFloatTuple('emissiveColor', [0.0, 0.0, 0.0], ancestry)
bpymat.mirror_color = emit
@@ -2893,7 +2893,7 @@ def importShape_LoadAppearance(vrmlname, appr, ancestry, node, is_vcol):
It's probably an abuse of Blender of some level.
So here's the caching structure:
- For USE on apprearance, we store the material object
+ For USE on appearance, we store the material object
in the appearance node.
For USE on texture, we store the image object in the tex node.
@@ -3376,7 +3376,7 @@ def translateTimeSensor(node, action, ancestry):
loop = node.getFieldAsBool('loop', False, ancestry)
time_cu.append((1 + startTime, 0.0))
- time_cu.append((1 + stopTime, 1.0 / 10.0)) # anoying, the UI uses /10
+ time_cu.append((1 + stopTime, 1.0 / 10.0)) # annoying, the UI uses /10
if loop:
time_cu.extend = Blender.IpoCurve.ExtendTypes.CYCLIC # or - EXTRAP, CYCLIC_EXTRAP, CONST,
diff --git a/io_sequencer_edl/import_edl.py b/io_sequencer_edl/import_edl.py
index b1a767c1..56b69839 100644
--- a/io_sequencer_edl/import_edl.py
+++ b/io_sequencer_edl/import_edl.py
@@ -209,7 +209,7 @@ def load_edl(scene, filename, reel_files, reel_offsets, global_offset):
other.frame_offset_end += (other.frame_final_end - new_end)
other.update()
- # Apply disolve
+ # Apply dissolve
if edit.transition_type == parse_edl.TRANSITION_DISSOLVE:
apply_dissolve_fcurve(final_strip, edit.transition_duration)
diff --git a/io_sequencer_edl/parse_edl.py b/io_sequencer_edl/parse_edl.py
index 683e67bc..1d542e7f 100644
--- a/io_sequencer_edl/parse_edl.py
+++ b/io_sequencer_edl/parse_edl.py
@@ -257,7 +257,7 @@ BLACK_ID = {
"""
-Most sytems:
+Most systems:
Non-dropframe: 1:00:00:00 - colon in last position
Dropframe: 1:00:00;00 - semicolon in last position
PAL/SECAM: 1:00:00:00 - colon in last position
diff --git a/io_shape_mdd/import_mdd.py b/io_shape_mdd/import_mdd.py
index 3a248486..f22f987e 100644
--- a/io_shape_mdd/import_mdd.py
+++ b/io_shape_mdd/import_mdd.py
@@ -26,7 +26,7 @@
# behavior
#
# vertex animation to ShapeKeys with ipo and gives the frame a value of 1.0
-# A modifier to read mdd files would be Ideal but thats for another day :)
+# A modifier to read mdd files would be Ideal but that's for another day :)
#
# Please send any fixes,updates,bugs to Slow67_at_Gmail.com
# Bill Niewuendorp
diff --git a/light_field_tools/light_field_tools.py b/light_field_tools/light_field_tools.py
index b4693d52..82d86ba4 100644
--- a/light_field_tools/light_field_tools.py
+++ b/light_field_tools/light_field_tools.py
@@ -39,7 +39,7 @@ Usage:
A simple interface can be accessed in the tool shelf panel
in 3D View ([T] Key).
-A base mesh has to be provided, which will normaly be a
+A base mesh has to be provided, which will normally be a
subdivided plane. The script will then create a camera rig
and a light rig with adjustable properties. A sample camera
and a spotlight will be created on each vertex of the
@@ -85,7 +85,7 @@ v0.0.1 - Initial version.
TODO:
* Restore view after primary camera is changed.
* Apply object matrix to normals.
-* Allign to normals, somehow,....
+* Align to normals, somehow,....
* StringProperties with PATH tag, for proper ui.
"""
diff --git a/materials_library_vx/README.txt b/materials_library_vx/README.txt
index 6928992c..62a6a96d 100644
--- a/materials_library_vx/README.txt
+++ b/materials_library_vx/README.txt
@@ -43,8 +43,8 @@ Example: D:\Blender\2.72\scripts\addon\
Updates:
v 0.5.61
-- Libraries arent read on each draw call, only on startup or when added. This fixes potential crashes and is less stressful, but when a library is deleted blender should be restarted.
--Moved the addon from "System" category to "Materials"
+- Libraries aren't read on each draw call, only on startup or when added. This fixes potential crashes and is less stressful, but when a library is deleted blender should be restarted.
+- Moved the addon from "System" category to "Materials"
v 0.5.6
- Create new libraries.
diff --git a/materials_library_vx/__init__.py b/materials_library_vx/__init__.py
index 07131862..dd89127b 100644
--- a/materials_library_vx/__init__.py
+++ b/materials_library_vx/__init__.py
@@ -600,7 +600,7 @@ if mat:
print ("Material", material, force)
#if material:
- #maybe some test cases doesnt return a material, gotta take care of that
+ #maybe some test cases doesn't return a material, gotta take care of that
#i cannot think of any case like that right now
#maybe import linked when the database isnt sync
if context.mode == "EDIT_MESH":
@@ -695,7 +695,7 @@ bpy.ops.wm.save_mainfile(filepath="{3}", check_existing=False, compress=True)
return 'INFO', "Material added."
else:
- print("Save Material Error: Run Blender with administrative priviledges.")
+ print("Save Material Error: Run Blender with administrative privileges.")
return 'WARNING', "There was an error saving the material"
def remove_material(self):
@@ -952,7 +952,7 @@ class MATLIB_OT_operator(Operator):
return {'RUNNING_MODAL'}
return self.execute(context)
- ### TODO: execute doesnt trigger remove
+ ### TODO: execute doesn't trigger remove
def execute(self, context):
success = ""
@@ -1132,7 +1132,7 @@ class MATLIB_PT_vxPanel(Panel):
# matlibProperties.init = False
# matlib.__init__()
- #libaries
+ #libraries
row = layout.row(align=True)
if matlib.current_library:
text = matlib.current_library.shortname
diff --git a/materials_utils/__init__.py b/materials_utils/__init__.py
index ea85a104..5b5cda6f 100644
--- a/materials_utils/__init__.py
+++ b/materials_utils/__init__.py
@@ -1807,7 +1807,7 @@ class VIEW3D_MT_remove_material(Menu):
if c_render_engine("Lux"):
layout.label(text="Sorry, other Menu functions are", icon="INFO")
- layout.label(text="unvailable with Lux Renderer")
+ layout.label(text="unavailable with Lux Renderer")
return
layout.operator("view3d.material_remove_slot", icon='COLOR_GREEN')
@@ -2360,7 +2360,7 @@ class VIEW3D_MT_material_utils_pref(AddonPreferences):
description="Set the type of Add Material menu",
items=(
('STANDARD', "Standard Menu",
- "Material entries in the menu are bellow each other"),
+ "Material entries in the menu are below each other"),
('COLUMNS', "Column Menu",
"Material entries are placed in column blocks"),
('POPUP', "Pop up Menu",
diff --git a/materials_utils/material_converter.py b/materials_utils/material_converter.py
index bf52bec1..c2f36f50 100644
--- a/materials_utils/material_converter.py
+++ b/materials_utils/material_converter.py
@@ -724,7 +724,7 @@ def makeCyclesFromBI(cmat):
createEmissionNodes(cmat, texCoordNode, mainShader, materialOutput)
# Texture coordinates
- # list all nodes conected to outputs
+ # list all nodes connected to outputs
mappingNodes = [link.to_node for output in texCoordNode.outputs for link in output.links]
mappingNodesCount = len(mappingNodes)
diff --git a/materials_utils/materials_cycles_converter.py b/materials_utils/materials_cycles_converter.py
index 13e1e1ec..0ffac4b0 100644
--- a/materials_utils/materials_cycles_converter.py
+++ b/materials_utils/materials_cycles_converter.py
@@ -133,7 +133,7 @@ def BakingText(tex, mode, tex_type=None):
# switch temporarily to 'IMAGE EDITOR', other approaches are not reliable
check_area = False
store_area = bpy.context.area.type
- collect_report("INFO: Temporarly switching context to Image Editor")
+ collect_report("INFO: Temporarily switching context to Image Editor")
try:
bpy.context.area.type = 'IMAGE_EDITOR'
bpy.context.area.spaces[0].image = bpy.data.images["TMP_BAKING"]
@@ -195,7 +195,7 @@ def BakingText(tex, mode, tex_type=None):
def AutoNodeInitiate(active=False, operator=None):
# Checks with bpy.ops.material.check_converter_path
# if it's possible to write in the output path
- # if it passes procedes with calling AutoNode
+ # if it passes proceeds with calling AutoNode
# if CheckImagePath(operator):
check_path = bpy.ops.material.check_converter_path()
@@ -485,7 +485,7 @@ def AutoNode(active=False, operator=None):
tex_node_collect.append(shtext)
sT = True
else:
- collect_report("ERROR: A problem occured with loading an image for {} "
+ collect_report("ERROR: A problem occurred with loading an image for {} "
"(possibly missing)".format(tex.texture.name))
else:
if sc.mat_specials.EXTRACT_PTEX or (sc.mat_specials.EXTRACT_ALPHA and ma_alpha):
diff --git a/measureit/__init__.py b/measureit/__init__.py
index 8c69421a..a030fe73 100644
--- a/measureit/__init__.py
+++ b/measureit/__init__.py
@@ -231,7 +231,7 @@ def register():
Scene.measureit_units = EnumProperty(items=(('1', "Automatic", "Use scene units"),
('2', "Meters", ""),
('3', "Centimeters", ""),
- ('4', "Milimiters", ""),
+ ('4', "Millimeters", ""),
('5', "Feet", ""),
('6', "Inches", "")),
name="Units",
@@ -319,7 +319,7 @@ def register():
default=15, min=6, max=500)
Scene.measureit_debug = BoolProperty(name="Debug",
- description="Display information for debuging"
+ description="Display information for debugging"
" (expand/collapse for enabling or disabling)"
" this information is only renderered for "
"selected objects",
diff --git a/measureit/measureit_geometry.py b/measureit/measureit_geometry.py
index 46e930c3..3b2e0186 100644
--- a/measureit/measureit_geometry.py
+++ b/measureit/measureit_geometry.py
@@ -1431,7 +1431,7 @@ def format_distance(fmt, units, value, factor=1):
d_cm = value * (100 ** factor)
tx_dist = fmt % d_cm
# ------------------------
- # Units milimiters
+ # Units millimeters
# ------------------------
elif units == "4":
if hide_units is False:
diff --git a/measureit/measureit_main.py b/measureit/measureit_main.py
index 53e2a91d..2ea41da1 100644
--- a/measureit/measureit_main.py
+++ b/measureit/measureit_main.py
@@ -256,7 +256,7 @@ class MeasureitProperties(PropertyGroup):
description="Create full circunference",
default=False)
glarc_extrad = BoolProperty(name="arcextrad",
- description="Adapt radio lengh to arc line",
+ description="Adapt radio length to arc line",
default=True)
glarc_rad = BoolProperty(name="arc rad",
description="Show arc radius",
diff --git a/mesh_auto_mirror.py b/mesh_auto_mirror.py
index 032bff37..63952b7f 100644
--- a/mesh_auto_mirror.py
+++ b/mesh_auto_mirror.py
@@ -1,6 +1,6 @@
# ########################################################### #
# An simple add-on to auto cut in two and mirror an object #
-# Actualy partialy uncommented (see further version) #
+# Actually partially uncommented (see further version) #
# Author: Lapineige #
# License: GPL v3 #
# ########################################################### #
diff --git a/mesh_bsurfaces.py b/mesh_bsurfaces.py
index 9020dc94..ffe16e04 100644
--- a/mesh_bsurfaces.py
+++ b/mesh_bsurfaces.py
@@ -454,7 +454,7 @@ class GPENCIL_OT_SURFSK_add_surface(Operator):
finish_while = False
while True:
- # if not it'll pass the p_idx as an index bellow and crash
+ # if not it'll pass the p_idx as an index below and crash
if p_idx < len(surface_splines[sp_idx].bezier_points):
p_co = surface_splines[sp_idx].bezier_points[p_idx].co
new_dist = (prev_p_co - p_co).length
@@ -2708,7 +2708,7 @@ class GPENCIL_OT_SURFSK_add_surface(Operator):
# Get the coords of all points on first loop-U, for later comparison with its
# subdivided version, to know which points of the loops-U are crossed by the
- # original strokes. The indices wiil be the same for the other loops-U
+ # original strokes. The indices will be the same for the other loops-U
if self.loops_on_strokes:
coords_loops_U_control_points = []
for p in ob_ctrl_pts.data.splines[0].bezier_points:
@@ -2787,7 +2787,7 @@ class GPENCIL_OT_SURFSK_add_surface(Operator):
# Make a dictionary with the number of the edge, in the selected chain V, corresponding to each stroke
edge_order_number_for_splines = {}
if self.selection_V_exists:
- # For two-connected selections add a first hypothetic stroke at the begining.
+ # For two-connected selections add a first hypothetic stroke at the beginning.
if selection_type == "TWO_CONNECTED":
edge_order_number_for_splines[0] = 0
@@ -2973,7 +2973,7 @@ class GPENCIL_OT_SURFSK_add_surface(Operator):
surface_splines_parsed[0][i] = verts_middle_position_co
surface_splines_parsed[len(surface_splines_parsed) - 1][i] = verts_middle_position_co
- # Delete object with control points and object from grease pencil convertion
+ # Delete object with control points and object from grease pencil conversion
bpy.ops.object.select_all('INVOKE_REGION_WIN', action='DESELECT')
ob_ctrl_pts.select = True
bpy.context.scene.objects.active = ob_ctrl_pts
@@ -3215,7 +3215,7 @@ class GPENCIL_OT_SURFSK_add_surface(Operator):
bpy.ops.object.editmode_toggle('INVOKE_REGION_WIN')
# Check if the number of points of each curve has at least the number of points
# of minimum_points_num, which is a bit more than the face-loops limit.
- # If not, subdivide to reach at least that number of ponts
+ # If not, subdivide to reach at least that number of points
for i in range(len(self.temporary_curve.data.splines)):
sp = self.temporary_curve.data.splines[i]
@@ -3254,7 +3254,7 @@ class GPENCIL_OT_SURFSK_add_surface(Operator):
# Check if the number of points of each curve has at least the number of points
# of minimum_points_num, which is a bit more than the face-loops limit.
- # If not, subdivide to reach at least that number of ponts
+ # If not, subdivide to reach at least that number of points
for i in range(len(self.temporary_curve.data.splines)):
sp = self.temporary_curve.data.splines[i]
@@ -3369,7 +3369,7 @@ class GPENCIL_OT_SURFSK_add_surface(Operator):
bpy.context.user_preferences.edit.use_global_undo = self.initial_global_undo_state
if created_faces_count == 0:
- self.report({'WARNING'}, "There aren't any strokes attatched to the object")
+ self.report({'WARNING'}, "There aren't any strokes attached to the object")
return {"CANCELLED"}
else:
return {"FINISHED"}
@@ -3391,7 +3391,7 @@ class GPENCIL_OT_SURFSK_add_surface(Operator):
return{"CANCELLED"}
elif self.strokes_type == "NO_STROKES":
- self.report({'WARNING'}, "There aren't any strokes attatched to the object")
+ self.report({'WARNING'}, "There aren't any strokes attached to the object")
return{"CANCELLED"}
elif self.strokes_type == "CURVE_WITH_NON_BEZIER_SPLINES":
@@ -3463,7 +3463,7 @@ class GPENCIL_OT_SURFSK_edit_strokes(Operator):
return{"CANCELLED"}
elif self.strokes_type == "NO_STROKES" or self.strokes_type == "SELECTION_ALONE":
- self.report({'WARNING'}, "There aren't any strokes attatched to the object")
+ self.report({'WARNING'}, "There aren't any strokes attached to the object")
return{"CANCELLED"}
else:
@@ -3524,7 +3524,7 @@ class CURVE_OT_SURFSK_reorder_splines(Operator):
# has a limit of 100 subdivisions per iteration
for x in range(round(minimum_points_num / 100)):
# Check if the number of points of each curve has at least the number of points
- # of minimum_points_num. If not, subdivide to reach at least that number of ponts
+ # of minimum_points_num. If not, subdivide to reach at least that number of points
for i in range(len(curves_duplicate_1.data.splines)):
sp = curves_duplicate_1.data.splines[i]
diff --git a/mesh_carver.py b/mesh_carver.py
index a9320aa8..74624abd 100644
--- a/mesh_carver.py
+++ b/mesh_carver.py
@@ -2893,7 +2893,7 @@ class Carver(bpy.types.Operator):
return {'FINISHED'}
def cancel(self, context):
- # Note: used to prevent memory leaks on quiting Blender while the modal operator
+ # Note: used to prevent memory leaks on quitting Blender while the modal operator
# is still running, gets called on return {"CANCELLED"}
bpy.types.SpaceView3D.draw_handler_remove(self._handle, 'WINDOW')
diff --git a/mesh_extra_tools/__init__.py b/mesh_extra_tools/__init__.py
index 3ea99e58..8c7ec764 100644
--- a/mesh_extra_tools/__init__.py
+++ b/mesh_extra_tools/__init__.py
@@ -212,7 +212,7 @@ class EditToolsPanel(Panel):
EDGEDROP = scene.mesh_extra_tools.UiTabDrop[1]
FACEDROP = scene.mesh_extra_tools.UiTabDrop[2]
UTILSDROP = scene.mesh_extra_tools.UiTabDrop[3]
- # Change icons depending on the bool state (complient with the rest of the UI)
+ # Change icons depending on the bool state (compliant with the rest of the UI)
icon_active_0 = "TRIA_RIGHT" if not VERTDROP else "TRIA_DOWN"
icon_active_1 = "TRIA_RIGHT" if not EDGEDROP else "TRIA_DOWN"
icon_active_2 = "TRIA_RIGHT" if not FACEDROP else "TRIA_DOWN"
diff --git a/mesh_extra_tools/mesh_edge_roundifier.py b/mesh_extra_tools/mesh_edge_roundifier.py
index de3eb2bf..609d0df7 100644
--- a/mesh_extra_tools/mesh_edge_roundifier.py
+++ b/mesh_extra_tools/mesh_edge_roundifier.py
@@ -76,7 +76,7 @@ def debugPrintNew(debugs, *text):
print(row)
-# Geometry and math calcualtion methods #
+# Geometry and math calculation methods #
class CalculationHelper:
@@ -403,7 +403,7 @@ class EdgeRoundifier(Operator):
items=workModeItems,
name="",
default='Normal',
- description="Normal work with the current given paramaters set by the user\n"
+ description="Normal work with the current given parameters set by the user\n"
"Reset - changes back the parameters to their default values"
)
entryModeItems = [("Radius", "Radius", ""), ("Angle", "Angle", "")]
diff --git a/mesh_extra_tools/mesh_edges_length.py b/mesh_extra_tools/mesh_edges_length.py
index 21276232..0c1f3cb4 100644
--- a/mesh_extra_tools/mesh_edges_length.py
+++ b/mesh_extra_tools/mesh_edges_length.py
@@ -60,7 +60,7 @@ class LengthSet(Operator):
bl_idname = "object.mesh_edge_length_set"
bl_label = "Set edge length"
bl_description = ("Change one selected edge length by a specified target,\n"
- "existing lenght and different modes\n"
+ "existing length and different modes\n"
"Note: works only with Edges that not share a vertex")
bl_options = {'REGISTER', 'UNDO'}
@@ -68,35 +68,35 @@ class LengthSet(Operator):
name="Original length",
options={'HIDDEN'},
)
- set_lenght_type = EnumProperty(
+ set_length_type = EnumProperty(
items=[
('manual', "Manual",
- "Input manually the desired Target Lenght"),
- ('existing', "Existing Lenght",
+ "Input manually the desired Target Length"),
+ ('existing', "Existing Length",
"Use existing geometry Edges' characteristics"),
],
name="Set Type of Input",
)
target_length = FloatProperty(
name="Target Length",
- description="Input a value for an Edges Lenght target",
+ description="Input a value for an Edges Length target",
default=1.00,
unit='LENGTH',
precision=5
)
- existing_lenght = EnumProperty(
+ existing_length = EnumProperty(
items=[
('min', "Shortest",
"Set all to shortest Edge of selection"),
('max', "Longest",
"Set all to the longest Edge of selection"),
('average', "Average",
- "Set all to the average Edge lenght of selection"),
+ "Set all to the average Edge length of selection"),
('active', "Active",
"Set all to the active Edge's one\n"
"Needs a selection to be done in Edge Select mode"),
],
- name="Existing lenght"
+ name="Existing length"
)
mode = EnumProperty(
items=[
@@ -119,7 +119,7 @@ class LengthSet(Operator):
)
originary_edge_length_dict = {}
- edge_lenghts = []
+ edge_lengths = []
selected_edges = ()
@classmethod
@@ -132,14 +132,14 @@ class LengthSet(Operator):
def draw(self, context):
layout = self.layout
- layout.label("Original Active lenght is: {:.3f}".format(self.old_length))
+ layout.label("Original Active length is: {:.3f}".format(self.old_length))
layout.label("Input Mode:")
- layout.prop(self, "set_lenght_type", expand=True)
- if self.set_lenght_type == 'manual':
+ layout.prop(self, "set_length_type", expand=True)
+ if self.set_length_type == 'manual':
layout.prop(self, "target_length")
else:
- layout.prop(self, "existing_lenght", text="")
+ layout.prop(self, "existing_length", text="")
layout.label("Mode:")
layout.prop(self, "mode", text="")
@@ -147,14 +147,14 @@ class LengthSet(Operator):
layout.label("Resize Behavior:")
layout.prop(self, "behaviour", text="")
- def get_existing_edge_lenght(self, bm):
- if self.existing_lenght != "active":
- if self.existing_lenght == "min":
- return min(self.edge_lenghts)
- if self.existing_lenght == "max":
- return max(self.edge_lenghts)
- elif self.existing_lenght == "average":
- return sum(self.edge_lenghts) / float(len(self.selected_edges))
+ def get_existing_edge_length(self, bm):
+ if self.existing_length != "active":
+ if self.existing_length == "min":
+ return min(self.edge_lengths)
+ if self.existing_length == "max":
+ return max(self.edge_lengths)
+ elif self.existing_length == "average":
+ return sum(self.edge_lengths) / float(len(self.selected_edges))
else:
bm.edges.ensure_lookup_table()
active_edge_length = None
@@ -168,7 +168,7 @@ class LengthSet(Operator):
return 0.0
def invoke(self, context, event):
- wm = context.window_manager
+ wm = context.window_managerlength
obj = context.edit_object
bm = bmesh.from_edit_mesh(obj.data)
@@ -197,7 +197,7 @@ class LengthSet(Operator):
# warning, it's a constant !
verts_index = ''.join((str(edge.verts[0].index), str(edge.verts[1].index)))
self.originary_edge_length_dict[verts_index] = vector
- self.edge_lenghts.append(vector.length)
+ self.edge_lengths.append(vector.length)
self.old_length = vector.length
else:
self.report({'ERROR'}, _error_message)
@@ -233,21 +233,21 @@ class LengthSet(Operator):
# what we should see in original length dialog field
self.old_length = vector.length
- if self.set_lenght_type == 'manual':
+ if self.set_length_type == 'manual':
vector.length = abs(self.target_length)
else:
- get_lenghts = self.get_existing_edge_lenght(bm)
+ get_lengths = self.get_existing_edge_length(bm)
# check for edit mode
- if not get_lenghts:
+ if not get_lengths:
self.report({'WARNING'},
"Operation Cancelled. "
"Active Edge could not be determined (needs selection in Edit Mode)")
return {'CANCELLED'}
- vector.length = get_lenghts
+ vector.length = get_lengths
if vector.length == 0.0:
- self.report({'ERROR'}, "Operation cancelled. Target lenght is set to zero")
+ self.report({'ERROR'}, "Operation cancelled. Target length is set to zero")
return {'CANCELLED'}
center_vector = get_center_vector((edge.verts[0].co, edge.verts[1].co))
diff --git a/mesh_extra_tools/mesh_edgetools.py b/mesh_extra_tools/mesh_edgetools.py
index cc8b2dc8..cfd6c75e 100644
--- a/mesh_extra_tools/mesh_edgetools.py
+++ b/mesh_extra_tools/mesh_edgetools.py
@@ -391,7 +391,7 @@ sum of the angles will be less.
"""
# @todo
# - Figure out how to deal with n-gons
-# How the heck is a face with 8 verts definied mathematically?
+# How the heck is a face with 8 verts defined mathematically?
# How do I then find the intersection point of a line with said vert?
# How do I know if that point is "inside" all the verts?
# I have no clue, and haven't been able to find anything on it so far
@@ -1162,7 +1162,7 @@ class Shaft(Operator):
)
flip = BoolProperty(
name="Flip Second Edge",
- description="Flip the percieved direction of the second edge",
+ description="Flip the perceived direction of the second edge",
default=False
)
radius = FloatProperty(
@@ -1255,7 +1255,7 @@ class Shaft(Operator):
# the user has changed selection.
# We then need to make sure that the active object really is an edge
# (robustness check)
- # Finally, if the active edge is not the inital one, we flip them
+ # Finally, if the active edge is not the initial one, we flip them
# and have the GUI reflect that
if self.last_edge == self.edge:
if isinstance(bm.select_history.active, bmesh.types.BMEdge):
@@ -1336,20 +1336,20 @@ class Shaft(Operator):
for i in range(len(verts) - 2):
init_vec = distance_point_line(verts[i + 2].co, verts[0].co, verts[1].co)
co = init_vec + verts[i + 2].co
- # These will be rotated about the orgin so will need to be shifted:
+ # These will be rotated about the origin so will need to be shifted:
for j in range(numV):
verts_out.append(co - (matrices[j] * init_vec))
elif self.shaftType == 1:
for i in verts:
init_vec = distance_point_line(i.co, active.verts[0].co, active.verts[1].co)
co = init_vec + i.co
- # These will be rotated about the orgin so will need to be shifted:
+ # These will be rotated about the origin so will need to be shifted:
for j in range(numV):
verts_out.append(co - (matrices[j] * init_vec))
# Else if a line and a point was selected:
elif self.shaftType == 2:
init_vec = distance_point_line(verts[2].co, verts[0].co, verts[1].co)
- # These will be rotated about the orgin so will need to be shifted:
+ # These will be rotated about the origin so will need to be shifted:
verts_out = [
(verts[i].co - (matrices[j] * init_vec)) for i in range(2) for j in range(numV)
]
@@ -1368,7 +1368,7 @@ class Shaft(Operator):
else:
vec = verts[0].co + Vector((0, self.radius, 0))
init_vec = distance_point_line(vec, verts[0].co, verts[1].co)
- # These will be rotated about the orgin so will need to be shifted:
+ # These will be rotated about the origin so will need to be shifted:
verts_out = [
(verts[i].co - (matrices[j] * init_vec)) for i in range(2) for j in range(numV)
]
@@ -1453,7 +1453,7 @@ class Slice(Operator):
make_copy = BoolProperty(
name="Make Copy",
- description="Make new vertices at intersection points instead of spliting the edge",
+ description="Make new vertices at intersection points instead of splitting the edge",
default=False
)
rip = BoolProperty(
diff --git a/mesh_extra_tools/mesh_fastloop.py b/mesh_extra_tools/mesh_fastloop.py
index 8e56f7d6..61e9b0d2 100644
--- a/mesh_extra_tools/mesh_fastloop.py
+++ b/mesh_extra_tools/mesh_fastloop.py
@@ -50,8 +50,8 @@ Bartius Crouch (Crouch) - http://sites.google.com/site/bartiuscrouch/
Dealga McArdle (zeffii) - http://www.digitalaphasia.com
Version history:-
-v0.16 - Ammended script for compatibility with recent API changes
-v0.15 - Ammended script meta information and button rendering code for
+v0.16 - Amended script for compatibility with recent API changes
+v0.15 - Amended script meta information and button rendering code for
compatibility with recent API changes
v0.14 - Modal operator
v0.13 - Initial revision
diff --git a/mesh_extra_tools/mesh_help.py b/mesh_extra_tools/mesh_help.py
index 51341223..5df85600 100644
--- a/mesh_extra_tools/mesh_help.py
+++ b/mesh_extra_tools/mesh_help.py
@@ -3,7 +3,7 @@
# Note: this script contains the Help Operator used by the various functions
# Usage: add a key string to the dictionary in this file with the list of strings to pass to labels
# and call the operator from the add-on UI draw function by passing the help_ids parameter
-# If the size of the pop-up if needed, define popup_size in the call by using varibles
+# If the size of the pop-up if needed, define popup_size in the call by using variables
# Example (with using the variable props):
# props = layout.row("mesh.extra_tools_help")
# props.help_ids = "default"
diff --git a/mesh_extra_tools/mesh_pen_tool.py b/mesh_extra_tools/mesh_pen_tool.py
index fbdc450b..f57e080a 100644
--- a/mesh_extra_tools/mesh_pen_tool.py
+++ b/mesh_extra_tools/mesh_pen_tool.py
@@ -280,7 +280,7 @@ class pen_tool_properties(PropertyGroup):
)
b1 = BoolProperty(
name="Edge Length",
- description="Display All Lenghts of Drawn Edges",
+ description="Display All Lengths of Drawn Edges",
default=False
)
b2 = BoolProperty(
diff --git a/mesh_extra_tools/mesh_select_tools/mesh_select_by_edge_length.py b/mesh_extra_tools/mesh_select_tools/mesh_select_by_edge_length.py
index b77f9750..3ae489d5 100644
--- a/mesh_extra_tools/mesh_select_tools/mesh_select_by_edge_length.py
+++ b/mesh_extra_tools/mesh_select_tools/mesh_select_by_edge_length.py
@@ -129,7 +129,7 @@ class Select_by_edge_length():
bpy.ops.object.mode_set(mode='EDIT')
- # Get the lenght of an edge, by giving this function all verts (2) in the edge
+ # Get the length of an edge, by giving this function all verts (2) in the edge
def getEdgeLength(self, verts):
vec1 = self.ob.data.vertices[verts[0]].co
@@ -199,7 +199,7 @@ class Select_init(bpy.types.Operator):
edgeSize = EnumProperty(
items=sizes,
name="Edge comparison",
- description="Choose the relation to set edge lenght",
+ description="Choose the relation to set edge length",
default='EQUAL'
)
extend = BoolProperty(
diff --git a/mesh_extra_tools/mesh_vertex_chamfer.py b/mesh_extra_tools/mesh_vertex_chamfer.py
index d6fd8080..62383c38 100644
--- a/mesh_extra_tools/mesh_vertex_chamfer.py
+++ b/mesh_extra_tools/mesh_vertex_chamfer.py
@@ -53,7 +53,7 @@ class VertexChamfer(Operator):
)
relative = BoolProperty(
name="Relative",
- description="If Relative, Champfer size is relative to the edge lenght",
+ description="If Relative, Champfer size is relative to the edge length",
default=True
)
dissolve = BoolProperty(
diff --git a/mesh_extra_tools/pkhg_faces.py b/mesh_extra_tools/pkhg_faces.py
index ec698e55..08faf560 100644
--- a/mesh_extra_tools/pkhg_faces.py
+++ b/mesh_extra_tools/pkhg_faces.py
@@ -749,7 +749,7 @@ def prepare(self, context, remove_start_faces=True):
def make_one_inset(self, context, bm=None, ringvectors=None, center=None,
normal=None, t=None, base_height=0):
- # a face will get 'inserted' faces to create (normaly) a hole if t is > 0 and < 1)
+ # a face will get 'inserted' faces to create (normally) a hole if t is > 0 and < 1)
tmp = []
for el in ringvectors:
diff --git a/mesh_inset/geom.py b/mesh_inset/geom.py
index dce2a818..4d3e652b 100644
--- a/mesh_inset/geom.py
+++ b/mesh_inset/geom.py
@@ -454,7 +454,7 @@ class TransformMatrix(object):
[ a b 0 ]
[ c d 0 ]
[ e f 1 ]
- and coordinate tranformation is defined by:
+ and coordinate transformation is defined by:
[x' y' 1] = [x y 1] x TransformMatrix
Attributes:
@@ -501,7 +501,7 @@ class TransformMatrix(object):
self.f = newf
def Apply(self, pt):
- """Return the result of applying this tranform to pt = (x,y).
+ """Return the result of applying this transform to pt = (x,y).
Arguments:
(x, y) : (float, float)
diff --git a/mesh_inset/model.py b/mesh_inset/model.py
index a3eb2aac..446a7c4c 100644
--- a/mesh_inset/model.py
+++ b/mesh_inset/model.py
@@ -413,8 +413,8 @@ def _GetFaceGraph(faces, edges, vtoe, points):
face_adj = [[] for i in range(len(faces))]
is_interior_edge = [False] * len(edges)
for e, ((vs, ve), f) in enumerate(edges):
- for othere in vtoe[ve]:
- ((_, we), g) = edges[othere]
+ for other in vtoe[ve]:
+ ((_, we), g) = edges[other]
if we == vs:
# face g is adjacent to face f
# TODO: angle check
diff --git a/mesh_inset/triquad.py b/mesh_inset/triquad.py
index 0c4fc84a..b94da8b0 100644
--- a/mesh_inset/triquad.py
+++ b/mesh_inset/triquad.py
@@ -520,7 +520,7 @@ def _ReveresedEdges(tris, td, bord, points):
def _IsReversed(e, td, points):
"""If e=(a,b) is a non-border edge, with left-face triangle tl and
right-face triangle tr, then it is 'reversed' if the circle through
- a, b, and (say) the other vertex of tl containts the other vertex of tr.
+ a, b, and (say) the other vertex of tl contains the other vertex of tr.
td is a _TriDict, for finding triangles containing edges, and points
gives the coordinates for vertex indices used in edges."""
diff --git a/mesh_tiny_cad/VTX.py b/mesh_tiny_cad/VTX.py
index 5cdb2fcf..c06184e8 100644
--- a/mesh_tiny_cad/VTX.py
+++ b/mesh_tiny_cad/VTX.py
@@ -122,7 +122,7 @@ def do_vtx_if_appropriate(bm, edges):
if not coplanar:
return {'NON_PLANAR_EDGES'}
- # point must lie on an edge or the virtual extention of an edge
+ # point must lie on an edge or the virtual extension of an edge
bm = perform_vtx(bm, point, edges, (p1, p2, p3, p4), vertex_indices)
return bm
diff --git a/mesh_tissue/colors_groups_exchanger.py b/mesh_tissue/colors_groups_exchanger.py
index 6a4ab1a9..9b48b2fa 100644
--- a/mesh_tissue/colors_groups_exchanger.py
+++ b/mesh_tissue/colors_groups_exchanger.py
@@ -18,10 +18,10 @@
# ------------------------- COLORS / GROUPS EXCHANGER ------------------------ #
# #
-# Vertex Color to Vertex Group allow you to convert colors channles to weight #
+# Vertex Color to Vertex Group allow you to convert colors channels to weight #
# maps. #
# The main purpose is to use vertex colors to store information when importing #
-# files from other softwares. The script works with the active vertex color #
+# files from other software. The script works with the active vertex color #
# slot. #
# For use the command "Vertex Clors to Vertex Groups" use the search bar #
# (space bar). #
diff --git a/mesh_tissue/tessellate_numpy.py b/mesh_tissue/tessellate_numpy.py
index e80cd39b..57b80b5e 100644
--- a/mesh_tissue/tessellate_numpy.py
+++ b/mesh_tissue/tessellate_numpy.py
@@ -1196,7 +1196,7 @@ class settings_tessellate(Operator):
icon="BLANK1")
layout.label(text="Settings could not be altered anymore",
icon="BLANK1")
- layout.label(text="Please re-run Tesselate with two new selected objects",
+ layout.label(text="Please re-run Tessellate with two new selected objects",
icon="BLANK1")
return
diff --git a/mocap/__init__.py b/mocap/__init__.py
index 27b166ab..d2a1c57b 100644
--- a/mocap/__init__.py
+++ b/mocap/__init__.py
@@ -787,7 +787,7 @@ class OBJECT_OT_UnbakeMocapConstraints(bpy.types.Operator):
class OBJECT_OT_UpdateMocapConstraints(bpy.types.Operator):
#Operator to update all post-retarget fixes, similar to update dependencies on drivers
#Needed because python properties lack certain callbacks and some fixes take a while to recalculate.
- """Update all post-retarget fixes (neccesary to take under """ \
+ """Update all post-retarget fixes (necessary to take under """ \
"""consideration changes to armature object or pose)"""
bl_idname = "mocap.updateconstraints"
bl_label = "Update Mocap Fixes"
diff --git a/mocap/mocap_constraints.py b/mocap/mocap_constraints.py
index d263dfad..3d3e4a60 100644
--- a/mocap/mocap_constraints.py
+++ b/mocap/mocap_constraints.py
@@ -289,7 +289,7 @@ def setConstraint(m_constraint, context):
if m_constraint.type == "floor" and m_constraint.targetMesh:
real_constraint.mute = True
real_constraint.owner_space = "WORLD"
- #calculate the positions thoughout the range
+ #calculate the positions throughout the range
s, e = m_constraint.s_frame, m_constraint.e_frame
s_in, s_out = m_constraint.smooth_in, m_constraint.smooth_out
s -= s_in
@@ -399,7 +399,7 @@ def bakeAllConstraints(obj, s_frame, e_frame, bones):
locBake(s_frame, e_frame, simpleBake)
-#Calls the baking function and decativates releveant constraints
+#Calls the baking function and decativates relevant constraints
def bakeConstraints(context):
obj = context.active_object
bones = obj.pose.bones
diff --git a/mocap/mocap_tools.py b/mocap/mocap_tools.py
index 3f910411..5f9c2a2d 100644
--- a/mocap/mocap_tools.py
+++ b/mocap/mocap_tools.py
@@ -232,12 +232,12 @@ def autoloop_anim():
context.scene.frame_end = flm
-#simplifyCurves: performes the bulk of the samples to bezier conversion.
+#simplifyCurves: performs the bulk of the samples to bezier conversion.
#IN: curveGroup - which can be a collection of singleFcurves, or grouped (via nested lists) .
# error - threshold of permittable error (max distance) of the new beziers to the original data
# reparaError - threshold of error where we should try to fix the parameterization rather than split the existing curve. > error, usually by a small constant factor for best performance.
-# maxIterations - maximum number of iterations of reparameterizations we should attempt. (Newton-Rahpson is not guarenteed to converge, so this is needed).
-# group_mode - boolean, indicating wether we should place bezier keyframes on the same x (frame), or optimize each individual curve.
+# maxIterations - maximum number of iterations of reparameterizations we should attempt. (Newton-Rahpson is not guaranteed to converge, so this is needed).
+# group_mode - boolean, indicating whether we should place bezier keyframes on the same x (frame), or optimize each individual curve.
#OUT: None. Deletes the existing curves and creates the new beziers.
def simplifyCurves(curveGroup, error, reparaError, maxIterations, group_mode):
#Calculates the unit tangent of point v
@@ -398,7 +398,7 @@ def simplifyCurves(curveGroup, error, reparaError, maxIterations, group_mode):
sumVec += (bez[i + 1] - bez[i]) * bernsteinPoly(n - 1, i, t)
return sumVec
- #use Newton-Raphson to find a better paramterization of datapoints,
+ #use Newton-Raphson to find a better parameterization of datapoints,
#one that minimizes the distance (or error)
# between bezier and original data.
def newtonRaphson(data_pts, s, e, bez):
@@ -531,7 +531,7 @@ def simplifyCurves(curveGroup, error, reparaError, maxIterations, group_mode):
# sel_opt- either "sel" (selected) or "all" for which curves to effect
# error- maximum error allowed, in fraction (20% = 0.0020, which is the default),
# i.e. divide by 10000 from percentage wanted.
-# group_mode- boolean, to analyze each curve seperately or in groups,
+# group_mode- boolean, to analyze each curve separately or in groups,
# where a group is all curves that effect the same property/RNA path
def fcurves_simplify(context, obj, sel_opt="all", error=0.002, group_mode=True):
# main vars
@@ -637,7 +637,7 @@ def denoise(obj, fcurves):
fcurve.update()
-# Recieves armature, and rotations all bones by 90 degrees along the X axis
+# Receives armature, and rotations all bones by 90 degrees along the X axis
# This fixes the common axis issue BVH files have when importing.
# IN: Armature (bpy.types.Armature)
def rotate_fix_armature(arm_data):
@@ -683,7 +683,7 @@ def scale_fix_armature(performer_obj, enduser_obj):
#Guess Mapping
-#Given a performer and enduser armature, attempts to guess the hiearchy mapping
+#Given a performer and enduser armature, attempts to guess the hierarchy mapping
def guessMapping(performer_obj, enduser_obj):
perf_bones = performer_obj.data.bones
end_bones = enduser_obj.data.bones
@@ -702,7 +702,7 @@ def guessMapping(performer_obj, enduser_obj):
return "", bone
def nameMatch(bone_a, bone_b):
- # nameMatch - recieves two strings, returns 2 if they are relatively the same, 1 if they are the same but R and L and 0 if no match at all
+ # nameMatch - receives two strings, returns 2 if they are relatively the same, 1 if they are the same but R and L and 0 if no match at all
side_a, noside_a = findBoneSide(bone_a)
side_b, noside_b = findBoneSide(bone_b)
if side_a == side_b:
diff --git a/mocap/retarget.py b/mocap/retarget.py
index d0b203cd..c979c00b 100644
--- a/mocap/retarget.py
+++ b/mocap/retarget.py
@@ -61,8 +61,8 @@ def loadMapping(perf_arm, end_arm):
perf_arm.bones[perf_bone.name].map = end_bone.name
#creation of intermediate armature
-# the intermediate armature has the hiearchy of the end user,
-# does not have rotation inheritence
+# the intermediate armature has the hierarchy of the end user,
+# does not have rotation inheritance
# and bone roll is identical to the performer
# its purpose is to copy over the rotations
# easily while concentrating on the hierarchy changes
@@ -92,7 +92,7 @@ def createIntermediate(performer_obj, enduser_obj, root, s_frame, e_frame, scene
lerp_matrix = first_mat.lerp(next_mat, 0.5)
return lerp_matrix
- #determines the type of hierachy change needed and calls the
+ #determines the type of hierarchy change needed and calls the
#right function
def retargetPerfToInter(inter_bone):
if inter_bone.bone.reverseMap:
@@ -176,7 +176,7 @@ def retargetEnduser(inter_obj, enduser_obj, root, s_frame, e_frame, scene, step)
inter_bones = inter_obj.pose.bones
end_bones = enduser_obj.pose.bones
- #Basic "visual baking" function, for transfering rotations from intermediate to end user
+ #Basic "visual baking" function, for transferring rotations from intermediate to end user
def bakeTransform(end_bone):
src_bone = inter_bones[end_bone.name]
trg_bone = end_bone
@@ -219,7 +219,7 @@ def retargetEnduser(inter_obj, enduser_obj, root, s_frame, e_frame, scene, step)
end_bone.keyframe_insert("location")
bakeTransform(end_bone)
-#recieves the performer feet bones as a variable
+#receives the performer feet bones as a variable
# by "feet" I mean those bones that have plants
# (they don't move, despite root moving) somewhere in the animation.
diff --git a/modules/cycles_shader_compat.py b/modules/cycles_shader_compat.py
index c85ba667..092dd744 100644
--- a/modules/cycles_shader_compat.py
+++ b/modules/cycles_shader_compat.py
@@ -356,7 +356,7 @@ class CyclesShaderWrapper():
return node_map
- # note, all ***_mapping_set() functions currenly work the same way
+ # note, all ***_mapping_set() functions currently work the same way
# (only with different image arg), could generalize.
@staticmethod
diff --git a/modules/rna_manual_reference.py b/modules/rna_manual_reference.py
index 08f097a7..6f7903ef 100644
--- a/modules/rna_manual_reference.py
+++ b/modules/rna_manual_reference.py
@@ -1,4 +1,4 @@
-# Do not edit this file. This file is auto genereated from rna_manual_reference_updater.py
+# Do not edit this file. This file is auto generated from rna_manual_reference_updater.py
import bpy
diff --git a/netrender/js/jquery.js b/netrender/js/jquery.js
index 8ccd0ea7..57692314 100644
--- a/netrender/js/jquery.js
+++ b/netrender/js/jquery.js
@@ -2278,7 +2278,7 @@ jQuery.fn.extend({
classNames = value.split( rspace );
while ( (className = classNames[ i++ ]) ) {
- // check each className given, space seperated list
+ // check each className given, space separated list
state = isBool ? state : !self.hasClass( className );
self[ state ? "addClass" : "removeClass" ]( className );
}
@@ -3868,7 +3868,7 @@ var chunker = /((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[
rNonWord = /\W/;
// Here we check if the JavaScript engine is using some sort of
-// optimization where it does not always call our comparision
+// optimization where it does not always call our comparison
// function. If that is the case, discard the hasDuplicate value.
// Thus far that includes Google Chrome.
[0, 0].sort(function() {
@@ -4180,7 +4180,7 @@ Sizzle.error = function( msg ) {
};
/**
- * Utility function for retreiving the text value of an array of DOM nodes
+ * Utility function for retrieving the text value of an array of DOM nodes
* @param {Array|Element} elem
*/
var getText = Sizzle.getText = function( elem ) {
@@ -7770,7 +7770,7 @@ function ajaxConvert( s, response ) {
for ( i = 1; i < length; i++ ) {
// Create converters map
- // with lowercased keys
+ // with lowercase keys
if ( i === 1 ) {
for ( key in s.converters ) {
if ( typeof key === "string" ) {
@@ -8111,7 +8111,7 @@ if ( jQuery.support.ajax ) {
xml;
// Firefox throws exceptions when accessing properties
- // of an xhr when a network error occured
+ // of an xhr when a network error occurred
// http://helpful.knobs-dials.com/index.php/Component_returned_failure_code:_0x80040111_(NS_ERROR_NOT_AVAILABLE)
try {
diff --git a/netrender/js/netrender-widget.js b/netrender/js/netrender-widget.js
index b69aadfe..66995389 100644
--- a/netrender/js/netrender-widget.js
+++ b/netrender/js/netrender-widget.js
@@ -105,7 +105,7 @@ function createPanelwidget(parent, name, header, content) {
/*
* create a jquery tabed widget
* param;
- * parent (string): parent elemenet selector in form of '#name'
+ * parent (string): parent element selector in form of '#name'
* name (string ): name of the widget
* tabs_descriptions: array of object { name:"tabs-1", f_content: function for display tab content}
* f_content= function(name){} where name is the tab name
diff --git a/netrender/master.py b/netrender/master.py
index 92c46031..e9c76d5c 100644
--- a/netrender/master.py
+++ b/netrender/master.py
@@ -123,7 +123,7 @@ class MRenderJob(netrender.model.RenderJob):
self.chunks = info_map["chunks"]
def testStart(self):
- # Don't test files for versionned jobs
+ # Don't test files for versioned jobs
if not self.version_info:
for f in self.files:
if not f.test():
diff --git a/netrender/ui.py b/netrender/ui.py
index 7f65163f..c5c22329 100644
--- a/netrender/ui.py
+++ b/netrender/ui.py
@@ -422,7 +422,7 @@ class NetRenderSettings(bpy.types.PropertyGroup):
default = False)
NetRenderSettings.cert_path = StringProperty(
name="CertPath",
- description="Path to ssl certifcate",
+ description="Path to ssl certificate",
maxlen = 128,
default = "",
subtype='FILE_PATH')
diff --git a/node_wrangler.py b/node_wrangler.py
index a8cd6646..6ccf2ecd 100644
--- a/node_wrangler.py
+++ b/node_wrangler.py
@@ -1049,7 +1049,7 @@ class NWNodeWrangler(bpy.types.AddonPreferences):
("NEVER", "Never", "Never collapse the new merge nodes")
),
default='NON_SHADER',
- description="When merging nodes with the Ctrl+Numpad0 hotkey (and similar) specifiy whether to collapse them or show the full node with options expanded")
+ description="When merging nodes with the Ctrl+Numpad0 hotkey (and similar) specify whether to collapse them or show the full node with options expanded")
merge_position = EnumProperty(
name="Mix Node Position",
items=(
@@ -1057,7 +1057,7 @@ class NWNodeWrangler(bpy.types.AddonPreferences):
("BOTTOM", "Bottom", "Place the Mix node at the same height as the lowest node")
),
default='CENTER',
- description="When merging nodes with the Ctrl+Numpad0 hotkey (and similar) specifiy the position of the new nodes")
+ description="When merging nodes with the Ctrl+Numpad0 hotkey (and similar) specify the position of the new nodes")
show_hotkey_list = BoolProperty(
name="Show Hotkey List",
@@ -2685,7 +2685,7 @@ class NWAddPrincipledSetup(Operator, NWBase, ImportHelper):
fname = path.splitext(fname)[0]
# Remove digits
fname = ''.join(i for i in fname if not i.isdigit())
- # Seperate CamelCase by space
+ # Separate CamelCase by space
fname = re.sub("([a-z])([A-Z])","\g<1> \g<2>",fname)
# Replace common separators with SPACE
seperators = ['_', '.', '-', '__', '--', '#']
@@ -2767,7 +2767,7 @@ class NWAddPrincipledSetup(Operator, NWBase, ImportHelper):
# Too complicated for now
'''
- # Frame. Does not update immediatly
+ # Frame. Does not update immediately
# Seems to need an editor redraw
frame = nodes.new(type='NodeFrame')
frame.label = 'Displacement'
@@ -2776,7 +2776,7 @@ class NWAddPrincipledSetup(Operator, NWBase, ImportHelper):
frame.update()
'''
- #find ouput node
+ #find output node
output_node = [n for n in nodes if n.bl_idname == 'ShaderNodeOutputMaterial']
if output_node:
if not output_node[0].inputs[2].is_linked:
@@ -3090,7 +3090,7 @@ class NWAlignNodes(Operator, NWBase):
elif nodes.active in selection:
active_loc = copy(nodes.active.location) # make a copy, not a reference
- # Check if nodes should be layed out horizontally or vertically
+ # Check if nodes should be laid out horizontally or vertically
x_locs = [n.location.x + (n.dimensions.x / 2) for n in selection] # use dimension to get center of node, not corner
y_locs = [n.location.y - (n.dimensions.y / 2) for n in selection]
x_range = max(x_locs) - min(x_locs)
@@ -4621,7 +4621,7 @@ kmi_defs = (
(NWResetBG.bl_idname, 'Z', 'PRESS', False, False, False, None, "Reset backdrop image zoom"),
# Delete unused
(NWDeleteUnused.bl_idname, 'X', 'PRESS', False, False, True, None, "Delete unused nodes"),
- # Frame Seleted
+ # Frame Selected
(NWFrameSelected.bl_idname, 'P', 'PRESS', False, True, False, None, "Frame selected nodes"),
# Swap Outputs
(NWSwapLinks.bl_idname, 'S', 'PRESS', False, False, True, None, "Swap Outputs"),
diff --git a/object_boolean_tools.py b/object_boolean_tools.py
index df082abc..4c7e1bc1 100644
--- a/object_boolean_tools.py
+++ b/object_boolean_tools.py
@@ -387,7 +387,7 @@ def GCollector(_obj):
del _obj["BoolToolRoot"]
-# Handle the callbacks when modifing things in the scene
+# Handle the callbacks when modifying things in the scene
@persistent
def HandleScene(scene):
if bpy.data.objects.is_updated:
@@ -1259,7 +1259,7 @@ class PREFS_BoolTool_Props(AddonPreferences):
name="Make Boundary",
default=False,
description="When Apply a Brush to the Object it will create a\n"
- "new vertex group of the bondary boolean area",
+ "new vertex group of the boundary boolean area",
)
use_wire = BoolProperty(
name="Use Bmesh",
diff --git a/object_skinify.py b/object_skinify.py
index 079a4202..730a82a7 100644
--- a/object_skinify.py
+++ b/object_skinify.py
@@ -362,7 +362,7 @@ def generate_edges(mesh, shape_object, bones, scale, connect_mesh=False, connect
# ignore shoulder
if 'shoulder' in b.name.lower() and connect_mesh is True:
continue
- # connect the upper arm directly with chest ommiting shoulders
+ # connect the upper arm directly with chest omitting shoulders
if 'shoulder' in b.parent.name.lower() and connect_mesh is True:
vert1 = b.head
vert2 = b.parent.parent.tail
@@ -553,7 +553,7 @@ def generate_mesh(shape_object, size, thickness=0.8, finger_thickness=0.25, sub_
def main(context):
"""
- This script will create a custome shape
+ This script will create a custom shape
"""
# ### Check if selection is OK ###
diff --git a/oscurart_tools/oscurart_files.py b/oscurart_tools/oscurart_files.py
index 57583e55..65c248eb 100644
--- a/oscurart_tools/oscurart_files.py
+++ b/oscurart_tools/oscurart_files.py
@@ -91,7 +91,7 @@ class replaceFilePath(Operator):
# ---------------------- SYNC MISSING GROUPS --------------------------
class reFreshMissingGroups(Operator):
- """Search on the libraries of the linked source and relink groups and link newones if there are. Usefull to use with the mesh cache tools"""
+ """Search on the libraries of the linked source and relink groups and link newones if there are. Useful to use with the mesh cache tools"""
bl_idname = "file.sync_missing_groups"
bl_label = "Sync Missing Groups"
bl_options = {"REGISTER", "UNDO"}
diff --git a/oscurart_tools/oscurart_meshes.py b/oscurart_tools/oscurart_meshes.py
index 7de7e13a..70f4df1c 100644
--- a/oscurart_tools/oscurart_meshes.py
+++ b/oscurart_tools/oscurart_meshes.py
@@ -79,7 +79,7 @@ def defReconst(self, OFFSET):
class reConst(Operator):
- """Erase vertices bellow cero X position value and rebuilds the symmetry. """
+ """Erase vertices below cero X position value and rebuilds the symmetry. """
"""It also creates two uv channels, one symmetrical and one asymmetrical"""
bl_idname = "mesh.reconst_osc"
bl_label = "ReConst Mesh"
@@ -125,7 +125,7 @@ def side(self, nombre, offset):
class SelectMenor(Operator):
- """Selects the vetex with an N position value on the X axis"""
+ """Selects the vertex with an N position value on the X axis"""
bl_idname = "mesh.select_side_osc"
bl_label = "Select Side"
bl_options = {"REGISTER", "UNDO"}
@@ -157,7 +157,7 @@ class SelectMenor(Operator):
class rvg(Operator):
bl_idname = "mesh.resym_vertex_weights_osc"
bl_label = "Resym Vertex Weights"
- bl_description = ("Copies the symetrical weight value of the vertices on the X axys\n"
+ bl_description = ("Copies the symmetrical weight value of the vertices on the X axys\n"
"(It needs the XML map and the Active Object is not in Edit mode)")
bl_options = {"REGISTER", "UNDO"}
@@ -288,7 +288,7 @@ class OscResymSave(Operator):
class OscResymMesh(Operator):
- """Copies the symetrical position of the vertices on the X axys. It needs the XML map"""
+ """Copies the symmetrical position of the vertices on the X axys. It needs the XML map"""
bl_idname = "mesh.resym_mesh"
bl_label = "Resym save Apply XML"
bl_options = {"REGISTER", "UNDO"}
diff --git a/oscurart_tools/oscurart_objects.py b/oscurart_tools/oscurart_objects.py
index cae6c463..dd3d4624 100644
--- a/oscurart_tools/oscurart_objects.py
+++ b/oscurart_tools/oscurart_objects.py
@@ -91,7 +91,7 @@ class oscRemModifiers (Operator):
class oscApplyModifiers (Operator):
- """Applys all the modifiers in the selected objects.(This does not work in objects with shapekeys)"""
+ """Applies all the modifiers in the selected objects.(This does not work in objects with shapekeys)"""
bl_idname = "object.modifiers_apply_osc"
bl_label = "Apply modifiers"
bl_options = {"REGISTER", "UNDO"}
@@ -376,7 +376,7 @@ def DefRenderOnlyInCamera():
class RenderOnlyInCamera (Operator):
- """Create two different groups, one group contains the objetcs that are in the camera frame, """ \
+ """Create two different groups, one group contains the objects that are in the camera frame, """ \
"""those that camera can see, and then a second group that contains the object that the camera can`t see"""
bl_idname = "group.group_in_out_camera"
bl_label = "Make a group for objects in outer camera"
@@ -389,7 +389,7 @@ class RenderOnlyInCamera (Operator):
# ------------------------ DUPLICATE OBJECTS SYMMETRY ------------------------
-def duplicateSymmetrical(self, disconect):
+def duplicateSymmetrical(self, disconnect):
for objeto in bpy.context.selected_objects:
bpy.ops.object.select_all(action='DESELECT')
@@ -501,7 +501,7 @@ def duplicateSymmetrical(self, disconect):
0].targets[
0].transform_type = 'ROT_Z'
- if disconect is not True:
+ if disconnect is not True:
bpy.ops.object.make_single_user(obdata=True, object=True)
bpy.context.active_object.driver_remove("location")
bpy.context.active_object.driver_remove("rotation_euler")
diff --git a/oscurart_tools/oscurart_render.py b/oscurart_tools/oscurart_render.py
index 12858fa4..f6e083e9 100644
--- a/oscurart_tools/oscurart_render.py
+++ b/oscurart_tools/oscurart_render.py
@@ -404,7 +404,7 @@ while REPITE:
class oscPythonBatchMaker (Operator):
"""It creates a file as “Make Render Batch” but it requires Phyton installed and """ \
"""the respective environment variables set up. """ \
- """If the render crahses, the batch automatically erase the broken frame and writes it again. """ \
+ """If the render crashes, the batch automatically erase the broken frame and writes it again. """ \
"""Its not recommended if there is more than one machine rendering"""
bl_idname = "file.create_batch_python"
bl_label = "Make Batch Python"
diff --git a/paint_palette.py b/paint_palette.py
index 577b292b..cf0e58e9 100644
--- a/paint_palette.py
+++ b/paint_palette.py
@@ -644,7 +644,7 @@ class VIEW3D_OT_reset_weight_palette(Operator):
except Exception as e:
self.report({'WARNING'},
- "Reset Weight pallete could not be completed (See Console for more info)")
+ "Reset Weight palette could not be completed (See Console for more info)")
print("\n[Paint Palette]\nOperator: paint.reset_weight_palette\nError: %s\n" % e)
return {'CANCELLED'}
diff --git a/presets/pov/world/1_Clear_Blue_Sky.py b/presets/pov/world/1_Clear_Blue_Sky.py
index 3ec2c33e..9928c0e7 100644
--- a/presets/pov/world/1_Clear_Blue_Sky.py
+++ b/presets/pov/world/1_Clear_Blue_Sky.py
@@ -17,7 +17,7 @@ scene.world.use_sky_blend = True
#with very small value like round rgb 0.00002 0.00002 0.00008
#Sky color at zenith, sun 90° elevation = hsl <0.6, 0.533, 0.698>
#Ground color = rgb <0.996, 0.965, 0.855> = hsl <0.128, 0.141, 0.996>
-#Ground Brighness = 0.996
+#Ground Brightness = 0.996
scene.world.horizon_color = (0.047, 0.034, 0.025) #24000 or 22000 lux roughly equals (sun+sky)/5
scene.world.zenith_color = (0.006, 0.013, 0.033) #19807 lux roughly equals hign noon Sun / 5
diff --git a/presets/pov/world/2_Partly_Hazy_Sky.py b/presets/pov/world/2_Partly_Hazy_Sky.py
index 3102d0ab..59c1182a 100644
--- a/presets/pov/world/2_Partly_Hazy_Sky.py
+++ b/presets/pov/world/2_Partly_Hazy_Sky.py
@@ -17,7 +17,7 @@ scene.world.use_sky_blend = True
#with very small value like round rgb 0.00002 0.00002 0.00008
#Sky color at zenith, sun 90° elevation = hsl <0.6, 0.533, 0.698>
#Ground color = rgb <0.996, 0.965, 0.855> = hsl <0.128, 0.141, 0.996>
-#Ground Brighness = 0.996
+#Ground Brightness = 0.996
scene.world.horizon_color = (0.380, 0.262, 0.183) #24000 or 22000 lux roughly equals (sun+sky)/5 + urban light pollution
scene.world.zenith_color = (0.006, 0.013, 0.033) #19807 lux roughly equals hign noon Sun / 5
diff --git a/render_povray/__init__.py b/render_povray/__init__.py
index 099d2fcc..a8b07887 100644
--- a/render_povray/__init__.py
+++ b/render_povray/__init__.py
@@ -91,7 +91,7 @@ class RenderPovSettingsScene(PropertyGroup):
default=True)
pov_editor = BoolProperty(
name="POV-Ray editor",
- description="Don't Close POV-Ray editor after rendering (Overriden"
+ description="Don't Close POV-Ray editor after rendering (Overridden"
" by /EXIT command)",
default=False)
deletefiles_enable = BoolProperty(
@@ -2172,7 +2172,7 @@ class RenderPovSettingsCamera(PropertyGroup):
dof_aperture = FloatProperty(
name="Aperture",
description="Similar to a real camera's aperture effect over focal blur (though not "
- "in physical units and independant of focal length). "
+ "in physical units and independent of focal length). "
"Increase to get more blur",
min=0.01, max=1.00, default=0.50)
@@ -2199,7 +2199,7 @@ class RenderPovSettingsCamera(PropertyGroup):
min=0.01, max=0.99, default=0.20)
normal_enable = BoolProperty(name="Perturbated Camera", default=False)
- cam_normal = FloatProperty(name="Normal Strenght", min=0.0, max=1.0, default=0.0)
+ cam_normal = FloatProperty(name="Normal Strength", min=0.0, max=1.0, default=0.0)
normal_patterns = EnumProperty(
name="Pattern",
description="",
diff --git a/render_povray/df3.py b/render_povray/df3.py
index bc721ae8..b8434287 100644
--- a/render_povray/df3.py
+++ b/render_povray/df3.py
@@ -26,9 +26,9 @@
# clone(indf3) : make this df3 look like indf3
#
# Info functions
-# sizeX(): returns X dimention
-# sizeY(): returns Y dimention
-# sizeZ(): returns Z dimention
+# sizeX(): returns X dimension
+# sizeY(): returns Y dimension
+# sizeZ(): returns Z dimension
#
# Scalar functions
# mult():
diff --git a/render_povray/render.py b/render_povray/render.py
index 3640bc2b..26352b2d 100644
--- a/render_povray/render.py
+++ b/render_povray/render.py
@@ -578,7 +578,7 @@ def write_pov(filename, scene=None, info_callback=None):
matrix = global_matrix * ob.matrix_world
- # Color is modified by energy #muiltiplie by 2 for a better match --Maurice
+ # Color is modified by energy #multiplied by 2 for a better match --Maurice
color = tuple([c * (lamp.energy) for c in lamp.color])
tabWrite("light_source {\n")
@@ -595,7 +595,7 @@ def write_pov(filename, scene=None, info_callback=None):
tabWrite("radius %.6f\n" % \
((degrees(lamp.spot_size) / 2.0) * (1.0 - lamp.spot_blend)))
- # Blender does not have a tightness equivilent, 0 is most like blender default.
+ # Blender does not have a tightness equivalent, 0 is most like blender default.
tabWrite("tightness 0\n") # 0:10f
tabWrite("point_at <0, 0, -1>\n")
@@ -2303,7 +2303,7 @@ def write_pov(filename, scene=None, info_callback=None):
print("This is an instance of " + name)
continue
- print("Writing Down First Occurence of " + name)
+ print("Writing Down First Occurrence of " + name)
############################################Povray Primitives
# special exportCurves() function takes care of writing
@@ -3468,7 +3468,7 @@ def write_pov(filename, scene=None, info_callback=None):
#if world.light_settings.use_indirect_light:
# scene.pov.radio_enable=1
- # Maybe change the above to a funtion copyInternalRenderer settings when
+ # Maybe change the above to a function copyInternalRenderer settings when
# user pushes a button, then:
#scene.pov.radio_enable = world.light_settings.use_indirect_light
# and other such translations but maybe this would not be allowed either?
diff --git a/render_povray/templates_pov/abyss.pov b/render_povray/templates_pov/abyss.pov
index 6cb39da8..690d7737 100644
--- a/render_povray/templates_pov/abyss.pov
+++ b/render_povray/templates_pov/abyss.pov
@@ -39,7 +39,7 @@ camera{
location PdV
angle 65 // direction z*2
up y
- right x*image_width/image_height // keep propotions with any aspect ratio //right 8*x/3
+ right x*image_width/image_height // keep proportions with any aspect ratio //right 8*x/3
look_at <-20, 30, 0>
}
diff --git a/render_povray/templates_pov/biscuit.pov b/render_povray/templates_pov/biscuit.pov
index aab90fab..ffd2eee3 100644
--- a/render_povray/templates_pov/biscuit.pov
+++ b/render_povray/templates_pov/biscuit.pov
@@ -31,7 +31,7 @@ global_settings{ assumed_gamma 1.3 max_trace_level 5}
camera{ location <20,40,28>
angle 40 // direction 2*z
- right x*image_width/image_height // keep propotions with any aspect ratio
+ right x*image_width/image_height // keep proportions with any aspect ratio
look_at <0,2,0>
}
diff --git a/render_povray/templates_pov/chess2.pov b/render_povray/templates_pov/chess2.pov
index b52070d6..02398143 100644
--- a/render_povray/templates_pov/chess2.pov
+++ b/render_povray/templates_pov/chess2.pov
@@ -49,7 +49,7 @@ camera {
location <59, 20, -55>
direction <0, 0, 2>
up <0, 1, 0>
- right x*image_width/image_height // keep propotions with any aspect ratio
+ right x*image_width/image_height // keep proportions with any aspect ratio
look_at <0, -1, 1>
#if(FB_Quality != FB_Quality_Off)
diff --git a/render_povray/templates_pov/diffract.pov b/render_povray/templates_pov/diffract.pov
index 0c7a0228..ea5a74c4 100644
--- a/render_povray/templates_pov/diffract.pov
+++ b/render_povray/templates_pov/diffract.pov
@@ -83,7 +83,7 @@ camera { // Camera StdCam
direction <0.0, 0.0, 1.6542>
sky <0.0, 0.0, 1.0> // Use right handed-system!
up <0.0, 0.0, 1.0> // Where Z is up
- right x*image_width/image_height // keep propotions with any aspect ratio
+ right x*image_width/image_height // keep proportions with any aspect ratio
look_at <0.000, 0.000, -2.7500>
}
diff --git a/render_povray/templates_pov/diffuse_back.pov b/render_povray/templates_pov/diffuse_back.pov
index 4aa70aef..e9144604 100644
--- a/render_povray/templates_pov/diffuse_back.pov
+++ b/render_povray/templates_pov/diffuse_back.pov
@@ -59,7 +59,7 @@ global_settings {
#declare OverallScale = 100;
camera {
- right x*image_width/image_height // keep propotions with any aspect ratio
+ right x*image_width/image_height // keep proportions with any aspect ratio
location < 1,1.6,-2.5>*OverallScale
look_at <-2.0,1.2,0>*OverallScale
}
diff --git a/render_povray/templates_pov/grenadine.pov b/render_povray/templates_pov/grenadine.pov
index 1c409b13..c61d13d8 100644
--- a/render_povray/templates_pov/grenadine.pov
+++ b/render_povray/templates_pov/grenadine.pov
@@ -40,7 +40,7 @@ light_source {
camera {
location <-0.5, 2.5, -7.0>
- right x*image_width/image_height // keep propotions with any aspect ratio
+ right x*image_width/image_height // keep proportions with any aspect ratio
look_at <-0.5, 0.5, 0.0>
}
diff --git a/render_povray/templates_pov/isocacti.pov b/render_povray/templates_pov/isocacti.pov
index c0e8cde0..a98fc25f 100644
--- a/render_povray/templates_pov/isocacti.pov
+++ b/render_povray/templates_pov/isocacti.pov
@@ -31,7 +31,7 @@ sky_sphere {
#declare CamLoc = < 5, 10,-10>;
camera {
location CamLoc
- right x*image_width/image_height // keep propotions with any aspect ratio
+ right x*image_width/image_height // keep proportions with any aspect ratio
angle 45
look_at <0, 0, 0>
}
diff --git a/render_povray/templates_pov/mediasky.pov b/render_povray/templates_pov/mediasky.pov
index 9347424e..3c7d1d7e 100644
--- a/render_povray/templates_pov/mediasky.pov
+++ b/render_povray/templates_pov/mediasky.pov
@@ -35,7 +35,7 @@ global_settings {
camera {
location CamPos
up y
- right x*image_width/image_height // keep propotions with any aspect ratio
+ right x*image_width/image_height // keep proportions with any aspect ratio
look_at < 0, 7.5, 0>
angle 90
}
diff --git a/render_povray/templates_pov/wallstucco.pov b/render_povray/templates_pov/wallstucco.pov
index b6231266..2f5735d8 100644
--- a/render_povray/templates_pov/wallstucco.pov
+++ b/render_povray/templates_pov/wallstucco.pov
@@ -25,7 +25,7 @@ light_source {
camera {
location <0.2, 0.0,-25.0>
look_at <0.0, 0.0, 0.0>
- right x*image_width/image_height // keep propotions with any aspect ratio
+ right x*image_width/image_height // keep proportions with any aspect ratio
angle 65
}
@@ -132,7 +132,7 @@ camera {
#declare Wall=pigment {
BrickWall(<4,1,1>,0.2,<0.05,0.1,0>,6,0.5,0.5)
function{FBrickWall(x,y,z).gray}
- pigment_map { // give some stucture to the joint ...
+ pigment_map { // give some structure to the joint ...
[0, granite
scale 0.1
colour_map {
diff --git a/render_povray/update_files.py b/render_povray/update_files.py
index 53eea545..2c7beb60 100644
--- a/render_povray/update_files.py
+++ b/render_povray/update_files.py
@@ -485,7 +485,7 @@ def register():
#Aperture (Intensity of the Blur)
Cam.pov_dof_aperture = FloatProperty(
name="Aperture",
- description="Similar to a real camera's aperture effect over focal blur (though not in physical units and independant of focal length).Increase to get more blur",
+ description="Similar to a real camera's aperture effect over focal blur (though not in physical units and independent of focal length).Increase to get more blur",
min=0.01, max=1.00, default=0.25)
#Aperture adaptive sampling
diff --git a/rigify/legacy/rigs/pitchipoy/limbs/limb_utils.py b/rigify/legacy/rigs/pitchipoy/limbs/limb_utils.py
index ce6a0761..b0b62d79 100644
--- a/rigify/legacy/rigs/pitchipoy/limbs/limb_utils.py
+++ b/rigify/legacy/rigs/pitchipoy/limbs/limb_utils.py
@@ -29,7 +29,7 @@ def make_constraint( cls, bone, constraint ):
constraint['target'] = cls.obj
- # filter contraint props to those that actually exist in the currnet
+ # filter constraint props to those that actually exist in the currnet
# type of constraint, then assign values to each
for p in [ k for k in constraint.keys() if k in dir(const) ]:
if p in dir( const ):
diff --git a/rigify/legacy/rigs/pitchipoy/limbs/super_limb.py b/rigify/legacy/rigs/pitchipoy/limbs/super_limb.py
index c6f5329f..11bac486 100644
--- a/rigify/legacy/rigs/pitchipoy/limbs/super_limb.py
+++ b/rigify/legacy/rigs/pitchipoy/limbs/super_limb.py
@@ -165,7 +165,7 @@ class Rig:
eb[ mch ].length /= 4
eb[ ctrl ].length /= 2
- # Contraints
+ # Constraints
if self.limb_type == 'paw':
for i,b in enumerate( tweaks['mch'] ):
diff --git a/rigify/legacy/rigs/pitchipoy/super_torso_turbo.py b/rigify/legacy/rigs/pitchipoy/super_torso_turbo.py
index a39d8471..38d5887b 100644
--- a/rigify/legacy/rigs/pitchipoy/super_torso_turbo.py
+++ b/rigify/legacy/rigs/pitchipoy/super_torso_turbo.py
@@ -408,7 +408,7 @@ class Rig:
const = owner_pb.constraints.new( constraint['constraint'] )
const.target = self.obj
- # filter contraint props to those that actually exist in the currnet
+ # filter constraint props to those that actually exist in the currnet
# type of constraint, then assign values to each
for p in [ k for k in constraint.keys() if k in dir(const) ]:
setattr( const, p, constraint[p] )
@@ -554,7 +554,7 @@ class Rig:
bpy.ops.object.mode_set(mode ='OBJECT')
pb = self.obj.pose.bones
- # deform bones bbone segements
+ # deform bones bbone segments
for bone in bones['def'][:-1]:
self.obj.data.bones[bone].bbone_segments = 8
diff --git a/rigify/legacy/utils.py b/rigify/legacy/utils.py
index cc2d6676..e3927ac3 100644
--- a/rigify/legacy/utils.py
+++ b/rigify/legacy/utils.py
@@ -749,7 +749,7 @@ def has_connected_children(bone):
def get_layers(layers):
- """ Does it's best to exctract a set of layers from any data thrown at it.
+ """ Does it's best to extract a set of layers from any data thrown at it.
"""
if type(layers) == int:
return [x == layers for x in range(0, 32)]
diff --git a/rigify/rigs/experimental/super_chain.py b/rigify/rigs/experimental/super_chain.py
index 836bc285..408bce3f 100644
--- a/rigify/rigs/experimental/super_chain.py
+++ b/rigify/rigs/experimental/super_chain.py
@@ -711,7 +711,7 @@ class Rig:
const = owner_pb.constraints.new(constraint['constraint'])
const.target = self.obj
- # filter contraint props to those that actually exist in the current
+ # filter constraint props to those that actually exist in the current
# type of constraint, then assign values to each
for p in [k for k in constraint.keys() if k in dir(const)]:
setattr(const, p, constraint[p])
diff --git a/rigify/rigs/limbs/arm.py b/rigify/rigs/limbs/arm.py
index fd1aa41f..f9174e92 100644
--- a/rigify/rigs/limbs/arm.py
+++ b/rigify/rigs/limbs/arm.py
@@ -218,7 +218,7 @@ class Rig:
eb[ mch ].length /= 4
eb[ ctrl ].length /= 2
- # Contraints
+ # Constraints
for i,b in enumerate( tweaks['mch'] ):
first = 0
diff --git a/rigify/rigs/limbs/leg.py b/rigify/rigs/limbs/leg.py
index ae705796..4f53fb89 100644
--- a/rigify/rigs/limbs/leg.py
+++ b/rigify/rigs/limbs/leg.py
@@ -245,7 +245,7 @@ class Rig:
eb[ mch ].length /= 4
eb[ ctrl ].length /= 2
- # Contraints
+ # Constraints
for i,b in enumerate( tweaks['mch'] ):
first = 0
diff --git a/rigify/rigs/limbs/paw.py b/rigify/rigs/limbs/paw.py
index 1f1d0a82..cb1438bf 100644
--- a/rigify/rigs/limbs/paw.py
+++ b/rigify/rigs/limbs/paw.py
@@ -232,7 +232,7 @@ class Rig:
eb[ mch ].length /= 4
eb[ ctrl ].length /= 2
- # Contraints
+ # Constraints
for i,b in enumerate( tweaks['mch'] ):
first = 0
diff --git a/rigify/rigs/spines/super_spine.py b/rigify/rigs/spines/super_spine.py
index ff891b49..115d0450 100644
--- a/rigify/rigs/spines/super_spine.py
+++ b/rigify/rigs/spines/super_spine.py
@@ -571,7 +571,7 @@ class Rig:
const = owner_pb.constraints.new(constraint['constraint'])
const.target = self.obj
- # filter contraint props to those that actually exist in the currnet
+ # filter constraint props to those that actually exist in the currnet
# type of constraint, then assign values to each
for p in [k for k in constraint.keys() if k in dir(const)]:
setattr(const, p, constraint[p])
@@ -806,7 +806,7 @@ class Rig:
bpy.ops.object.mode_set(mode='OBJECT')
pb = self.obj.pose.bones
- # deform bones bbone segements
+ # deform bones bbone segments
for bone in bones['def'][:-1]:
self.obj.data.bones[bone].bbone_segments = 8
diff --git a/rigify/rot_mode.py b/rigify/rot_mode.py
index 22def224..e30e28d1 100644
--- a/rigify/rot_mode.py
+++ b/rigify/rot_mode.py
@@ -10,7 +10,7 @@ This script/addon:
- Converts multiple Actions
TO-DO:
- - To convert object's rotation mode (alrady done in Mutant Bob script,
+ - To convert object's rotation mode (already done in Mutant Bob script,
but not done in this one.
- To understand "EnumProperty" and write it well.
- Code clean
diff --git a/rigify/utils.py b/rigify/utils.py
index 876ee0d3..1a711a3d 100644
--- a/rigify/utils.py
+++ b/rigify/utils.py
@@ -959,7 +959,7 @@ def has_connected_children(bone):
def get_layers(layers):
- """ Does it's best to exctract a set of layers from any data thrown at it.
+ """ Does it's best to extract a set of layers from any data thrown at it.
"""
if type(layers) == int:
return [x == layers for x in range(0, 32)]
diff --git a/sequencer_kinoraw_tools/audio_tools.py b/sequencer_kinoraw_tools/audio_tools.py
index bf615d5a..a2ad692f 100644
--- a/sequencer_kinoraw_tools/audio_tools.py
+++ b/sequencer_kinoraw_tools/audio_tools.py
@@ -202,7 +202,7 @@ class ExternalAudioReloadOperator(Operator):
bl_idname = "sequencer.external_audio_reload"
bl_label = "Reload External audio"
bl_description = ("Reload external audio synced to selected movie strip "
- "acording to info from a text file")
+ "according to info from a text file")
@staticmethod
def has_sequencer(context):
diff --git a/sequencer_kinoraw_tools/exiftool.py b/sequencer_kinoraw_tools/exiftool.py
index f42e3f34..e51b825c 100644
--- a/sequencer_kinoraw_tools/exiftool.py
+++ b/sequencer_kinoraw_tools/exiftool.py
@@ -145,7 +145,7 @@ class ExifTool(object):
options will be silently ignored by exiftool, so there's not
much that can be done in that regard. You should avoid passing
non-existent files to any of the methods, since this will lead
- to undefied behaviour.
+ to undefined behaviour.
.. py:attribute:: running
diff --git a/sequencer_kinoraw_tools/functions.py b/sequencer_kinoraw_tools/functions.py
index 2722f321..b51f495c 100644
--- a/sequencer_kinoraw_tools/functions.py
+++ b/sequencer_kinoraw_tools/functions.py
@@ -74,7 +74,7 @@ def error_handlers(self, op_name, errors, reports="ERROR"):
def initSceneProperties(context):
- # initSceneProperties is ONLY for varaibles that should
+ # initSceneProperties is ONLY for variables that should
# be keeped with the blend file. Any other addon preferences
# should go to the addon preferences operator in __init__
try:
diff --git a/sequencer_kinoraw_tools/jumptocut.py b/sequencer_kinoraw_tools/jumptocut.py
index d0be54a6..92566d9d 100644
--- a/sequencer_kinoraw_tools/jumptocut.py
+++ b/sequencer_kinoraw_tools/jumptocut.py
@@ -297,7 +297,7 @@ class OBJECT_OT_Metacopy(Operator): # Operator copy source in/out
functions.triminout(strip2, sin, sout)
bpy.ops.sequencer.copy()
bpy.ops.sequencer.meta_separate()
- self.report({'INFO'}, "META2 has been trimed and copied")
+ self.report({'INFO'}, "META2 has been trimmed and copied")
else:
bpy.ops.sequencer.meta_make()
bpy.ops.sequencer.copy()
diff --git a/sequencer_kinoraw_tools/operators_extra_actions.py b/sequencer_kinoraw_tools/operators_extra_actions.py
index 1b52e3f2..055bd143 100644
--- a/sequencer_kinoraw_tools/operators_extra_actions.py
+++ b/sequencer_kinoraw_tools/operators_extra_actions.py
@@ -268,7 +268,7 @@ class Sequencer_Extra_CreateMovieclip(Operator):
clip = bpy.context.scene.sequence_editor.sequences[
newstrip.name
]
- # cannot change this atributes via scripts...
+ # cannot change this attributes via scripts...
# but it works in the python console...
# clip.animation_offset_start = strip.animation.offset_start
# clip.animation_offset_end = strip.animation.offset_end
diff --git a/sequencer_kinoraw_tools/recursive_loader.py b/sequencer_kinoraw_tools/recursive_loader.py
index 22b34754..e6d8f09b 100644
--- a/sequencer_kinoraw_tools/recursive_loader.py
+++ b/sequencer_kinoraw_tools/recursive_loader.py
@@ -202,7 +202,7 @@ class Sequencer_Extra_ReadExifData(Operator):
return {'FINISHED'}
-# TODO: fix poll to hide when unuseful
+# TODO: fix poll to hide when useless
class ExifInfoPanel(Panel):
"""Creates a Panel in the Object properties window"""
diff --git a/space_clip_editor_autotracker.py b/space_clip_editor_autotracker.py
index 1cd20886..962742e3 100644
--- a/space_clip_editor_autotracker.py
+++ b/space_clip_editor_autotracker.py
@@ -69,7 +69,7 @@ class GlDrawOnScreen():
''' my_string : the text we want to print
pos_x, pos_y : coordinates in integer values
size : font height.
- colour : used for definining the colour'''
+ colour : used for defining the colour'''
dpi, font_id = 72, 0 # dirty fast assignment
bgl.glColor4f(*colour)
blf.position(font_id, x, y, 0)
@@ -590,7 +590,7 @@ class AutotrackerSettings(PropertyGroup):
jump_cut = FloatProperty(
name="Jump Cut",
description="How much distance a marker can travel before it is considered "
- "to be a bad track and cut.\nA new track wil be added "
+ "to be a bad track and cut.\nA new track will be added "
"(factor relative to mean motion)",
default=5.0,
min=0.0,
diff --git a/space_view3d_brush_menus/stroke_menu.py b/space_view3d_brush_menus/stroke_menu.py
index 1e7c067c..7306d3e9 100644
--- a/space_view3d_brush_menus/stroke_menu.py
+++ b/space_view3d_brush_menus/stroke_menu.py
@@ -169,7 +169,7 @@ class StrokeMethodMenu(Menu):
layout.row().separator()
if brush:
- # add the menu items dynamicaly based on values in enum property
+ # add the menu items dynamically based on values in enum property
for tool in brush.bl_rna.properties['stroke_method'].enum_items:
if tool.identifier in ('ANCHORED', 'DRAG_DOT') and \
utils_core.get_mode() in ('VERTEX_PAINT',
diff --git a/space_view3d_brush_menus/utils_core.py b/space_view3d_brush_menus/utils_core.py
index dd9448a1..81692d2a 100644
--- a/space_view3d_brush_menus/utils_core.py
+++ b/space_view3d_brush_menus/utils_core.py
@@ -35,7 +35,7 @@ def get_brush_link(context, types="brush"):
# Addon settings
def addon_settings(lists=True):
- # separate function just for more convience
+ # separate function just for more convenience
addon = bpy.context.user_preferences.addons[get_addon_name]
colum_n = addon.preferences.column_set if addon else 1
use_list = addon.preferences.use_brushes_menu_type
diff --git a/space_view3d_copy_attributes.py b/space_view3d_copy_attributes.py
index cb53511b..762eb953 100644
--- a/space_view3d_copy_attributes.py
+++ b/space_view3d_copy_attributes.py
@@ -141,7 +141,7 @@ def pLoopExec(self, context, funk):
funk(bone, active, context)
-# The following functions are used o copy attributes frome active to bone
+# The following functions are used o copy attributes from active to bone
def pLocLocExec(bone, active, context):
bone.location = active.location
@@ -222,7 +222,7 @@ pose_copies = (
('pose_drw', "Bone Shape",
"Copy Bone Shape from Active to Selected", pDrwExec),
('pose_lok', "Protected Transform",
- "Copy Protected Tranforms from Active to Selected", pLokExec),
+ "Copy Protected Transforms from Active to Selected", pLokExec),
('pose_con', "Bone Constraints",
"Copy Object Constraints from Active to Selected", pConExec),
('pose_iks', "IK Limits",
@@ -519,7 +519,7 @@ object_copies = (
# ('obj_log', "Logic Bricks",
# "Copy Logic Bricks from Active to Selected"),
('obj_lok', "Protected Transform",
- "Copy Protected Tranforms from Active to Selected", obLok),
+ "Copy Protected Transforms from Active to Selected", obLok),
('obj_con', "Object Constraints",
"Copy Object Constraints from Active to Selected", obCon),
# ('obj_nla', "NLA Strips",
@@ -527,7 +527,7 @@ object_copies = (
# ('obj_tex', "Texture Space",
# "Copy Texture Space from Active to Selected", obTex),
# ('obj_sub', "Subsurf Settings",
- # "Copy Subsurf Setings from Active to Selected"),
+ # "Copy Subsurf Settings from Active to Selected"),
# ('obj_smo', "AutoSmooth",
# "Copy AutoSmooth from Active to Selected"),
('obj_idx', "Pass Index",
diff --git a/space_view3d_display_tools/select_tools.py b/space_view3d_display_tools/select_tools.py
index eb5c0aaa..95dc4ff2 100644
--- a/space_view3d_display_tools/select_tools.py
+++ b/space_view3d_display_tools/select_tools.py
@@ -122,7 +122,7 @@ class HideAllObjects(Operator):
class SelectAll(Operator):
bl_idname = "opr.select_all"
bl_label = "(De)select All"
- bl_description = "(De)select all objects, verticies, edges or faces"
+ bl_description = "(De)select all objects, vertices, edges or faces"
bl_options = {'REGISTER', 'UNDO'}
def execute(self, context):
diff --git a/space_view3d_modifier_tools.py b/space_view3d_modifier_tools.py
index 9076f1a8..8ae67528 100644
--- a/space_view3d_modifier_tools.py
+++ b/space_view3d_modifier_tools.py
@@ -188,7 +188,7 @@ class ToggleApplyModifiersView(Operator):
mod.show_viewport = is_apply
- message_a = "{} modifiers in the 3D View".format("Displaying" if is_apply else "Hidding")
+ message_a = "{} modifiers in the 3D View".format("Displaying" if is_apply else "Hiding")
if skipped:
message_a = "{}, {}".format(message_a, "skipping: " + ", ".join(skipped)) if \
diff --git a/space_view3d_pie_menus/pie_apply_transform_menu.py b/space_view3d_pie_menus/pie_apply_transform_menu.py
index 7eb0a3a9..e22f23b4 100644
--- a/space_view3d_pie_menus/pie_apply_transform_menu.py
+++ b/space_view3d_pie_menus/pie_apply_transform_menu.py
@@ -40,7 +40,7 @@ from bpy.props import EnumProperty
# Pie Apply Transforms - Ctrl + A
class PieApplyTransforms(Menu):
- bl_idname = "pie.applytranforms"
+ bl_idname = "pie.applytransforms"
bl_label = "Pie Apply Transforms"
def draw(self, context):
@@ -149,7 +149,7 @@ def register():
# Apply Transform
km = wm.keyconfigs.addon.keymaps.new(name='Object Mode')
kmi = km.keymap_items.new('wm.call_menu_pie', 'A', 'PRESS', ctrl=True)
- kmi.properties.name = "pie.applytranforms"
+ kmi.properties.name = "pie.applytransforms"
addon_keymaps.append((km, kmi))
diff --git a/space_view3d_spacebar_menu.py b/space_view3d_spacebar_menu.py
index e183e075..0831c0d5 100644
--- a/space_view3d_spacebar_menu.py
+++ b/space_view3d_spacebar_menu.py
@@ -2947,7 +2947,7 @@ def UseSeparator(operator, context):
# Use compact brushes menus #
def UseBrushesLists():
- # separate function just for more convience
+ # separate function just for more convenience
useLists = bpy.context.user_preferences.addons[__name__].preferences.use_brushes_lists
return bool(useLists)
diff --git a/space_view3d_stored_views/io.py b/space_view3d_stored_views/io.py
index e9c325ff..69c5b02b 100644
--- a/space_view3d_stored_views/io.py
+++ b/space_view3d_stored_views/io.py
@@ -114,7 +114,7 @@ class IO_Utils():
if str(type(val)) in ["<class 'bpy_prop_array'>"]:
# array
dict[prop.identifier] = [v for v in val]
- # adress the pickle limitations of dealing with the Vector class
+ # address the pickle limitations of dealing with the Vector class
elif str(type(val)) in ["<class 'Vector'>",
"<class 'Quaternion'>"]:
dict[prop.identifier] = [v for v in val]
diff --git a/system_demo_mode/__init__.py b/system_demo_mode/__init__.py
index 55557134..000fcef1 100644
--- a/system_demo_mode/__init__.py
+++ b/system_demo_mode/__init__.py
@@ -234,7 +234,7 @@ def extern_demo_mode_unregister():
from . import demo_mode
demo_mode.unregister()
-# --- intergration
+# --- integration
def menu_func(self, context):
diff --git a/system_demo_mode/demo_mode.py b/system_demo_mode/demo_mode.py
index ebf4b310..9b94378c 100644
--- a/system_demo_mode/demo_mode.py
+++ b/system_demo_mode/demo_mode.py
@@ -526,7 +526,7 @@ def load_config(cfg_name=DEMO_CFG):
blend_lookup.update(dict(blend_dict_items(demo_search_path)))
- # fallback to orginal file
+ # fallback to original file
return blend_lookup.get(filename, filepath)
# done with search lookup
diff --git a/uv_magic_uv/common.py b/uv_magic_uv/common.py
index 6d3d9df7..475efd59 100644
--- a/uv_magic_uv/common.py
+++ b/uv_magic_uv/common.py
@@ -436,7 +436,7 @@ def __sort_loop_pairs(uv_layer, pairs, closed):
diff = p2[-1][uv_layer].uv - p1[0][uv_layer].uv
if diff.length < 0.000000001:
# all UVs are not separated
- return None, "All UVs are not separted"
+ return None, "All UVs are not separated"
return sorted_pairs, ""
@@ -553,7 +553,7 @@ def __get_loop_sequence_internal(uv_layer, pairs, island_info, closed):
# check if the UVs are already parsed.
# this check is needed for the mesh which has the circular
- # sequence of the verticies
+ # sequence of the vertices
matched = False
for p1 in seqs:
p2 = nplp
diff --git a/uv_magic_uv/op/texture_wrap.py b/uv_magic_uv/op/texture_wrap.py
index 01e507bd..04669214 100644
--- a/uv_magic_uv/op/texture_wrap.py
+++ b/uv_magic_uv/op/texture_wrap.py
@@ -124,7 +124,7 @@ class MUV_TexWrapSet(bpy.types.Operator):
if len(common_verts) != 2:
self.report({'WARNING'},
- "2 verticies must be shared among faces")
+ "2 vertices must be shared among faces")
return {'CANCELLED'}
# get reference other vertices info
@@ -199,7 +199,7 @@ class MUV_TexWrapSet(bpy.types.Operator):
for info in tgt_other_verts:
info["loop"][uv_layer].uv = info["target_uv"]
- common.debug_print("===== Target Other Verticies =====")
+ common.debug_print("===== Target Other Vertices =====")
common.debug_print(tgt_other_verts)
bmesh.update_edit_mesh(obj.data)
diff --git a/uv_magic_uv/properites.py b/uv_magic_uv/properites.py
index 3b61fcfc..d882063a 100644
--- a/uv_magic_uv/properites.py
+++ b/uv_magic_uv/properites.py
@@ -225,7 +225,7 @@ def init_props(scene):
# Align UV
scene.muv_auv_enabled = BoolProperty(
- name="Aline UV Enabled",
+ name="Align UV Enabled",
description="Align UV is enabled",
default=False
)
diff --git a/uv_texture_atlas.py b/uv_texture_atlas.py
index 974d998c..b655c83c 100644
--- a/uv_texture_atlas.py
+++ b/uv_texture_atlas.py
@@ -621,7 +621,7 @@ class TexAtl_MergeObjects(Operator):
bpy.ops.object.select_all(action='DESELECT')
- # We do the MergeList beacuse we will duplicate grouped objects
+ # We do the MergeList because we will duplicate grouped objects
mergeList = []
for object in bpy.data.groups[self.group_name].objects:
mergeList.append(object)
@@ -635,7 +635,7 @@ class TexAtl_MergeObjects(Operator):
bpy.ops.object.select_all(action='DESELECT')
object.select = True
- # activate lightmap uv if existant
+ # activate lightmap uv if existent
for uv in object.data.uv_textures:
if uv.name == self.group_name:
uv.active = True
@@ -772,7 +772,7 @@ class TexAtl_SeparateObjects(Operator):
bpy.ops.object.mode_set(mode='OBJECT', toggle=False)
# scene.objects.active.select = False
- # find separeted object
+ # find separated object
ob_separeted = None
for obj in groupSeparate.objects:
if obj != ob_merged:
@@ -794,7 +794,7 @@ class TexAtl_SeparateObjects(Operator):
ob_original.hide_select = isOriginalToSelect
ob_original.data.update()
- # delete separeted object
+ # delete separated object
bpy.ops.object.select_all(action='DESELECT')
ob_separeted.select = True
bpy.ops.object.delete(use_global=False)