Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Removed old fillet_2D() NotImplementedError()

  • Loading branch information...
commit 819a8aeb3c3f7b4bc8739e547298d710d80d7cdd 1 parent f69238c
@etjones etjones authored
Showing with 3 additions and 13 deletions.
  1. +3 −13 solid/utils.py
View
16 solid/utils.py
@@ -298,16 +298,6 @@ def arc_inverted( rad, start_degrees, end_degrees, segments=None):
return ret
-def fillet_2d( a, b, c, rad):
- # a, b, and c are three points that form a corner at b.
- # Return a negative arc (the area NOT covered by a circle) of radius rad
- # in the direction of the more acute angle between
-
- # Note that if rad is greater than a.distance(b) or c.distance(b), for a
- # 90-degree corner, the returned shape will include a jagged edge. In
- # general, best to
- raise NotImplementedError
-
# TODO: arc_to that creates an arc from point to another point.
# This is useful for making paths. See the SVG path command:
# See: http://www.w3.org/TR/SVG/implnote.html#ArcImplementationNotes
@@ -634,9 +624,9 @@ def transform_to_point( body, dest_point, dest_normal, src_point=Point3(0,0,0),
return res
- # ==========================================
- # = Vector drawing: A 3D arrow from a line =
- # = -------------- =========================
+ # ========================================
+ # = Vector drawing: 3D arrow from a line =
+ # = -------------- =======================
def draw_segment( euc_line=None, endless=False, arrow_rad=7, vec_color=None):
# Draw a tradtional arrow-head vector in 3-space.
vec_arrow_rad = arrow_rad
Please sign in to comment.
Something went wrong with that request. Please try again.