diff options
author | Brecht Van Lommel <brecht@blender.org> | 2022-01-05 17:27:33 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2022-01-05 17:46:41 +0300 |
commit | d68dca98ce6705dd69285692f3cdc1dbf2213c1d (patch) | |
tree | 293ad05d82522964478ddacb22e56f831194043c /precision_drawing_tools/pdt_tangent.py | |
parent | b1cec919ec7d255c29d31bc21c91d98e0d118182 (diff) |
Cleanup: fix typos in source code
Contributed by luzpaz.
Differential Revision: https://developer.blender.org/D5801
Diffstat (limited to 'precision_drawing_tools/pdt_tangent.py')
-rw-r--r-- | precision_drawing_tools/pdt_tangent.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/precision_drawing_tools/pdt_tangent.py b/precision_drawing_tools/pdt_tangent.py index 5b6243d5..6697a5a2 100644 --- a/precision_drawing_tools/pdt_tangent.py +++ b/precision_drawing_tools/pdt_tangent.py @@ -227,7 +227,7 @@ def tangent_setup(context, pg, plane, obj_data, centre_0, centre_1, centre_2, ra a1, a2, a3 = set_mode(plane) mode = pg.tangent_mode if plane == "LO": - # Translate world cordinates into view local (horiz, vert, depth) + # Translate world coordinates into view local (horiz, vert, depth) # centre_0 = view_coords_i(centre_0[a1], centre_0[a2], centre_0[a3]) centre_1 = view_coords_i(centre_1[a1], centre_1[a2], centre_1[a3]) @@ -399,11 +399,11 @@ def draw_tangents(tangent_vectors, obj_data): """Add Edges Representing the Tangents. Note: - The length of the tanget_vectors determins whcih tangents will be + The length of the tanget_vectors determines which tangents will be drawn, 3 gives Point Tangents, 4 gives Inner/Outer tangents Args: - tangent_vectors: A list of vectores representing the tangents + tangent_vectors: A list of vectors representing the tangents obj_data: A list giving Object, Object Location and Object Bmesh Returns: @@ -490,7 +490,7 @@ class PDT_OT_TangentOperate(Operator): Analyses distance between arc centres, or arc centre and tangent point to determine which mode is possible (Inner, Outer, or Point). If centres are - both contianed within 1 inferred circle, Inner tangents are not possible. + both contained within 1 inferred circle, Inner tangents are not possible. Arcs of same radius will have no intersection for outer tangents so these are calculated differently. @@ -557,7 +557,7 @@ class PDT_OT_TangentOperateSel(Operator): Analyses distance between arc centres, or arc centre and tangent point to determine which mode is possible (Inner, Outer, or Point). If centres are - both contianed within 1 inferred circle, Inner tangents are not possible. + both contained within 1 inferred circle, Inner tangents are not possible. Arcs of same radius will have no intersection for outer tangents so these are calculated differently. |